hi,
I'm having trouble getting procmail to take action on empty messages.
Here's my .procmailrc with the easy parts trimmed out. The problem is
after pm-jaempty.rc:
MAILDIR=$HOME/mail
DEFAULT=/var/spool/mail/jack
LOGFILE=$HOME/Procmail/log
PMSRC=$HOME/Procmail
VERBOSE=no
LOGABSTRACT=yes
LINEBUF=16384
PATH="/usr/bin:$PATH:/usr/local/bin"
SHELL=/bin/sh
# Kill duplicates, empties, vcards, and useless attachments.
# Also sanitize the mail with clean subject lines &c.
INCLUDERC = $PMSRC/pm-jadup.rc
INCLUDERC = $PMSRC/pm-jamime-kill.rc
INCLUDERC = $PMSRC/pm-jasubject.rc
INCLUDERC = $PMSRC/pm-jaempty.rc
:0:
* BODY_EMPTY ?? "yes"
"quarantine"
The other Jari scripts work okay, so I don't think it's path or
permissions. pm-jaempty.rc is supposed to do this:
# This simple includerc will define variable BODY_EMPTY to "yes" or "no"
# when called like this
# INCLUDERC = $PMSRC/pm-jaempty.rc
but empty messages are never transferred to quarantine. I suppose I
could put the action line directly into the pm-jaempty.rc script, but I
don't want to modify it in case I download update to Jari's scripts
later.
--
Jack Coates
Monkeynoodle: It's what's for dinner!
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail