Procmail won't play with Postfix

JoeHill joehill-rieW9WUcm8FFJ04o6PK0Fg at public.gmane.org
Mon Nov 24 13:38:51 UTC 2003


Max B. reminded me about setting up Procmail again, now that I have MDK 9.2 up
and running, but I can't get it to go.

Set up a basic ~/.procmailrc, like last time:

PATH=/usr/bin
PMDIR=$HOME/Procmail
LOGFILE=$PMDIR/pmlog
MAILDIR=/var/spool/mail  
INCLUDERC=$PMDIR/rc.testing

where

~/Procmail contains rc.testing:

:0:
* ^Subject:.*test
/dev/null

My Postfix config shows:

mailbox_command = /usr/bin/procmail -Y -a $DOMAIN

but test mails sent with the subject, er, "test", to not go to /dev/null.

Is there some way I can run Procmail from the command line to test it and see
any error output? I read "man procmail" but I can't see anything about
generating verbose output. It's not even generating a logfile as per the
specified location...

The only thing I can think of is the perms on ~/.procmailrc might be wrong:

-rw-rw-r--    1 joehill  joehill       110 Nov 23 16:51 .procmailrc

I've gone through these how-to's:

http://userpages.umbc.edu/~ian/procmail.html

(the one Max linked to)

and

http://www.ii.com/internet/robots/procmail/qs/

which I used before on 9.1, but I can't see what I might be doing wrong.

Thanks all!

-- 
JoeHill
Registered Linux user #282046
Homepage: www.orderinchaos.org
+++++++++++++++++++++++++++
"The philosophers have only interpreted the world in various ways. The point,
however, is to change it."-- Karl Marx
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list