check_smtp error when combining -S and -e [sf#3556040] (#1093)

Oliver Skibbe notifications at
Thu Oct 8 07:46:18 CEST 2015

It seems that this issue is active, i've done some debugging and noticed
that postfix answers with:
postfix 2.9.6-1~12.04.3 @ Ubuntu 12.04 ```220 2.0.0 Ready to start TLS```
Exchange 2010 @ Windows 2008R2 ```220 2.0.0 SMTP server ready```

In line 234, check_smtp matches against server_expect (-e) which will never
succeed, so we could go for "220 2.0.0", defined as a constant. See patch in
PR #1378

Addition: maybe the test could be improved, as it only expects for "220"
which is returned, but does not test any following string

Reply to this email on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Devel mailing list