On 2018-10-08 22:42:27 (-0400), Phil Stracchino wrote:
I have a perplexing puzzle thrust upon me.

Consider the following:

Oct  8 15:55:33 minbar postfix/smtpd[7422]: NOQUEUE: reject: RCPT from
rs230.mailgun.us[209.61.151.230]: 551 5.1.8 <redac...@mg.pluspora.com>:
Sender address rejected: Domain not found;
from=<bounce+db1162.5fcd4c-alrekr=caerllewys....@mg.pluspora.com>
to=<alr...@caerllewys.net> proto=ESMTP helo=<rs230.mailgun.us>


mailgun.us is connecting with a good HELO, and appears to be authorized
to send mail on behalf of pluspora.com, but the mail has a sender
address that is bad because mg.pluspora.com does not resolve in DNS, and
so the mail is rejected.

I want to TEMPORARILY (I hope) whitelist redac...@mg.pluspora.com as a
sender address as long as the mail is being sent by mailgun.us.

How would you do it?

You could add a check_sender_access which returns OK for mg.pluspora.com before the reject_unknown_sender_domain in smtpd_recipient_restrictions.

(Guessing, because you didn't include your configuration.)

Philip

--
Philip Paeps
Senior Reality Engineer
Ministry of Information

Reply via email to