RE: [Exim] SpamAssassin filtering

Top Page
Delete this message
Reply to this message
Author: Dickenson, Steven
Date:  
To: 'John Miller'
CC: exim-users
Subject: RE: [Exim] SpamAssassin filtering
John, have you tried following this configuration example, or comparing it
to yours?

http://dman.ddts.net/~dman/config_docs/exim3_spamassassin.html

Steven

-----Original Message-----
From: John Miller [mailto:jmiller@twinengines.com]
Sent: Friday, April 11, 2003 5:30 PM
To: Nico Erfurth
Cc: exim-users@???
Subject: RE: [Exim] SpamAssassin filtering


Fair enough, it's been a long day. :)

I'm using exim v3.36. You can see in the routers configuration (below) that
there are two transports. If remote_smtp is enabled then mail gets
delivered, but not scanned. Conversly, if spamcheck is enabled then the mail
is scanned but not delivered.

Excerpts from /etc/exim/exim.conf
# This transport is for SpamAssassin
spamcheck:
    driver = pipe
    command = /usr/sbin/exim -oMr spam-scanned -bS
    transport_filter = /usr/bin/spamc


    bsmtp = all


    home_directory = "/tmp"
    current_directory = "/tmp"


    user = mail
    group = mail


    return_path_add = false


    log_output = true
    return_fail_output = true


    prefix =
    suffix =


# Remote addresses are those with a domain that does not match any item # in
the "local_domains" setting above.

# Send all mail to a smarthost

smarthost:
driver = domainlist
# transport = remote_smtp
transport = spamcheck
route_list = "* 192.168.2.23 byname"



> I've been poking through the logs and it looks like Exim is using
> remote_smtp as the transport instead of the SpamAssassin transport I


Aha. Hmmm, well how do you think about showing us some of these loglines?
Ohhh, and it would be good to see your configuration. Ahh, before I forget
it, TELL USE YOUR EXIM VERSION! :)

> created. Ideally, this server would filter mail, add header

information
> and relay the mail to our Exchange server. How can I get Exim to do

this
> instead of skipping the SpamAssassin Transport like it is now?


http://www.catb.org/~esr/faqs/smart-questions.html

We like to help, but we're no visionaries.

Nico


--

## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##