[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Need help with procmail
- Subject: RE: [cobalt-users] Need help with procmail
- From: "Jolley, Carl" <Carl.Jolley@xxxxxxx>
- Date: Thu Aug 22 15:41:26 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
-----Original Message-----
From: Jolley, Carl [mailto:Carl.Jolley@xxxxxxx]
Sent: Thursday, August 22, 2002 6:05 PM
To: 'cobalt-users@xxxxxxxxxxxxxxx'
Subject: RE: [cobalt-users] Need help with procmail
-----Original Message-----
From: michael@xxxxxxxxxx
Sent: Thursday, August 22, 2002 2:52 PM
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: [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
-------------------------
Remove the .forward file, its not needed.
Change the permissions of the .procmailrc
file to 0600 and change the permissions
of the /home/site/site71 directory to remove
the group write permission. I also suggest that
you change the .procmailrc settting of
MAILDIR=$HOMR/mail
------------------
Correction: MAILDIR=$HOME/mail