[ILUG] getting postfix to do secure smtp

Paul Reilly paulr at maths.tcd.ie
Thu Apr 1 19:35:47 IST 2004


> I've been trying for the last few hours to get Postfix, running on redhat 9, to work with smtps (i.e. ssl on port 465).
>
I don't know about port 465, but I have authenticated SMTP over SSL
working on port 25 (which is better as it's usually not blocked by
firewalls).

You need to install from source, apply the TLS patch, and then make
with

make makefiles CCARGS="-DUSE_SSL -I/usr/local/ssl/include"  AUXLIBS="-L/usr/local/ssl/lib -lssl -lcrypto"

Then in main.cf add the following:

smtpd_tls_key_file = /etc/postfix/private_key.pem
smtpd_tls_cert_file = /etc/postfix/cert.pem
smtpd_tls_CAfile = /etc/postfix/CAcert.pem

More details here:

http://www.aet.tu-cottbus.de/personen/jaenicke/postfix_tls/

I can send you more detailed instructions for postfix 2.0.15 if you wish.

Paul



More information about the ILUG mailing list