"Bill Sandiford" <[EMAIL PROTECTED]> writes:

> Messages that Spam Assassin don't tag as SPAM have the Return Path
> but the messages created by Spam Assassin for messages marked as
> spam do not.

Ugh.  I guess it's removing that field.

> Is there anyway to work around this, keeping in mind that
> spamassasin is being run globallly by /usr/local/etc/procmailrc and
> TMDA is run at the user level by ~/.procmailrc.
> 
> Can the return path be generated from the From: field in these cases, and if so, how?

You don't want to do this.  Often, with either sophisticated users or
with spammers the envelope sender and the From field are different.

You could try this in your /usr/local/etc/procmailrc (untested):

:0fw
RETURN_PATH=`/usr/local/bin/formail -X Return-Path`
| /usr/local/bin/spamc -f

:0fw
| /usr/local/bin/formail -I "$RETURN_PATH"


Tim
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to