This problems had me frustrated yesterday but I finally did achieve some
success. If I added my included to the /etc/procmailrc file instead of in
the users /.procmailrc everything worked as expected. I don't know why that
made a difference by my vacation.rc file which is in the same directory as
it was before now gets read and executed.
So here is my /etc/procmailrc file
# Logging
MAILDIR=$HOME/mail
PMDIR = $MAILDIR/.Pm
PMSRC = $PMDIR
VERBOSE=ON
LOGABSTRACT = all
LOGFILE=$MAILDIR/.Pm/procmail.log
VERBOSE=ON
LOCKFILE=$MAILDIR/.Pm/lockmail
MONAT=`date +%b-%Y`
SHELL=/bin/sh
PATH=$HOME/bin:/bin:/usr/bin:/usr/local/bin
DATE = `date +%B-%Y`
DROPPRIVS=yes
VERBOSE=ON
:0fw
| /usr/bin/spamassassin
:0
* ^X-Spam-Status: Yes
$HOME/mail/Junk
INCLUDERC = $HOME/rc.vacation
DROPPRIVS=yes
VERBOSE=ON
Rob
-----Original Message-----
From: procmail-bounces(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
[mailto:procmail-bounces(_at_)lists(_dot_)RWTH-Aachen(_dot_)de] On Behalf Of
Ruud H.G. van
Tol
Sent: September 8, 2009 2:50 PM
To: procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
Subject: Re: Help needed setting up simple procmail setup
Rob Henry wrote:
This is my /etc/procmailrc file:
LOGFILE=$HOME/mail/procmail.log
DROPPRIVS=yes
Before the DROPPRIVS, not the user is running.
So above lines are in the wrong order.
As well I have this .procmailrc file in my home/user/ directory
MAILDIR=$HOME/mail/
Normally, your $MAILDIR should not end in a slash.
LOGFILE=$HOME/log
Here you are unnecessarily switching log file.
--
Ruud
____________________________________________________________
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
Up To Date Bus Cancellations at www.sharpbus.com
This communication may contain privileged or other confidential information.
If you are not the intended recipient, or believe that you have received this
communication in error, please do not print, copy, retransmit, disseminate, or
otherwise use the information. Please indicate to the sender that you have
received this email in error, and delete the copy you received.
**This message has been scanned on 9/9/2009 by GFI at SHARPBUS.COM and is virus
free.**
____________________________________________________________
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