Mercurial > masqmail
changeset 247:3c40f86d50e4
ignoring -m switch now
Some software (e.g. spost of nmh) calls sendmail with -m.
Until now, masqmail failed on this unrecognized option.
From now on it is ignored.
See man/masqmail.8 for the meaning of -m.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Mon, 01 Nov 2010 13:30:02 -0300 (2010-11-01) |
parents | 4cff8638dd9b |
children | 018cfd163f5c |
files | man/masqmail.8 src/masqmail.c |
diffstat | 2 files changed, 20 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/man/masqmail.8 Thu Oct 28 16:40:02 2010 -0300 +++ b/man/masqmail.8 Mon Nov 01 13:30:02 2010 -0300 @@ -124,6 +124,11 @@ \fImasqmail \-bp\fP (\fImailq\fR). .TP +\fB\-m\fR + +Same as \fB\-om\fR, see below. + +.TP \fB\-oem\fR If the \fB\-oi\fR ist not also given, always return with a non zero return code. @@ -148,6 +153,15 @@ A dot as a single character in a line does not terminate the message. .TP +\fB\-om\fR + +From exim(8)'s man page: In Sendmail, this option means ``me too'', +indicating that the sender of a message should receive a copy of the +message if the sender appears in an alias expansion. + +Masqmail always does this, hence the option does nothing. + +.TP \fB\-q [\fIinterval\fB]\fR If not given with an argument, run a queue process, i.e. try to deliver all messages in the queue.
--- a/src/masqmail.c Thu Oct 28 16:40:02 2010 -0300 +++ b/src/masqmail.c Mon Nov 01 13:30:02 2010 -0300 @@ -428,6 +428,9 @@ M_cmd = g_strdup(&(argv[arg][pos])); } break; + case 'm': + /* ignore -m (me too) switch (see man page) */ + break; case 'o': switch (argv[arg][pos++]) { case 'e': @@ -446,6 +449,9 @@ opt_i = TRUE; exit_failure = FALSE; /* may override -oem */ break; + case 'm': + /* ignore -m (me too) switch (see man page) */ + break; } break;