On Tue, Feb 13, 2001 at 08:11:53PM -0500, Dean Staff <[EMAIL PROTECTED]> wrote:
> [...]
> We found out that the To: field had 2 reciepeints listed. qmail
> appears to be tacking this message and forwarding it twice (once for
> each recipient) even if they are on the same domain. (ie
> [EMAIL PROTECTED] & [EMAIL PROTECTED])
I'm missing something here - jane and joe are different people - don't you
want them each to receive a copy?
> The sendmail box then processes each message separately and because
> the To: field remains intact with both reciepents, delivers the
> message twice.
The To: field has very little to do with mail delivery. The _envelope_
determines how many deliveries are attempted.
> <BREATH>
>
> Like I said, I assume qmail is just doing what comes naturally, but
> does obtuse-smtpd do the same?
As we have said a few times now, obtuse-smtpd just _accepts_ mail. The mail
is passed on to qmail for delivery. Please repeat before bedtime
"Obtuse SMTPD only receives mail, it _does_ not attempt delivery" :-)
> And can I change the way qmail handles the messages to be forwarded
> so it does not do this?
qmail always delivers one message per envelope recipient. This is by design
and cannot be changed.
You should only see a difference if you list the same user multiple times,
either directly or as part of an alias. Sendmail suppresses the duplicates,
wherease qmail does not.
The suppression is a P.I.T.A. IMO - if I send mail to an alias of which
I am a member, I expect a copy in return.
procmail will filter duplicates as they hit the user's mailbox, which is
the correct place for it. We have looked at including this as an optional
feature in a later release.
Check the full headers of the mail items and look at the Delivered-To and
Message-Id lines - they will tell you whether the messages are duplicates
and how they were delivered.
Gordon
--
Gordon Rowell [EMAIL PROTECTED]
http://www.e-smith.org (development) http://www.e-smith.com (corporate)
Phone: +1 (613) 564 8000 ext. 4378 Fax: +1 (613) 564 7739
e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada