Forcing smtp outgoing mail encryption on postfix

Posted by Simon on Server Fault See other posts from Server Fault or by Simon
Published on 2010-03-07T20:55:43Z Indexed on 2010/03/08 0:32 UTC
Read the original article Hit count: 427

Filed under:
|

Hi all,

anyone knows how to tell postfix to encrypt outgoing mail?

I have configured it to use encryption on reception, but I´m unnable to do it with the out mail. This is my main.cf file:

smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = smtpd
transport_maps = hash:/etc/postfix/transport

# tls config
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.pem
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.pem
smtpd_tls_CAfile = /etc/postfix/ssl/smtpd.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom

Thanks in advance!

© Server Fault or respective owner

Forcing smtp outgoing mail encryption on postfix

Posted by Simon on Server Fault See other posts from Server Fault or by Simon
Published on 2010-03-07T20:55:43Z Indexed on 2010/03/08 6:51 UTC
Read the original article Hit count: 427

Filed under:
|

Hi all,

anyone knows how to tell postfix to encrypt outgoing mail?

I have configured it to use encryption on reception, but I´m unnable to do it with the out mail. This is my main.cf file:

smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = smtpd
transport_maps = hash:/etc/postfix/transport

# tls config
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.pem
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.pem
smtpd_tls_CAfile = /etc/postfix/ssl/smtpd.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom

Thanks in advance!

© Server Fault or respective owner

Related posts about postfix

Related posts about smtp