On Thu, Feb 26, 2015 at 02:58:16PM -0500, Alex Regan wrote:
> A few days ago I was having an issue with not being able to use
> sender_access to permit mail with non-existent hostnames to be delivered
> that would normally be rejected:
>
> Feb 24 16:48:55 mail01 postfix/smtpd[1945]: NOQUEUE: reject: RCPT from
> smtp.lanyonmail.com[50.56.12.142]: 450 4.1.8 <[email protected]>: Sender
> address rejected: Domain not found; from=<[email protected]>
> to=<[email protected]> proto=ESMTP helo=<Mail.LanyonMail.com>
That was two days ago, who knows how it relates to your current
configuration. Test by sending from the same address via a direct
connection to your MTA and report results that match the exact
configuration you're reporting.
> smtpd_sender_restrictions =
> check_sender_access hash:/etc/postfix/sender_checks,
> reject_unknown_sender_domain
What does the below report (with the exact address from
the unmunged log message):
$ sender="[email protected]"
$ postmap -q "$sender" hash:/etc/postfix/sender_checks
> smtpd_recipient_restrictions =
> ...
> check_sender_access hash:/etc/postfix/sender_checks,
> reject_unknown_sender_domain,
> ...
Why is the sender logic repeated in the recipient restrictions?
I am puzzled as to what you make of this configuration? Did you
read through it yourself before posting?
--
Viktor.