Mercurial > masqmail
diff man/masqmail.8 @ 276:1abc1faeb45d
for -t cmdline args are now added to the rcpt list instead of substracted
Please read the diff and the section about -t in man/masqmail.8.
Masqmail's behavior had been like the one of exim/smail, now it's
similar to postfix.
Masqmail does it now the most simple way, regarding the code.
Also, addr args are always recipients, -t does not change their meaning.
-t makes the addrs from rcpt hdrs, rcpt addrs too.
It would have been logical too, to ignore the cmdline args,
in the sense of ``headers *instead of* args'' but none of the
popular MTAs does it that way and it would have been a bit more
complicated in the code.
Anyway, this is a corner-case that should better be avoided completely.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Fri, 03 Dec 2010 21:05:34 -0300 |
parents | f4117fd5a163 |
children | 853b85616c98 |
line wrap: on
line diff
--- a/man/masqmail.8 Fri Dec 03 19:35:34 2010 -0300 +++ b/man/masqmail.8 Fri Dec 03 21:05:34 2010 -0300 @@ -203,17 +203,28 @@ .TP \fB\-t\fR -Read recipients from headers. -If any arguments are given, these are interpreted as recipient addresses -and the message will not be sent to these, -although they might appear in To:, Cc:, or Bcc: headers. -I.e. the set of argument recipients is ``substracted'' from the set of header recipients. +Read recipients from mail headers and add them to the ones specified on the +command line. +(Only To:, Cc:, and Bcc: headers are regarded.) + +.B WARNING: The behavior changed with version 0.3.1! -This behavior is similar to exim's and smail's. -Postfix, in contrast, adds the arguments to the set of header recipients. +In earlier versions command line argument addresses were ``substracted'' +from header addresses. + +The old behavior was similar to exim's and smail's +(which are anchesters of masqmail). +The new behavior is similar to the one of current postfix versions, +which add the arguments to the set of header recipients. +(Earlier postfix failed in case of address arguments with \-t.) Sendmail seems to behave differently, depending on the version. See exim(8) for further information. +For masqmail the most simple approach had been taken. + +As the behavior of \-t together with command line address arguments +differs among MTAs, one better not steps into this corner case. + .TP \fB\-v\fR