How to compile postfix to support signed email

I want to compile Postfix to support sending signed emails, I am using the following on Centos 6.3:
  make -f Makefile.init makefiles \
CCARGS='-DNO_NIS \
-DUSE_TLS -I/usr/include \
-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl \
-DDEF_SERVER_SASL_TYPE="dovecot" \
-DHAS_PCRE -I/usr/include/  \
-DHAS_SSL  -I/usr/include/openssl \
-DHAS_MYSQL -I/usr/include/mysql' \
AUXLIBS='-L/usr/lib64/ -lssl -lcrypto -L/usr/lib64/sasl2 -lsasl2 \
-L/usr/lib64/ -lpcre -L/usr/lib/mysql/ -lmysqlclient -lz -lm'
Ashraf HassaneinAsked:
Who is Participating?
 
gheistCommented:
I hope you installed package:
https://dl.fedoraproject.org/pub/epel/6/x86_64/repoview/opendkim.html
And here the guide on how to integrate milter with postfix:
https://help.ubuntu.com/community/Postfix/DKIM

It is holidays - maybe a good time to consider SPF and go home early?
0
 
gheistCommented:
Signed mails commonly known as S/MIME do not require any special handling on mail server.
Easiest is to download postfix source rpm and change parameters in .spec file and build a drop-in replacement with parameters you need (none of them has anything to do with signing mails)
0
 
Ashraf HassaneinAuthor Commented:
Is there  any guide to do so? I installed Opendkim as this might send signed an email but it is not the case.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.