tests: Added SMTP HELP test

This commit is contained in:
Steve Holme 2013-11-17 10:03:25 +00:00
parent 3c8c9b2779
commit df58084695
3 changed files with 42 additions and 3 deletions

View file

@ -999,10 +999,10 @@ sub HELP_smtp {
sendcontrol "214-This server supports the following commands:\r\n";
if(@auth_mechs) {
sendcontrol "214 HELO EHLO RCPT DATA RSET MAIL QUIT HELP AUTH\r\n";
sendcontrol "214 HELO EHLO RCPT DATA RSET MAIL VRFY EXPN QUIT HELP AUTH\r\n";
}
else {
sendcontrol "214 HELO EHLO RCPT DATA RSET MAIL QUIT HELP\r\n";
sendcontrol "214 HELO EHLO RCPT DATA RSET MAIL VRFY EXPN QUIT HELP\r\n";
}
return 0;