nodemailer / smtp-server

Create custom SMTP servers on the fly
Other
846 stars 145 forks source link

SMTP Banner Mismatch #113

Closed niftylettuce closed 6 years ago

niftylettuce commented 6 years ago

We need to make banner option be defaulted to name which is os.hostname() which is checked (see below error from MX toolbox repor)t.

More Information About Smtp Banner Check The SMTP banner issued by your email server did not contain the hostname we resolved for your server’s IP address.

Additional Information Email servers answer connections on port 25 with a string of text called an SMTP Banner whose purpose is to announce the server and any information that the administrator would like to convey to the world.

It is best practice to put the name of your server in your SMTP banner so that anybody who connects via your IP Address has a clue as to who they are talking to. You will get this warning if the name you present yourself as is not in the same domain as the hostname we get when we perform a PTR lookup on your IP Address.

Via https://mxtoolbox.com/problem/smtp/smtp-banner-check?page=prob_smtp&action=smtp:207.148.27.85&showlogin=1&hidepitch=1&hidetoc=0

niftylettuce commented 6 years ago

Error on my end, closing