Great Circle Associates Majordomo-Users
(December 2003)
 

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

Subject: Re: Preventing mail loops, patch?
From: Daniel Liston <dliston @ sonny . org>
Date: Fri, 19 Dec 2003 14:50:24 -0600
To: Andrew Beverley <andy @ andybev . com>
Cc: majordomo-users @ greatcircle . com
In-reply-to: <1071687335.5735.96.camel@andylap.andybev.com>
References: <1071687335.5735.96.camel@andylap.andybev.com>
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)

As I create each list (and it's config file), I add a custom header
setting, and a matching taboo_header expression.  This has worked
well for those vacation/auto-reply senders that maintain the headers,
but not otherwise.  Also make sure your reply_to setting is not set,
or you are causing this yourself.

message_headers     <<  END
List-ID: $LIST mailing list <$LIST.lists.doma.in>
END

reply_to            =

taboo_headers       <<  END
/^X-ApprovalRequired: true/i
/^List-ID:.*$LIST\.lists\.doma\.in/i
END



Dan Liston

Andrew Beverley wrote:

> I've recently encountered a problem where a misconfigured email server
> of a list member was directing list emails back to the list, causing a
> mail loop.
> 
> The emails were keeping the original headers, so my thought to prevent
> this is to add a custom header to the list, and check for the custom
> header - for example in taboo-headers.
> 
> My question is, does anyone know of any patches to majordomo to do this
> automatically, without having to edit each config file, and also without
> each looped message being bounced for approval.
> 
> Note: because with every pass through the majordomo server another set
> of headers was added, the recursive email was eventually stopped
> somewhere along the line because of the excessive number of Received
> headers.
> 
> Thanks,
> 
> Andy Beverley
> 



References:
Indexed By Date Previous: Re: The .config file for one of the lists has an item called archive_dir.
From: Burt Juda <burt@juda.com>
Next: Re: The .config file for one of the lists has an item called archive_dir.
From: Daniel Liston <dliston@sonny.org>
Indexed By Thread Previous: Re: Majorcool
From: Andrew Beverley <andy@andybev.com>
Next: open of temp file '/home/majordom/lists/shlock.31496' failed: Permission denied
From: DEMEYER Peter <pdemeyer@coleurop.be>

Google
 
Search Internet Search www.greatcircle.com