procmail
[Top] [All Lists]

Re: Global /etc/procmailrc issues

2004-07-08 10:07:06
On Thu, 08 Jul 2004 01:34:23 -0400 (EDT), 
oshay(_at_)frost(_dot_)met(_dot_)fsu(_dot_)edu wrote:

I have set up the /etc/procmailrc (on a machine running sendmail V8.12.11 
with procmail running as the delivery agent).

/etc/procmailrc contains:

:0:
* ^Subject:.*test
IN-testing



Emails are indeed getting filtered that contain the Subject: test , but i 
don't know where they are getting dumped to...

If Procmail is running under root, and depending on your installation,
check the root of your hard drive or under /root or in /etc/.


where can i set this? 
Should i set it within /etc/procmailrc? 

Yes, set it a the variable IN-testing at the start of your procmailrc or
before the recipe.

IN-testing=/path/to/IN-testing

And then in your recipe

:0:
* ^Subject:.*test
$IN-testing


Would the LOGFILE variable be set there 
too? 

Yes.

LOGFILE=/var/log/procmail.log
Or any name you want.



____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>