summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bde4353)
raw | patch | inline | side by side (parent: bde4353)
author | Subhendu Ghosh <sghosh@users.sourceforge.net> | |
Sun, 1 Sep 2002 16:18:29 +0000 (16:18 +0000) | ||
committer | Subhendu Ghosh <sghosh@users.sourceforge.net> | |
Sun, 1 Sep 2002 16:18:29 +0000 (16:18 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@85 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_smtp.c | patch | blob | history |
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c
index 2d2e28914875848d8f1ebd18f697dbd69d7d86f5..f96db49bbc7f66e16b03d8b06edd578a54371295 100644 (file)
--- a/plugins/check_smtp.c
+++ b/plugins/check_smtp.c
* to do something useful. This can be prevented by giving a command
* even if syntax is illegal (MAIL requires a FROM:<...> argument)
* You can disable sending DUMMYCMD by undefining SMTP_USE_DUMMYCMD.
+ *
+ * According to rfc821 you can include a null reversepath in the from command
+ * - but a log message is generated on the smtp server.
*/
-#define SMTP_DUMMYCMD "MAIL\r\n"
+#define SMTP_DUMMYCMD "MAIL FROM:<>\r\n"
#define SMTP_USE_DUMMYCMD 1
#define SMTP_QUIT "QUIT\r\n"