Greg,
What do u have for ur router?
spamcheck_router:
no_verify
check_local_user
# When to scan a message :
# - it isn't already flagged as spam
# - it isn't already scanned
condition = "${if and { {!def:h_X-Spam-Flag:} {!eq
{$received_protocol}{spam-scadriver = accept}}}}"
driver = accept
transport = spamcheck
And this is my transport
spamcheck:
driver = manualroute
command = "/usr/local/sbin/exim4 -oMr spam-scanned -bS"
use_bsmtp = true
transport_filter = /usr/local/bin/spamc
home_directory = "/tmp"
current_directory = "/tmp"
# must use a privileged user to set
# $received_protocol on the way back in!
user = mailnull
group = mail
log_output = true
return_fail_output = true
return_path_add = false
message_prefix =
message_suffix =
When I try to start it, I get the error option "command " unknown.
Any help?
Thanks.
Sam
-----Original Message-----
From: exim-users-admin@??? [
mailto:exim-users-admin@exim.org] On
Behalf Of Greg Folkert
Sent: Tuesday, December 30, 2003 2:10 AM
To: EximUser List
Subject: Re: [Exim] FW: Integrating SpamAssasin with Exim 4.24-4
--
On Mon, 2003-12-29 at 12:24, Samuel Gitta wrote:
> I need advise on how best to integrate SpamAssasin with exim 4.24-4
> running on FreeBSD 4.9.
>
> I have already installed SpamAssassin 2.61 and starting it with spamd
>
> I had edited my exim configure file with these entries, but was
> unsuccessful.
>
> ........................
> spamcheck_router:
> no_verify
> check_local_user
> # When to scan a message :
> # - it isn't already flagged as spam
> # - it isn't already scanned
> condition = "${if and { {!def:h_X-Spam-Flag:} {!eq
> {$received_protocol}{spam-scadriver = accept
> transport = spamcheck
> # SpamAssassin
> spamcheck:
> driver = pipe
> command = /usr/local/bin/exim -oMr spam-scanned -bS
> use_bsmtp = true
> transport_filter = /usr/local/bin/spamd
> home_directory = "/tmp"
> current_directory = "/tmp" ...................................
The user that SpamAssassin is using has to be priv'd... in order to
re-insert the mail back into the stream.
Here is my transport:
# SpamAssassin
spamcheck:
driver = pipe
command = /usr/sbin/exim4 -oMr spam-scanned -bS
use_bsmtp = true
transport_filter = /usr/bin/spamc
home_directory = "/tmp"
current_directory = "/tmp"
# must use a privileged user to set
# $received_protocol on the way back in!
user = mail
group = mail
log_output = true
return_fail_output = true
return_path_add = false
message_prefix =
message_suffix =
# End of SpamAssassin Transport
Effectively it has to be the user exim is using (or at least one the can
do everything the user exim is doing)
--
greg, greg@???
REMEMBER ED CURRY!
http://www.iwethey.org/ed_curry
--
Content-Description: This is a digitally signed message part
[ signature.asc of type application/pgp-signature deleted ]
--
--
## List details at
http://www.exim.org/mailman/listinfo/exim-users Exim
details at
http://www.exim.org/ ##