On Sun, 7 May 2017, at 15:49, Viktor Dukhovni wrote:

> >> /etc/postfix/main.cf:
> >>    smtpd_reject_unlisted_sender = yes
> > Is there a way to test-run this similar to warn_if_reject?
> 
> http://www.postfix.org/postconf.5.html#smtpd_reject_unlisted_sender 
> leads you to 
> http://www.postfix.org/postconf.5.html#reject_unlisted_sender

Thanks, you are right that I was confused about this reference. So, 

  smtpd_sender_restrictions = (...)
    warn_if_reject
    reject_unlisted_sender

works as expected but only if smtpd_reject_unlisted_sender = no.

-- 
-- Andreas

    :-)

Reply via email to