Josh skrev, on 12-09-2007 01:45:

I am almost certain that it is DSPAM re-writing the To: headers, because in the quarintine inbox the To: headers are right.

If I get a quarintine mail box with one mail in it, and lets say that the To: email header in that mbox it is To: [EMAIL PROTECTED], and I then go:

cat mbox | dspam --deliver=innocent --class=innocent --source=error --user spam -d spam

It will arrive at postfix with a To: address of [EMAIL PROTECTED] and orig_to: spam

So something funky is going on :/

Support Info-Complexe wrote:

Are you using email type usernames or just name without @domain.com? If
you are using the second type, the system may have append the current
machine domain name to the address probably a postfix behavior.

My site doesn't use the CGI interface at all, users train dspam by moving misjudged messages to a single IMAP folder. A cron job runs every 10 minutes to reclassify misjudged messages:

mail="barlaeus"
/usr/bin/dspam --class=innocent --source=error --user $mail < $misclass > /dev/null 2>&1

The message is never given to Postfix, it remains in the current directory and the script then mangles the subject and moves the message to whichever user folder is appropriate. No headers other than Subject: are affected.

I know that my method is different from yours, but the point is, that it doesn't use Postfix at all. Perhaps you could try something similar?

--Tonni

--
Tony Earnshaw
Email: tonni at hetnet dot nl

Reply via email to