Page 1 of 1

EFA rejects Amazon emails

Posted: 22 Aug 2015 20:51
by Goppi
amazon receives the error 450 4.1.8 xxx@marketplace.amazon.co.uk Sender address rejected: Domain not found.

I can't see the emails in Mailwatch though. I added the domain to the whitelist, but am still not receiving their emails. I guess it's blocked before it reaches the Spam/Virus filter. How can I configure the EFA to allow emails from amazon.co.uk regardless of subdomains?

Thanks,
Goppi

Re: EFA rejects Amazon emails

Posted: 23 Aug 2015 10:12
by shawniverson
Postfix is rejecting "marketplace.amazon.co.uk" because it doesn't resolve in DNS.

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
You can remove "reject_unknown_sender_domain" and restart postfix, but be aware this may lead to an increase in spam received from unknown domains.

Re: EFA rejects Amazon emails

Posted: 25 Aug 2015 07:23
by pdwalker
As Shawn says.

The problem is the domain marketplace.amazon.co.uk which doesn't resolve in DNS.

If the email is legitimate, then Amazon has a configuration problem - either the domain should resolve to something, or they should rewrite their sending domain to something valid.

If the email is junk, then it is correctly rejected.

If the email really is legitimate, and you don't want to change the postfix rule rejecting unresolvable domains, then you could use a local DNS resolver to "handle" this domain locally. (e.g. override the worldwide DNS and resolve it to an internal address) to keep postfix happy

Re: EFA rejects Amazon emails

Posted: 25 Aug 2015 07:47
by DaN
If the email really is legitimate, and you don't want to change the postfix rule rejecting unresolvable domains, then you could use a local DNS resolver to "handle" this domain locally. (e.g. override the worldwide DNS and resolve it to an internal address) to keep postfix happy
.. or he could write Amazon an mail. So they can remedy the deficiency.

Re: EFA rejects Amazon emails

Posted: 25 Aug 2015 08:14
by pdwalker
that would be the most sensible option, assuming someone sensible at Amazon can be contacted.