procmail
[Top] [All Lists]

Newbie: Can't get procmail to run from .forward

2002-02-27 11:04:37

I've gone through the FAQ and all the recommendations I can find on
the Web and can't seem to get this to work. If I put a recipe in
/etc/procmailrc it is run for all users. But I want to test a recipe
on an individual account before deploying it server-wide.

I have created the following ~billing/.forward files (each is only one
line):

"|/usr/bin/procmail -f- #billing"

"|/usr/bin/procmail -f-"

"|/usr/bin/procmail"

|/usr/bin/procmail


These seem to work (mail doesn't get returned) but procmail is never
run (recipes aren't executed and the logfile is never built).

Anything with 'exec' is not allowed. Any command-line parameters after
procmail also are not allowed unless they are quoted. (I know
virtually nothing about Sendmail, so that may be by design.)


The ~billing/.procmailrc looks like this:

------------------------------------------------------
PATH=/bin:/usr/bin:/usr/bin
MAILDIR=$HOME/mail      #you'd better make sure it exists
#DEFAULT=$MAILDIR/mbox   #completely optional
VERBOSE=on
LOGFILE=$HOME/procmail.log

:0:
* ^From.*wadsack.*
from_jeremy

:0fw
|/usr/bin/spamc
------------------------------------------------------

Anyone have any suggestions about how I can make procmail work (or see
if it's even being called)? I don't even have a clue where to start to
trace the email delivery process. Should I be posting this to the
Sendmail list instead?


-- 

Jeremy Wadsack
Wadsack-Allen Digital Group

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

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