[oclug] Getting procmail working on SME/e-smith 5.6
Jim Little
jlittle at orderedBits.com
Thu Nov 13 10:51:30 EST 2003
Quoting "Michael P. Soulier":
> On 12/11/03 Jim Little did speaketh:
>
> > Does anyone know a quick way to get procmail working with the
> > default qmail setup on SME server? I have created an
> > ...
[snip bad solution]
>
> I wouldn't go that route. Leave the run file alone. Run procmail on
> an individual user basis, they'll all want to control their own
> filtering anyway.
> In the user panel, forward all mail for a user that wants to use
> procmail to, for example, <userid>-filter. Then, they need to put a
> .qmail-filter file in their home directory, with...
>
> [msoulier at tigger msoulier]$ cat .qmail-filter
> | preline /usr/bin/procmail ~/.procmailrc
>
> Then they can filter any way they like in their ~/.procmailrc file.
Thanks for this excellent suggestion. I didn't realize you could do this.
It works really well and is elegant.
If I wanted to establish a global procmail filter that would be applied
to all incoming messages (like adding a lines field or scanning attachments)
is there an equally easy way to do this (short of creating filter files for
all users and sourcing a global procmailrc file)?
Regards,
Jim
More information about the OCLUG
mailing list