[Mimedefang] DCC, Pyzor, and Razor header additions

afo cliff afocliff at gmail.com
Tue May 26 15:58:07 EDT 2009


Thanks.  I must be using the stock spam_assassin_check because I see
this in mimedefang-filter:

my($hits, $req, $names, $report) = spam_assassin_check();

I tried adding the line below under the change_header lines and all
that ended up in the email header was "X-Spam-Tests:" with no data

action_add_header("X-Spam-Tests", "$test");

On Mon, May 25, 2009 at 2:50 AM, Steffen Kaiser
<skmimedefang at smail.inf.fh-bonn-rhein-sieg.de> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Thu, 21 May 2009, afo cliff wrote:
>
>> add_header all Pyzor _PYZOR_
>> add_header all DCC _DCCG_: _DCCR_
>
> If you use the stock spam_assassin_check() function, there is a '$test'
> return value of the comma separated list of SpamAssassin test names.
>
> Use it in combination with action_add_header().
>
> Bye,
>
> - -- Steffen Kaiser
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iQEVAwUBShpN4tlJzF6z/k3SAQJevQf/ZxnQCBIatYpXw6nO88l8tOWzxXqEiJEs
> 5ayV4kOwpJuvURhXKw0qLq0ZMF26YfG6HjF0pMnLoyBtKuMavt703YwD7vnVk4gc
> zs1FWv/KPc5t1Y8WRkrMBnVD98jtzDV6kgRSHmAzTnG0dAkcovMQQlWQj2dZ7RTv
> 1NwN21jNilQL1+I+tGfgxXiCzvwS4GU2+Tcmc1TBIyNOpI/8gnYLs5wW4Af1EQC3
> EsGaMWoMgSX++6AFQgsjsZFNFA7nBKgAzdmyo4fhpwU9pvun3Ifn/7r8xidWXpjY
> qL+kARGiOseEka8pNwdm3RxHguxG0W5rHJzNa4LsljHj5kbZFeAHZA==
> =n0fv
> -----END PGP SIGNATURE-----
> _______________________________________________
> NOTE: If there is a disclaimer or other legal boilerplate in the above
> message, it is NULL AND VOID.  You may ignore it.
>
> Visit http://www.mimedefang.org and http://www.roaringpenguin.com
> MIMEDefang mailing list MIMEDefang at lists.roaringpenguin.com
> http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
>



More information about the MIMEDefang mailing list