Adding ASN info

Lars Kristiansen lars+lister.mailscanner at
Wed May 21 14:29:07 IST 2008

Hugo van der Kooij skrev:
> Steve Freegard wrote:
> | Hugo van der Kooij wrote:
> |> Has anyone done any work on adding ASN info to a message in the way 
> this
> |> procmail filter does it? I would prefer to do this in postfix but a
> |> custom call in MailScanner before SA is called upon would do as well.
> |>
> |>
> |>
> |> It sounds like a fun idea to let the ASN info become part of the
> |> Bayesian selection. And we might add a decision to block all messages
> |> from certain countries. All I ever got from Nigeria are messages with
> |> wacky deals.
> |
> | SpamAssassin can do this natively if you want to Bayes to consider the
> ASN:
> |
> |
> So adding the 3 lines indicated to
> /etc/MailScanner/spam.assassin.prefs.conf should be sufficient to add
> the ASN info?
> One of the side effects of getting something to kill the pain in my
> spine is that it makes it a bit harder to think logical. But it beats
> the pain so I can work out that problem that locks up my spinal column.
> So I have to accept the side effects this week.
> Hugo.

No success here.
The ASN-plugin in spamassassin adds a header: X-Spam-ASN
It does work for me with spamassassin -D but not in mailscanner.
Should this work in mailscanner to add a header with a spamassassin-plugin?

Regards and best wishes of recovery,

More information about the MailScanner mailing list