Grant skrev den 2013-06-05 05:28:
# main.cf
smtpd_relay_restrictions =
let this be undefined in main.cf
# master.cf
submission inet n - n - - smtpd
-o smtpd_sasl_auth_enable=yes
-o
smtpd_recipient_restrictions=permit_mynetworks,reject_plaintext_session,permit_sasl_authenticated,reject
change -o smtpd_recipient_restrictions=
add -o
smtpd_relay_restrictions=permit_mynetworks,permit_sasl_authenticated,reject
I tried switching to the following in main.cf:
smtpd_relay_restrictions = permit_mynetworks,permit_sasl_auth
postconf -d |grep relay
defaults would be good, if you make the changes in master.cf as write
above
but I started getting messages like this in the log:
warning: unknown smtpd restriction: "permit_sasl_auth"
451 4.3.5 Server configuration error
permit_sasl_authenticated vs permit_sasl_auth
--
senders that put my email into body content will deliver it to my own
trashcan, so if you like to get reply, dont do it