procmail filter for mailinglist

Bruce Ferrell bferrell at baywinds.org
Tue Jul 14 06:15:01 UTC 2009



Jay Daniels wrote:
> I need an automatic procmail filter for list.  This does not seem to
> work - for this list anyway.  What am I missing?
> 
> :0
> * ^X-BeenThere_.*ubuntu-users@
> lists.ubuntu-users/
> 
> :0                                    # Majordomo lists
> * ^Sender: owner-\/[-a-zA-Z0-9_.]*
> list.$MATCH/
> 
> :0 
> * ^X-Mailing-List: <\/[-a-zA-Z0-9_.]*   # SmartList lists
> list.$MATCH/
> 
> 
> thanks,
> 
> jay
> 
> ps: I thought that procmail would auto create the folder, is this
> correct?  I am using Maildir.
> 

When I'm building filters for Thunderbird for this list I use to or cc.

When I set up procmail for spam filtering for a client using maildir I
had to do some magic in .forward:

"|IFS=' ' && exec /usr/bin/procmail || exit 75 #name"

where name is the users name.

it will create the folder, but maybe not where you expect. In the cases
you listed above, lists.ubuntu-users/ will end up in $HOME/Maildir, not
in $HOME/Maildir/new.







More information about the ubuntu-users mailing list