On 2011/04/25 05:01, Paul Hugill wrote:
Hi All,
I have SA (v3.2.3) installed along with hMailServer and it is working great
but I just wanted to check if you can make changes to the default headers
that are inherited on the spam report.

I would like to include an extra one so that this header
'X-hMailServer-ExternalAccount' is also included in the report headers.
In the tagging section here,
http://spamassassin.apache.org/full/3.2.x/doc/spamassassin.txt, it mentions
that From & To etc are inherited from the original and it would be great to
be able to add this one too so that I can tell which account is getting all
the spam.

With procmail you can do this:

# This happens when wibbles have wobbled.
   :0 fw: wibbles.lock
   * !^Subject: Wibbles
   | formail -A "X-Wibbles: Wibbles wobbled properly."

(The "magic" is the "formail" line.)

{^_^}

Reply via email to