Howto accept email from a specific non-existing domain?

General eFa discussion
Post Reply
jokr
Posts: 9
Joined: 30 Jul 2014 10:47

Howto accept email from a specific non-existing domain?

Post by jokr »

Hi !

One of our customers has lots of SAP Systems which are sending mails from non-existing sender-addresses.
Our customer has no quick way to correct his mailsystem.

These mails are not accepted from postfix with errormessage:

Code: Select all

NOQUEUE: reject: RCPT from mailserver.non-existant.customer.domain.com [IP Address]: 450 4.1.8 <none-existing sender-address>: Sender address rejected: Domain not found;
What is the E.F.A compatible way to define an exception for this non-existing sender-address?

Could I add a line to /etc/postfix/sender_access like below ?

Code: Select all

#
*.nonexistant.customer.domain.com OK
#
Thanks for your help.
henk
Posts: 518
Joined: 14 Dec 2015 22:16
Location: Netherlands
Contact:

Re: Howto accept email from a specific non-existing domain?

Post by henk »

Hi Jokr,

You could remove sender restrictions in /etc/postfix/main.cf

Code: Select all

#smtpd_sender_restrictions = permit_sasl_authenticated, check_sender_access hash:/etc/postfix/sender_access, reject_non_fqdn_sender, reject_unknown_sender_domain
smtpd_sender_restrictions = permit_sasl_authenticated, check_sender_access hash:/etc/postfix/sender_access
although it's a bad solution. E.F.A. put a lot of work to keep mail safe and this will make it less safe :think:

To be honest, a SAP system ( R/3 or SBO?) sending from non-existing sender-addresses? No quick way to correct this, sound typical Dutch. Meaning don't want to spend some money. :lol:
“We are stuck with technology when what we really want is just stuff that works.” -Douglas Adams
Post Reply