nmap smtp open relay test shows (verbose mode):
smtp-open-relay: Server is an open relay (2/16 tests) MAIL FROM:<antispam@[xxx.xxx.xx.xx]> -> RCPT TO:<relaytest%nmap.scanme.org@XHS5P> MAIL FROM:<antispam@[xxx.xxx.xx.xx]> -> RCPT TO:<"firstname.lastname@example.org"> MAIL FROM:<antispam@[xxx.xxx.xx.xx]> -> RCPT
xxx.xxx.xx.xx being host IP
Previous tests through mxtoolbox:
MAIL FROM:<email@example.com> 250 2.1.0 firstname.lastname@example.org....Sender OK [703 ms] RCPT TO:<email@example.com> 550 5.7.1 Unable to relay for firstname.lastname@example.org [696 ms]
According to mxtoolbox, my host is not an open relay smtp
- can I consider nmap test unreliable?
In order to check, nmap results I made a few test myself using nmap output
Here's what I got:
HELO 250 XHS5P Hello [yy.yy.yyy.yyy] MAIL FROM:<email@example.com> 250 2.1.0 firstname.lastname@example.org....Sender OK RCPT TO:<"email@example.com"> 250 2.1.5 "firstname.lastname@example.org"@XHS5P
250 2.1.5 means: email has been accepted
So, nmap was right. But I still believe it was not, since perhaps it has to do with the the fact that the recipient has double quotes
Can someone help me to figure out if my host is an open relay?
thanks a lot