"Jeff Shepherd" <[EMAIL PROTECTED]> asked:
> Also, I need to add something to the header that will make
> SpamAssassin will recognize it as not spam.
> Any recommended way?

You would not want SpamAssassin to default to anything that spammers could put in
spam to get it to pass. But there should be no problem with adding a header like
"X-DeSpammed: lkjhdfkjh" and adding a procmail filter to catch it before sending
anything to spamd. Your message showed that you know how to add a header such as
X-Loop and how to filter based on a header.

To be elegant you would want to be in control of the string in the header. Either
your users would run an /etc/procmailrc file where that is done, or else the procmail
recipe could read the string from a file. That allows you to change the string
periodically or if a spammer catches on to it. To make it really clean the procmail
recipe could run the message through formail to strip out the header after bypassing
the spamd filter and before delivering the message.

 -- sidney



Reply via email to