Hello,
I'm new to the list and spamassassin. I've setup a Debian Woody 3.0 box
with spamassassin and exim successfully delivering to local users. My
next task is putting together a second box which serves as an email
gateway. I included the following in my exim.conf under the transports
section:
#### Transport Section ####
# Spamassassin Transport
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 =
And this in the routers section:
#### Routers Section ####
# Jeremy added this in
spamcheck_director:
condition = "${if and { {!def:h_X-Spam-Flag:} {!eq
{$received_protocol}{spam-scanned}} } {1}{0}}"
driver = lookuphost
transport = spamcheck
When exim sends to external addresses, it does run spamassassin and send
out the email, but it segments the header..
#### Begin Email ####
Received: from gateway1 ([205.143.222.7]) by esusa.oc.edu with Microsoft
SMTPSVC(5.0.2195.4905); Tue, 24 Sep 2002 05:59:58 -0500
Received: from mail by gateway1 with spam-scanned (Exim 3.35 #1
(Debian))
id 17tnQ6-0002oa-00 for <[EMAIL PROTECTED]>; Tue, 24 Sep 2002
05:59:58
-0500
Message-Id: <E17tnQ6-0002oa-00@gateway1>
From: [EMAIL PROTECTED]
Bcc:
Date: Tue, 24 Sep 2002 05:59:58 -0500
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 24 Sep 2002 10:59:58.0134 (UTC)
FILETIME=[8599BD60:01C263B9]
X-Evolution-Source: imap:[EMAIL PROTECTED]/
Subject: No Subject
Mime-Version: 1.0
>From [EMAIL PROTECTED] Tue Sep 24 05:59:58 2002
Received: from root by gateway1 with local (Exim 3.35 #1 (Debian))
id 17tnQ6-0002oV-00
for <[EMAIL PROTECTED]>; Tue, 24 Sep 2002 05:59:58 -0500
From: [EMAIL PROTECTED] (Cron Daemon)
To: [EMAIL PROTECTED]
Subject: Cron <root@gateway1> test -x /usr/sbin/ntpdate &&
Message-Id: <E17tnQ6-0002oV-00@gateway1>
Date: Tue, 24 Sep 2002 05:59:58 -0500
X-Spam-Status: No, hits=0.0 required=5.0 tests= version=2.20
X-Spam-Level:
24 Sep 05:59:57 ntpdate[10818]: step time server 205.143.220.12 offset
-3.437680 sec
#### End Email ####
I'm a bit stumped. I'm not sure if this is an issue with exim or with
spamassassin. I've googled and googled, and I haven't found anyone with
a similar issue, but I'm sure that there are others who use exim and
spamassassin in this function. Does anyone have any ideas?
Jeremy
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk