From 4303fe45e41a4ebc5c068790cb08b6d8d1eb115e Mon Sep 17 00:00:00 2001 From: manuel Date: Mon, 4 Feb 2013 03:10:42 +0100 Subject: [PATCH] Making the sendmail binary ignore -N options for compatibility sendmail-ignore-N --- sendmail.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sendmail.c') diff --git a/sendmail.c b/sendmail.c index b62fef8..ae23ef2 100644 --- a/sendmail.c +++ b/sendmail.c @@ -96,8 +96,9 @@ char **argv; flagh = 0; sender = 0; - while ((opt = getopt(argc,argv,"vimte:f:p:o:B:F:EJxb:")) != opteof) + while ((opt = getopt(argc,argv,"vimte:f:p:o:B:F:EJxb:N:")) != opteof) switch(opt) { + case 'N': break; /* ignore DSN option */ case 'B': break; case 't': flagh = 1; break; case 'f': sender = optarg; break; -- cgit v1.2.3