On 27.03.23 12:39, natan via Postfix-users wrote:
/etc/postfix/sender_checks.pcre
/@scripkabox\.com/
^^^^^^^^^^^^^^^^
/etc/postfix/recipient_checks.pcre
smtpd_sender_restrictions =
permit_mynetworks
check_sender_access pcre:/etc/postfix/sender_checks.pcre
reject_unknown_sender_domain
...
cat /etc/postfix/sender_checks.pcre
/@domain\.ltd/ OK
^^^^^^^^^^^^
which one is it then?
In any case I recommend using hash tables, or putting '$' at the end of RE,
so it doesn't match e.g. "scripkabox.communicate.with.me"
W dniu 26.03.2023 o 21:52, Doug Hardie via Postfix-users pisze:
I have a specific email sender that is getting the error "Sender
addresses rejected: Domain not found". Sure enough DNS provides no
response for that domain. If I drop off the first part of the
domain name, then DNS returns a response. However, the organization
is using the complete name which means the emails are dropped. I
know the proper solution is to have the originator fix their DNS,
but that is not going to happen in the near term. I have tried
various ways for a temporary fix, but none have worked so far. I
don't want to remove the "reject_unknown_sender_domain" function as
it gets used properly a lot. Is there some way I can get postfix to
accept these for local delivery?
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
We are but packets in the Internet of life (userfriendly.org)
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org