I'm setting up an account on my mail server that will unassassinate 
false-positive spam.  I plan to have users that received mail tagged 
as spam send the message to this account, have the SpamAssassin 
markup stripped and then sent back to the original sender.  I believe 
all this can be done in the .procmailrc file.  I know the procmail 
lines to strip the SpamAssassin markup are like this

:0fw
| /usr/bin/spamassassin -d

and to send the message back to the sender the procmailex man page 
says to use something like this

:0hc
* !^FROM_DAEMON
* !^X-Loop: [EMAIL PROTECTED]
| (formail -r -I"Precedence: junk" \
        -A"X-Loop: [EMAIL PROTECTED]" ; \
        echo "Mail received.") | $SENDMAIL -t

But this sends an e-mail that says "Mail Received" back.  How do I 
send the original message back?

Also, I need to add something to the header that will make 
SpamAssassin will recognize it as not spam.  Any recommended way?

  - Jeff -

Reply via email to