Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 258
  • Last Modified:

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'
0
Ashraf Hassanein
Asked:
Ashraf Hassanein
  • 2
1 Solution
 
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

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now