Hello:
Is there a better, more compact way of doing this?
Here is a snippet of the procmailrc:
#Preliminaries
VERBOSE=yes
SHELL=/bin/bash #Use the Bash shell (check your path!)
MAILDIR=${HOME}/Maildir #First check what your mail directory
is!
LOGFILE=${HOME}/procmaillog.`date +%y-%m-%d`
############################
## For Dovecot delivery ####
############################
DOVECOT_DELIVERY="/usr/libexec/dovecot/deliver"
:0fw
| spamc
# Spamassassin Section
:0
* ^X-Spam-Flag:.*YES*
.Spam/
# Forward
{
# First, save original subject
ORIGSUBJECT=`formail -c -xSubject:`
:0fwh
# Modify the subject line
* ^Subject: \/.*
| formail -I"Subject: [MODIFIED] $MATCH"
# Forward
:0c
! alex(_at_)spectrecom(_dot_)com
# Put back the original subject and submit to ${DEFAULT}
:0fwh
| formail -I"Subject:$ORIGSUBJECT"
:0:
| $DOVECOT_DELIVERY
}
--
Regards,
Alex Rodriguez
-----------------------------------------
Spectrecom Corporation.
PO Box 950096.
Mission Hills, California 91395.
Phone: 818.832.4111.
Mobile:818.679.5937.
Fax: 818.832.8111.
For Epson consumables please visit
http://www.spectrecom.com
____________________________________________________________
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