procmail filter for mailinglist
Jay Daniels
tux at myt60.net
Tue Jul 14 22:39:01 UTC 2009
On Mon, 2009-07-13 at 23:15 -0700, Bruce Ferrell wrote:
>
> 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.
>
I ran into a problem with this pipe to IFS line. It seems fetchmail
does not use .forward at all.
jay
More information about the ubuntu-users
mailing list