postfix-users

Re: reject_sender_login_mismatch on certain domains only

Subject: Re: reject_sender_login_mismatch on certain domains only
From: John Thomas <gmane-2006-04-16 AT jt-socal DOT com>
To: postfix-users AT postfix DOT org
Date: Wed, 01 Aug 2007 14:31:03 -0700
mouss said the following on 08/01/2007 01:58 PM:
John Thomas wrote:
I am hosting mail for friends and family on Postfix 2.3.3. I would like to turn on reject_sender_login_mismatch, but only for certain domains. Could I trouble you for a short howto?
smtpd_restriction_classes = verify_login
smtpd_sender_restrictions =
    check_recipient_access hash:/etc/postfix/special_domains
This seems counterintuitive.  Shouldn't it be check_sender_access,
instead of check_recipient_access?

<snip>
== special_domains
domain1.example      verify_login
domain2.example      dunno
Does dunno mean, basically, "no need to bother with this check, but keep
checking."  Wouldn't that be the same result of leaving it off the list?

Thank you much for your time and help.

--
Sincerely,
John Thomas

<Prev in Thread] Current Thread [Next in Thread>