On Tue, Nov 07, 2000 at 03:56:02PM +0000, Mark Cheverton wrote:
> Found a slight incompatibility by qmails (1.03) fake sendmail and the
> real thing. If you do /usr/lib/sendmail -t [EMAIL PROTECTED] which means
> take the To field from the headers in message, then normal sendmail
> ignores the [EMAIL PROTECTED] but qmails sendmail sends the message twice.
>
> Obviously doing the above is silly anyway but its inconsitant behaviour
> which I came across while using perls Mail::Mailer which makes this
> mistake.
That is a serious bug in Mail::Mailer then.
>From man sendmail on my IRIX 6.2 box:
-t Read message for recipients. To:, Cc:, and Bcc: lines are
scanned for people to send to. The Bcc: line is deleted
before transmission. Any addresses in the argument list are
suppressed, that is, they do not receive copies even if listed
in the message header.
In other words, on this IRIX 6.2 (and I don't think the sendmail on this
thing is *that* different from common sendmails), if you do
--cut here
/usr/lib/sendmail -t [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: blah
blah blah blah
<EOF>
--cut here
only [EMAIL PROTECTED] will receive the mail.
This sendmail reports to be an SGI.8.6.12 version, by the way. Lucky I'm
not actually using it :)
qmail is not being inconsistent. It is showing the only behaviour that
guarantees delivery to all mentioned addresses. Sendmail, depending on
the version, will either mail all adresses mentioned onces (eliminating
duplicates, as sendmail does) or mail only the addresses mentioned in
the message itself and *NOT* on the commandline.
Greetz, Peter
--
dataloss networks
'/ignore-ance is bliss' - me
'Het leven is een stuiterbal, maar de mijne plakt aan t plafond!' - me