Strange things....

Bill Landry bill at
Sun Mar 13 18:45:40 CET 2011

On 3/13/2011 5:04 AM, Patrick Ben Koetter wrote:
> * Patrick Ben Koetter<p at>:
>> * Lyn St George<lyn at>:
>>> On Friday 11 March 2011 09:17:44 Ralf Hildebrandt wrote:
>>>> This has been discussed before - filter using the "List-*" headers, e.g.
>>>> List-Id: "General support and discussion mailing list for AMaViS
>>>>          \(amavisd-new\)"<>
>>> Didn't see that discussion - guess those mails were dumped as being
>>> unidentified.  Have to say I find it a little odd though that a list dedicated
>>> to email manipulation is the only one I have that doesn't identify itself in
>>> the subject line. Was there a particular reason for this?
>> Please see:
>> <>
> For those too lazy to lookup how to filter the list with sieve use this
> example to start with. It puts the message into folder "amavis-users" if the
> List-ID:-header contains "":
> require "fileinto";
> if header :contains "List-Id" "<>" {
>      fileinto "amavis-users";
>      stop;
> }

Or, if using maildrop:

if (/^List-Id:.*<>/:hD)
     exception {
         to "$DEFAULT/.amavis-users"

This will place the list mail into the amavis-users folder, unless the 
folder does not exist, in which case it will deliver it to the default 
folder, which is typically the inbox.


More information about the amavis-users mailing list