From: Subhendu Ghosh Date: Thu, 13 Jun 2002 20:49:38 +0000 (+0000) Subject: conformance to RFC 821 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=582523e9c3457fdc9045f590c244cfd72edb4cdf;p=nagiosplug.git conformance to RFC 821 git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@51 f882894a-f735-0410-b71e-b25c423dba1c --- diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c index 2c03874..2000c62 100644 --- a/plugins/check_smtp.c +++ b/plugins/check_smtp.c @@ -48,9 +48,9 @@ * even if syntax is illegal (MAIL requires a FROM:<...> argument) * You can disable sending DUMMYCMD by undefining SMTP_USE_DUMMYCMD. */ -#define SMTP_DUMMYCMD "MAIL\n" +#define SMTP_DUMMYCMD "MAIL\r\n" #define SMTP_USE_DUMMYCMD 1 -#define SMTP_QUIT "QUIT\n" +#define SMTP_QUIT "QUIT\r\n" int process_arguments (int, char **); int call_getopt (int, char **);