Re: [Exim] Protect again spam

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Dennis Skinner
Fecha:  
A: Brian K. West
Cc: Oliver Egginger, Bjoern.Arne.Ramann, exim-users
Asunto: Re: [Exim] Protect again spam
On Wed, 2003-05-21 at 09:09, Brian K. West wrote:
> Again this method is so inefficent.. just use exiscan-acl's or just exiscan
> since it can speak to spamd without having to pipe anything to thru routers.
> Also you have the ability to just tag the email and let it pass or reject at
> SMTP time. With a little bit of work you can have per-user and per-domain
> with exiscan.
>
> bkw


Except you can use this line in the transport:

    transport_filter = /usr/bin/spamc -u $local_part@$domain


Much trickier with acl if you have multiple recipients...

> >
> > # 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 = mail
> >     group = mail
> >     log_output = true
> >     return_fail_output = true
> >     return_path_add = false
> >     message_prefix =
> >     message_suffix =

> >


--
Dennis Skinner
Systems Administrator
BlueFrog Internet
http://www.bluefrog.com