On 29 Sep 2020, at 13:46, J David wrote:

> Hello,
>
> We know that a certain IP range contains no MTA's, but hosts websites
> for a lot of domains that have no email service, i.e., those domains
> have A records in that range but no MX records at all.
>
> Our Postfix server regularly receives messages over MSA where the
> sender and recipient addresses are the same, and in one of those
> domains.
>
> Because the domain has a valid A record, there's nothing wrong with
> those messages that Postfix can detect, so the messages get accepted.
> Then because there is no MTA running at that IP address, they sit in
> the outbound queue for five days, bounce, and the bounce sits in the
> outbound queue for five more days.
>
> Is there a way to:
> A) Selectively identify a message based on the IP address of the MTA
> it would be delivered to.
> B) Reject such messages in the MSA connection or, at a minimum, keep
> them from building up in the outbound queue?

See the entry for check_sender_a_access in the postconf(5) man page.


-- 
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire

Reply via email to