On 13 Feb 2001, at 20:26, Gordon Rowell wrote:

Date sent:              Tue, 13 Feb 2001 20:26:03 -0500
From:                   Gordon Rowell <[EMAIL PROTECTED]>
To:                     Dean Staff <[EMAIL PROTECTED]>
Copies to:              [EMAIL PROTECTED]
Organization:           e-smith, Inc.
Subject:                Re: [e-smith-devinfo] Something old ...Something new

> 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?

Not really... (you should me by know...I never do anything normally)

What we do is take a message address to a fax number 
ie;[EMAIL PROTECTED] deliver it to a mail box that is 
checked by one of our fax servers which then converts the body of 
the message and any attchments into a fax formated tif. We then 
send it to a fax out server that actually faxes the dovument to the 
number embedded in the To: field. If there are 2 numbers in the to 
field the fax is sent to both. but if the message is passed from the 
qmail box as 2 separate messages we process the fax twice and 
both reciepients get two copies of the fax. (and our customer get 
billed twice)

> 
> > 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" :-)

Obtuse SMTPD only recieves mail, it_does_not attempt delivery!
Obtuse SMTPD only recieves mail, it_does_not attempt delivery!
Obtuse SMTPD only recieves mail, it_does_not attempt delivery!
I'll get this part yet. :-)

Is this (the relaying) handled by the smtpfwdd daemon in 4.1? Or is 
it part of the qmail package?

> 
> > 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.

P.I.T.A ?  echew obfuscation.  (DNA)

> 
> 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.
> 
I did look at the header and did notice that for each message the 
Delivered-To and Message ID were different. (this was on the 
message received on the final destination sendmail box. The qmail 
router only recieved the message once. 

The way our fax servers work is to look at either the subject line or 
the To: field for the fax number. (we based the parsing process on 
sendmail) I'm pushing to convert all mailservers to e-smith boxes 
running qmail (and obtuse-smtp on the newer systems). I'm just 
looking to understand how the messages are processed so I can 
take this to our developers, so they can modify the parsing 
process. 



> 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
> 
> 
> --
> This list is archived
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dean Staff  Kanata On. Canada
[EMAIL PROTECTED] 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reply via email to