Great Circle Associates Majordomo-Users
(September 2003)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: duplicate messages
From: Howard Spindel <howard @ sci1 . com>
Date: Sat, 13 Sep 2003 13:55:29 -0700
To: Burt Juda <burt @ juda . com>
Cc: majordomo-users @ greatcircle . com
In-reply-to: <3F6322FA.4030506@juda.com>
References: <5.1.0.14.2.20030912122100.06a21a30@mail.sci1.com><5.1.0.14.2.20030911021750.11577aa8@mail.sci1.com><5.1.0.14.2.20030911021750.11577aa8@mail.sci1.com><5.1.0.14.2.20030912122100.06a21a30@mail.sci1.com>

Yup, Burt got it right.

Unfortunately, using X-Original-To: as the envelope address exposes another 
hazard of using fetchmail.

Now what happens is that if someone addresses mail To: howard@sci1.com, 
test@sci1.com some of the time only the first recipient gets the mail.  It 
depends upon how ISPs up the line process the message.

If the message arrives with two different sequence numbers then it is 
handled properly.  If it arrives as two messages, with two different 
X-Original-To: headers but the same sequence number then fetchmail discards 
the second one assuming it's a duplicate.  Unfortunately, I can't find a 
fetchmail switch to disable that behavior.  I may go and try to hack the code.

Any other ideas?

Thanks,
Howard

At 10:00 AM 9/13/2003 -0400, Burt Juda wrote:
>It looks like the ISP is putting the envelope-recipient info into the 
>"X-Original-To" header.
>You need to tell fetchmail to use that for the recipient.
>
>Use the 'envelope X-Original-To:" parameter when fetching the multi-user 
>mailbox.
>I do exactly the same thing but with the "Envelope-to:" header that my ISP 
>adds.
>
>   - Burt
>
>
>Howard Spindel wrote:
>
>>I don't know why Qmail is sending two messages, and whether or not this 
>>is related to something broken in Outlook's headers.
>>Any ideas?
>>
>>The message headers are reproduced below, in case it's helpful.
>>
>>-------------------------------------------
>>
>>Return-Path: <gdjmsp@qwest.net>
>>Received: from localhost (IDENT:root@localhost.localdomain [127.0.0.1])
>>by server.sci1.com (8.9.3/8.9.3) with ESMTP id QAA31572;
>>Thu, 11 Sep 2003 16:50:44 -0700
>>X-Original-To: test@sci1.com
>>
>>----------------------------------------------------------------------------------------------------- 
>>
>>
>>Return-Path: <gdjmsp@qwest.net>
>>Received: from localhost (IDENT:root@localhost.localdomain [127.0.0.1])
>>by server.sci1.com (8.9.3/8.9.3) with ESMTP id QAA31564;
>>Thu, 11 Sep 2003 16:50:43 -0700
>>X-Original-To: howard@sci1.com





Follow-Ups:
References:
Indexed By Date Previous: Majorcool problems
From: Joshua Job <andrewjj20@telus.net>
Next: Re: Accuse de reception
From: Daniel Liston <dliston@sonny.org>
Indexed By Thread Previous: Re: duplicate messages
From: Burt Juda <burt@juda.com>
Next: Re: duplicate messages
From: Daniel Liston <dliston@sonny.org>

Google
 
Search Internet Search www.greatcircle.com