On 1/15/2020 3:42 PM, Bill Cole wrote:
On 15 Jan 2020, at 14:55, Emanuel wrote:
my question arose because of a user on my server who sent to many
recipients without MX
Perhaps you just need to add reject_unknown_recipient_domain to
smtpd_recipient_restrictions?
We've had problems with users mistyping domain names, such as
hotmal.com or aoil.com. And they ignore the delay warning message
because they still don't notice their typo.
As far as DNS is concerned these are real domains with A records, so
they don't fail reject_unknown_recipient_domain. Some of them
web-redirect to the expected page, others are web squatters.
But they don't run a mail service, so connections to port 25 just
time out, and the mail sits in the queue until $maximal_queue_lifetime.
I've kinda-solved this problem by adding error: transport map
entries for the more common typos my users land on. I expect others
will have a different list...
hotmal.com error:5.1.2 hotmal.com is not valid. Maybe try
hotmail.com instead.
hotmail.org error:5.1.2 hotmail.org is not valid. Maybe try
hotmail.com instead.
hotmial.com error:5.1.2 hotmail.com not hotmial.com
hotmai.com error:5.1.2 hotmail.com not hotmai.com
hotamil.com error:5.1.2 hotmail.com not hotamil.com
hotmaill.com error:5.1.2 hotmail.com not hotmaill.com
wanado.fr error:5.1.2 wanadoo.fr not wanado.fr
htomail.com error:5.1.2 hotmail.com not htomail.com
hotemail.com error:5.1.2 hotmail.com not hotemail.com
verizion.net error:5.1.2 "verizion.net" is not valid - try verizon.net
msns.com error:5.1.2 "msns.com" is not valid - try msn.com
aoil.com error:5.1.2 try "aol.com" instead
gmial.com error:5.1.2 try "gmail.com" instead
aol.com.com error:5.1.2 try "aol.com" instead
cenurytel.net error:5.1.2 did you mean "centurytel.net"?
comcaste.net error:5.1.2 try "comcast.net" instead
comcat.net error:5.1.2 try "comcast.net" instead
comcost.com error:5.1.2 try "comcast.net" instead
comcst.net error:5.1.2 try "comcast.net" instead
c0mcast.net error:5.1.2 try "comcast.net" instead
cdomcast.net error:5.1.2 try "comcast.net" instead
cherter.net error:5.1.2 try "charter.net" instead
at.net error:5.1.2 try "att.net" instead
-- Noel Jones