spamassassin results in mail headers
Benjamin Zeller
zeller at ibh-wor.de
Sat Jul 8 08:51:34 UTC 2006
On Saturday 08 July 2006 10:15, Jochen Kaechelin wrote:
> I'am looking for a switch to tell spamassassin/amavis to insert
> scanning results in every email header.
>
> Something like this:
>
> X-Spam-Level: ****
> X-Spam-Status: No, score=4.7 required=5.0
> tests=BAYES_50,FORGED_OUTLOOK_HTML,
>
> FORGED_OUTLOOK_TAGS,HTML_MESSAGE,MIME_HTML_ONLY,RATWARE_RCVD_PF
> autolearn=no version=3.0.2
>
How does your local.cf look like?
For header-rewrite you need something like
use_terse_report 1
report_header 1
and most important:
add_header spam Flag _YESNOCAPS_
add_header all Status _YESNO_, score=_SCORE_ required=_REQD_ tests=_TESTS_
autolearn=_AUTOLEARN_ version=_VERSION_
add_header all Level _STARS(*)_
add_header all Checker-Version SpamAssassin _VERSION_ (_SUBVERSION_) on
_HOSTNAME_
auto_learn 1
in it.
> By now I only get something like this:
>
> X-Virus-Scanned: Debian amavisd-new at mail.wlanhacking.de
>
> Any hints?
>
This should be configured in amavis, SA-header-rewrite is configured in SA
itstelf, see above.
Greetings,
Benni
--
Benjamin Zeller
Ing.-Büro Hohmann
Bahnhofstr. 34
D-82515 Wolfratshausen
Tel.: +49 (0)8171 347 88 12
Mobil: +49 (0)160 99 11 55 23
Fax: +49 (0)8171 910 778
mailto: zeller at ibh-wor.de
www.ibh-wor.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060708/d3db55d4/attachment.sig>
More information about the ubuntu-users
mailing list