[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Need help with procmail



I'd appreciate if anyone on the list could help ...

I had a simple procmail email to mysql script working on my server, and although 
the script is right, for some reason now I can't get procmail to do the simplest things 
any more on my Raq4. It was working but stopped some time yesterday, I don't 
know why.

For example, I have a .promailrc as below, to copy and forward mail sent to the 
testprocmail user.

The incoming email gets stored in /home/spool/mail/testprocmail but is not 
forwarded.

My .forward file in the home directory of the testprocmail user contains:
"| /usr/bin/procmail"

What could be wrong:

.procmailrc  (in the same directory)

# Directory for storing procmail configuration and log files
PMDIR =/home/sites/site71/users/testprocmail
# Put ## before LOGFILE if you want no logging (not recommended)
LOGFILE=$PMDIR/log.`date +%y-%m-%d`

# To insert a blank linbetween each message's log entry,
LOG="
"
# Set to yes when debugging
VERBOSE=yes
LOGABSTRACT=all
MAILDIR=/home/spool/mail       # Make sure this directory exists!
SHELL=/bin/sh
DEFAULT=$MAILDIR/testprocmail

# Recipes
:0c
! michael@xxxxxxxxxx