Когда давно тестировал свой почтовик на предмет открытого релая, но потом забыл адрес.
Сегодня наткнулся снова, решил тут сохранить.
Есть довольно неплохой сервис, который тестирует на разного рода виды открытого релея.
Использовать его очень просто – необходимо подключиться telnet-ом (порт 23) с хоста, где запущен почтовый сервер, вот на этот адрес: relay-test.mail-abuse.org
Почти сразу после подключения начнется тестирование почтового сервера. Этот сервис подключится по SMTP обратно на хост, откуда инициировано telnet-подключение и будет пробовать различные варианты тестирования.
Результаты тестов отображаются тут же в telnet сессии.
Примерно так:
# telnet relay-test.mail-abuse.org Trying 168.61.4.13... Connected to Cygnus.mail-abuse.org. Escape character is '^]'. Connecting to 193.1x.x.x ... >> HELO cygnus.mail-abuse.org >> mail from:>> rcpt to: : recipient address must contain a domain >>> rset >> mail from: >> rcpt to: >> rset >> mail from: >> rcpt to: >> rset >> mail from: >> rcpt to: >> rset >> mail from: : sender address must contain a domain Connecting to 193.1x.x.x ... >> HELO cygnus.mail-abuse.org >> mail from: : sender address must contain a domain >>> rset >> mail from: >> rcpt to: >> rset >> mail from: >> rcpt to: >> rset >> mail from: : domain literals not allowed Connecting to 193.1x.x.x ... >> HELO cygnus.mail-abuse.org >> mail from: : domain literals not allowed >>> rset >> mail from: >> rcpt to: >> rset >> mail from: >> rcpt to: : domain literals not allowed >>> rset >> mail from: >> rcpt to: : recipient address must contain a domain >>> rset >> mail from: >> rcpt to: : recipient address must contain a domain >>> rset >> mail from: : domain literals not allowed Connecting to 193.1x.x.x ... >> HELO cygnus.mail-abuse.org >> mail from: : domain literals not allowed >>> rset >> mail from: >> rcpt to: : domain literals not allowed >>> rset >> mail from: >> rcpt to: : malformed address: @[193.1x.x.x]> may not follow >> rset >> mail from: >> HELO cygnus.mail-abuse.org >> mail from: : domain literals not allowed >>> rset >> mail from: >> rcpt to: : domain literals not allowed >>> rset >> mail from: : domain literals not allowed Connecting to 193.1x.x.x ... >> HELO cygnus.mail-abuse.org >> mail from: : domain literals not allowed >>> rset >> mail from: >> rcpt to: : domain literals not allowed >>> rset >> mail from: >> rcpt to: >> rset >> QUIT System appeared to reject relay attempts Connection closed by foreign host.