The maildrop mailfilter is modifying the Delivered-To headers to [EMAIL PROTECTED]
On disabling the "Spam Detection" check box of qmailadmin, the Delivered-To headers are okay in the format of [EMAIL PROTECTED]
How do I correct this behavior (Thanks in advance in anticipation) ?
I am using vpopmail v5.3.20 and qmailadmin v1.0.24. Spam tagging is being done by Spamassissin v2.55 and qmail-scanner v1.16.
Recently I recompiled qmailadmin with:
--enable-modify-spam=y \
--enable-spam-command="|/var/qmail/bin/preline /usr/local/bin/maildrop /home/vpopmail/etc/mailfilter"
Enabled on test account for "Spam Detection" through qmailadmin.
My mailfilter looks as follows:
vi /home/vpopmail/etc/mailfilter chown vpopmail:vchkpw /home/vpopmail/etc/mailfilter chmod 600 /home/vpopmail/etc/mailfilter
--- cut here ---
VMAILDIR="$PWD/Maildir/"
USERNAME=`echo ${PWD##*/}`
USERHOST=`PWDTMP=${PWD%/*}; echo ${PWDTMP##*/}`
SPAMFOLDER=".JunkMail/"
#
# If Logging is required, logfile path should be vpopmail writable
#logfile "/home/vpopmail/maildrop.log"
#log $VMAILDIR
#log $USERNAME
#log $USERHOST
#log $SPAMFOLDER
#log "$VMAILDIR$SPAMFOLDER"if (/^X-Spam-Flag: *Yes/)
{
# Try to deliver to the spam folder
exception {
to "$VMAILDIR$SPAMFOLDER"
}
}# Process user's rules if available.
exception {
include $VMAILDIR/mailfilter
}# If it falls through to here, just put it in their inbox to "$VMAILDIR" --- cut here ---
______________________________________________________
Devendra Singh
IndiaMART InterMESH Limited
(Global Gateway to Indian Market Place)
B-1, Sector 8, Noida, UP - 201301, India
Voice : +91-120-2543945, 2543946, 2543947
Fax: +91-120-2543943
http://www.indiamart.com
http://www.indiangiftsportal.com
http://www.indiantravelportal.com
______________________________________________________
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/03
