procmail
[Top] [All Lists]

Re: Spammish?

2003-02-15 19:46:07
On Sun, 16 Feb 2003, Alan Clifford wrote:


I have this to add headers into the spam emails:

# remove the variable
SPAMREASON

This just resets the variable to [empty]?

# sardine mail - usenet name
:0
* ^TO_sardines(_at_)purse-seine\(_dot_)net
{
  nl
  nl=${SPAMREASON+"$NL"}
  SPAMREASON="${SPAMREASON}${nl}${SPAMREASON_HEADER}To sardines"
}

then:

# Add reason headers and deliver spam
:0
* ! SPAMREASON ?? ^^^^
{
  # Add the spam reason headers
  :0 fhw
  | formail -A "${SPAMREASON}"

  # deliver
  :0:
  IN.zzzz.spam
}


I end up with new headers in the email, such as:

X-Mundungus-Spam-Reason: undisclosed recip
X-Mundungus-Spam-Reason: mailix Id, no smtp
X-Mundungus-Spam-Reason: suspect mailix message Id

I may get to this point.  At the moment, I'm just trying to identify spam
and determine if my recipes are effective (and how effective).  I'm still
not sure I understand why it's important to know that a message has been
identified as spam for four different reasons.

Thanks for the input.

                                - fleet -


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>