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

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Ben Strawson
Data:  
Para: Clive Goodhead, exim-users
Asunto: RE: [Exim] spam assassin router - check if spamd is running?
Same idea here, although different mechanism. We also took the view that
it's more important to deliver the mail, than mark it as spam checked.
Although with the increase in spam that view may well change - when the spam
system does stop working it is noticed and I do get complaints!

The way we do it though is to run the spam checking as a transport_filter
option in the transport (we only spam check local deliveries), thus (exim
3):

localuser_transport:
    <other options>
    transport_filter = /usr/bin/spamc


Works very well - if spamd dies then mail goes through, but without the spam
marking headers (it's up to local users what they do with the spam
information). A transport_filter may not be appropriate for your setup
though.

Ben.

> -----Original Message-----
> From: exim-users-admin@??? [mailto:exim-users-admin@exim.org]On
> Behalf Of Clive Goodhead
> Sent: 29 November 2002 09:48
> To: exim-users@???
> Subject: Re: [Exim] spam assassin router - check if spamd is running?
>
>
> > List,
> >
> > 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?
> >
>
> We took the view that mail delivery was more important than ensuring
> that mail was always scanned. Therefore, we wrote a local_scan()
> function
> (that we have called "Exifilter"). This function uses clamd (the
> daemon
> from the Open Source Clam Anti-virus package) to reject mail with
> viruses
> and spamd (the SpamAssassin daemon) to add a header containing a
> spam
> score. This deals with the timeout issue by just accepting mail if
> for
> some reason it cannot be scanned by one or other of the daemons. You
> are welcome to take a look at it but IT IS ALPHA SOFTWARE and still
> very much under development:
>
> http://www.cornwallinternet.com/software/
>
> Clive Goodhead
>
> PS I know that clamd is not really ready for production use but it
> seems
> reasonably stable for us.
>
>
> --
>
> ## List details at

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