Chris Wopat via Postfix-users:
> I'm in the process of rebuilding a mail relay server from Centos 7 (postfix
> 2.10.x) -> Ubuntu 22 (Postfix 3.6.x).
> 
> This is a mail relay server that will relay mail for our customers if their
> IP is whitelisted in /etc/postfix/access. We have no local users and are
> not doing any per-user authentication, just source IP. ISP style
> environment.
> 
> We've ported our config over, which works on port 587 but not on port 25 -
> we are getting "Recipient address rejected" on 25 only. I've stared at the
> config quite a bit and am not spotting the issue - curious if anyone else
> can?
> 
> Note that when i turned peer debugging on, it logs this section for SMTP/25
> but not for 587:
> 
> >>> CHECKING Recipient address VALIDATION MAPS <<<
> 
> and it fails here. Unsure what the proper workaround is, or if some default
> behaviour has changed between 2.x and 3.x causing this?
> 
> `postfinger` output attached

You have "default_transport = error". And, since your customer
domains aren't a member of relay_domains, virtual_xxx_domains, or
mydestination, that is the delivery transport that Postfix chooses
for the domain.

With the default "smtpd_reject_unlisted_recipient = yes" the Postfix
SMTP server rejects recipients during RCPT TO when they resolve to
the error transport.

It should be considered a bug in Postfix that the SMTP server fails
to do that error transport check with "smtpd_reject_unlisted_recipient
= no".

I suggest that you reconsider the setting "default_transport = error".
It creates problems by rejecting mail that should be delivered.

        Wietse
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to