Adding ASN info
Julian Field
MailScanner at ecs.soton.ac.uk
Wed May 21 16:55:15 IST 2008
Alex Broens wrote:
> On 5/21/2008 3:29 PM, Lars Kristiansen wrote:
>> 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.
>>> |>
>>> |> http://linuxmafia.com/~karsten/Download/procmail-asn-header
>>> |>
>>> |> 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:
>>> |
>>> |
>>> http://spamassassin.apache.org/full/3.2.x/doc/Mail_SpamAssassin_Plugin_ASN.html
>>>
>>>
>>>
>>> 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?
>
> If you add the add_header directive and use SA to run regex against
> it, it works, "virually", but MS won't write it in the msg because MS
> doesn't know about these directives (and probably never will)
>
> Take in account that if you're boxes are hi traffic, this will slow
> down your processing.
It takes quite a bit of time to look it up, and adds *Very* little
helpful information in working out the spaminess of the message. So I
have no plans to add support for it as yet another special case.
Jules
--
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
PGP public key: http://www.jules.fm/julesfm.asc
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the MailScanner
mailing list