procmail
[Top] [All Lists]

Re: setting up /etc/procmail

2002-10-22 11:35:15
From: LuKreme <kremels(_at_)kreme(_dot_)com>

On Tuesday, Oct 22, 2002, at 09:14 Canada/Mountain, Abid wrote:

Quick question about setting up /etc/procmail

/etc/procmailrc

.  I am not sure if I need a ".forward" file with the /etc/procmail

if a user has a .forward file it OVERRIDES the system-wide 
/etc/procmailrc file. (We just covered this on the list, in fact)) 
unless the user specifically calls

INCLUDERC=/etc/procmailrc


No.  This is erroneous information.  Surry, LuKreme.  Yes, we just covered
it, but what you recall from the thread is wrong.

The presence of a simple .forward does not override or obviate an
/etc/procmailrc.  From 'man procmail' (3.22):

       If no rcfiles and no -p have been specified on the command
       line,  procmail  will, prior to reading $HOME/.procmailrc,
       interpret  commands  from  /etc/procmailrc  (if  present).

So how one overrides /etc/procmailrc, if one exists, is to use -p
or specify the target rcfile on the command-line (including, one
presumes, within a .forward).

Dallman Ross


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail