Page 1 of 1

Howto accept email from a specific non-existing domain?

Posted: 09 May 2017 16:13
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.

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

Posted: 09 May 2017 21:42
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: