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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.