On 11/8/2010 9:28 PM, John Levine wrote:
A friend is trying to set up a Postfix submit server on port 587, so
it requires SMTP AUTH but doesn't use the DNSBLs that his regular port
25 server uses.
This is surely a FAQ, but we must both be very nearsighted because we
can't find it. Can someone remind us where it explains how to set up
a SUBMIT server with a different config from one's regular server?
Tnx,
John
The general docs are here
http://www.postfix.org/master.5.html
and there is a commented-out minimal submission service
example in the default master.cf.
You'll want something like this, season to taste:
# master.cf
# this first line is a copy of the "smtp...smtpd" service
submission inet n - n - - smtpd
# subsequent indented lines override main.cf settings.
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o
smtpd_recipient_restrictions=permit_sasl_authenticated,reject
-o smtpd_data_restrictions=
# require encryption
-o smtpd_tls_security_level=encrypt
-o smtpd_sasl_auth_enable=yes
# some optional housekeeping
-o syslog_name=postfix-submission
-o milter_macro_daemon_name=ORIGINATING