mail forwarding loop

[prev] [thread] [next] [lurker] [Date index for 2004/11/09]

From: Bowen Dwelle
Subject: mail forwarding loop
Date: 18:07 on 09 Nov 2004
I'm sure this is something simple... I send mail to 
test-list@xxxxxxxxxx.xxx, where a catch-all alias sends it to my account.

.procmailrc does this:

# test-list
:0:
* !^X-Been-There
* !^List-
* ^TO.*test-list@admonsters\.org
| $HOME/bin/tequila post test

which causes the message to be distributed correctly to the members of 
the "test" list. However, bowen@xxxxxxxxxx.xxx is also a member of that 
list, and when the mail comes in a second time, it gets bounced due to a 
mail forwarding loop. The headers that should prevent this are there:

> To: test-list@xxxxxxxxxx.xxx
> Subject: [admonsters-test] test 3 to test list
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Transfer-Encoding: 7bit
> Lines: 3
> X-Been-There: test-list@xxxxxxxxxx.xxx
> List-Id: test <test-list.admonsters.org>
> List-Help: <mailto:bowen@xxxxxxxxxx.xxx>;
> List-Unsubscribe: <mailto:test-list-unsub@xxxxxxxxxx.xxx>;
> List-Subscribe: <mailto:test-list-sub@xxxxxxxxxx.xxx>;
> List-Post: <mailto:test-list@xxxxxxxxxx.xxx>;
> List-Owner: <mailto:test-list@xxxxxxxxxx.xxx>;
> List-Archive: NO

and procmail is seeing them:

> procmail: Match on ! "^X-Been-There"
> procmail: Match on ! "^List-"
> procmail: No match on "(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):(.*[^a-zA-Z])?).*te
> st-list@admonsters\.org"

...so why is it still looping? There seems to be something upstream that 
determines it's a loop. Any way to get around this? I suppose I could 
have a seperate account that only handles lists...

-- Bowen
There's stuff above here

Generated at 14:00 on 11 Nov 2004 by mariachi 0.52