On 8/24/2010 7:24 AM, Edward avanti wrote:
Halo,
We are have odd occasional problem where, some customer that
have made up name in hostname on pc and try send mail get
rejected by us
submission is told use - submission inet n -
n - - smtpd
-o smtpd_sasl_auth_enable=yes
-o smtpd_client_restrictions=permit_sasl_authenticated,reject
This will override main.cf smtpd_client_restrictions, but any
existing main.cf smtpd_{helo, sender, recipient, data,
end_of_data}_restrictions will still be used.
Error message is - Sender address rejected: Domain not found;
Should not all customer mail be accepted by our server with
this configuration?
main.cf <http://main.cf> does have -
smtpd_recipient_restrictions =
reject_unknown_sender_domain
reject_unknown_recipient_domain
permit_mynetworks
<... >
Yes, that's the problem.
But my thinking from documents this bypass and not active
setting on submission port
Of course not. master.cf overrides only affect the specified
parameter. All other settings are used from main.cf or
built-in defaults as shown by "postconf" output.
Is there setting I misplace, or misunderstand ? it not seem
to do any RBL test so I think honouring.
Your master.cf submission service must override any main.cf
settings that you want changed. You probably want something
like:
submission inet n - n - - smtpd
-o smtpd_sasl_auth_enable=yes
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_sasl_authenticated,reject
-o smtpd_data_restrictions=
There may be other settings you want to override depending on
your needs.
-- Noel Jones