Re: smtpd_sender_restrictions and reject_sender_login_mismatch

2014-03-15 Thread Viktor Dukhovni
On Sat, Mar 15, 2014 at 12:47:44AM +0100, Sergei wrote: > > Either the message is rejected by another restriction as shown in > > the log, or your smtpd_sender_login_maps is matching everything. > > http://www.postfix.org/postconf.5.html#smtpd_sender_login_maps > > I turned on debug output and as

Re: smtpd_sender_restrictions and reject_sender_login_mismatch

2014-03-14 Thread Sergei
I think I found the "solution". The documentation makes sense if you read: >Reject the request when $smtpd_sender_login_maps specifies an owner for the >MAIL FROM address, but the client is not (SASL) logged in as that MAIL FROM >address owner; or when the client is (SASL) logged in, but the clie

Re: smtpd_sender_restrictions and reject_sender_login_mismatch

2014-03-14 Thread Sergei
On Friday 14 March 2014 14:51:08 Noel Jones wrote: > Basically correct. Anything not specifically rejected will be > permitted, and the default (empty) action is permit. Messages > permitted by smtpd_sender_restrictions may be rejected by one of the > other smtpd_*_restrictions sections. Thanks!

Re: smtpd_sender_restrictions and reject_sender_login_mismatch

2014-03-14 Thread Noel Jones
On 3/14/2014 10:05 AM, Sergei wrote: > Hi! > > I am having troubles understanding how *reject_sender_login_mismatch* works > in > the context of *smtpd_sender_restrictions*. > > 1.) Am I right in assuming that *smtpd_sender_restrictions* is a "blacklist" > meaning that if a sender address isn'

smtpd_sender_restrictions and reject_sender_login_mismatch

2014-03-14 Thread Sergei
Hi! I am having troubles understanding how *reject_sender_login_mismatch* works in the context of *smtpd_sender_restrictions*. 1.) Am I right in assuming that *smtpd_sender_restrictions* is a "blacklist" meaning that if a sender address isn't matched by any parameter it will be permitted impli