MUA Filters vs Procmail filters[was] RE: Mailing list procmailrecipe

Jay Daniels drs at pointyhats.com
Sat Apr 10 15:34:54 UTC 2004


On Fri, Apr 09, 2004 at 11:14:00AM -0700, Tom 'Needs A Hat' Mitchell wrote:
> On Thu, Apr 08, 2004 at 01:57:13PM +0800, Ow Mun Heng wrote:
> > > From: Jay Daniels [mailto:drs at pointyhats.com]
> > > On Thu, Apr 08, 2004 at 10:01:12AM +0800, Ow Mun Heng wrote:
> 
> > > /var/spool/mail/$USER think about using a .forward file and procmail
> 
> Remember that if sendmail is setup to include procmail  magic in
> .procmailrc and tinkering with  .forward  is not needed.
> 
> On FC1 it is common to see procmail as a local resource for sendmail:
>   $ grep procmail /etc/mail/*mc
>   /etc/mail/sendmail.mc:define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
>   /etc/mail/sendmail.mc:FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl/etc/mail/sendmail.mc:MAILER(procmail)dnl

If I understand correctly, then I can delete ~/.forward?

In the grep I get the same as you on the *mc files.

This is great, I can then setup a system wide .procmailrc and create
.procmail/rc.* for all users?



jay





More information about the fedora-list mailing list