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:<"email@example.com"> MAIL FROM:<antispam@[xxx.xxx.xx.xx]> -> RCPT
xxx.xxx.xx.xx being host IP
Previous tests through mxtoolbox:
MAIL FROM:<firstname.lastname@example.org> 250 2.1.0 email@example.com....Sender OK [703 ms] RCPT TO:<firstname.lastname@example.org> 550 5.7.1 Unable to relay for email@example.com [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:<firstname.lastname@example.org> 250 2.1.0 email@example.com....Sender OK RCPT TO:<"firstname.lastname@example.org"> 250 2.1.5 "email@example.com"@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