Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users
MIME parts and sa-learn
 

Index | Next | Previous | View Flat


exim at sipwise

Jun 26, 2009, 6:14 AM


Views: 335
Permalink
MIME parts and sa-learn

Hej,

I am thinking of a clever way to integrate spamassassin's sa-learn
(bayesian classifier training program) into exim's ACLs. The intended
approach is to pass the message which should be trained as a
"message/rfc822" attachment (so original headers are preserved) to a
specific address (e.g. sa-learn-spam[at]domain) at the server.

Therefore, the first thing I was looking at was the smtp_mime ACL, but
it doesn't seem to be of much use besides filtering for regular
expressions. If the "malware" condition would be allowed, I could pass
the attachment via a "cmdline" scanner to sa-learn, but according to the
docs this isn't possible.

It is of course possible to pass the whole message to a script in the
data ACL or in a transport and demime everything in the script, but I
don't really like that much.
Another approach would be to demime into unique files in the mime ACL
and read these files in a scanner/delivery script, but that's even
worse, IMO.

I'm sure people are using spamassassin a lot out there, so can anyone
here show a smarter way of integration spam/ham learning? (Without using
spamc or sth. else from the user side.)

TIA & br,
daniel

--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Subject User Time
MIME parts and sa-learn exim at sipwise Jun 26, 2009, 6:14 AM
    Re: MIME parts and sa-learn wbh at conducive Jun 26, 2009, 8:36 AM
        Re: MIME parts and sa-learn exim at sipwise Jun 28, 2009, 3:59 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.