Re: [Exim] spam assassin router - check if spamd is running?

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Will Prater - quattro
Fecha:  
A: j.horne
Cc: exim-users
Asunto: Re: [Exim] spam assassin router - check if spamd is running?
John,

On Friday, November 29, 2002, at 03:38 AM, John Horne wrote:

> On 29-Nov-2002 at 08:54:09 Will Prater - quattro wrote:
>> I have set up my spam assassin router and transports, they are working
>> great, but I am a bit worried if spamd goes down, then Exim starts to
>> queue messages as the spam router cannot connect to spamd. How have
>> you
>> guys delt with this situation?
>>
> The '-f' option of spamc states that if it cannot connect to spamd
> then the
> message is simply passed through unscanned. This is 'on' by default
> (looking
> at the spamc (2.40) man page). In that case why is spamc not passing
> the
> messages straight through?


Here is what I have for my spam transport

----
# Spam Assassin
spamcheck:
driver = pipe
command = /usr/exim/bin/exim -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 = exim
group = exim
log_output = true
return_fail_output = true
return_path_add = false
message_prefix =
message_suffix =
----

Interesting, here is the result from the log. It is saying that I have
an invalid argument, perhaps there is an error in my driver?

----
Nov 24 16:43:46 quattro spamc[20492]: connect() to spamd at 127.0.0.1
failed, retrying (1/3): Connection refused
Nov 24 16:43:47 quattro spamc[20492]: connect() to spamd at 127.0.0.1
failed, retrying (2/3): Invalid argument
Nov 24 16:43:48 quattro spamc[20492]: connect() to spamd at 127.0.0.1
failed, retrying (3/3): Invalid argument
Nov 24 16:43:49 quattro spamc[20492]: connection attempt to spamd
aborted after 3 retries
----


TIA

--will