Re: smarthost exim + spamassassin
On 10/11/06, Fabrizio Lippolis <Fabrizio.Lippolis@aurigainformatica.it> wrote:
Ciao a tutti,
ho intenzione di mettere in piedi un server exim + spamassassin per
filtrare la posta. Piuttosto che consegnare la posta agli utenti pero'
il server dovrebbe semplicemente inoltrare le mail "buone" ad un altro
server e scartare quelle cattive. In un'altra occasione ho gia'
configurato exim come semplice forwarder indicandoli l'indirizzo di uno
smarthost ma non ho mai utilizzato spamassassin. Secondo voi la cosa e'
fattibile? Qualche suggerimento per la configurazione? Grazie in anticipo.
Forse questa configurazione:
begin transports
spamcheck:
debug_print = "T: spamassassin_pipe for $local_part@$domain"
driver = pipe
command = /usr/sbin/exim4 -oMr spam-scanned -bS
use_bsmtp
transport_filter = /usr/bin/spamc
home_directory = "/tmp"
current_directory = "/tmp"
user = Debian-exim
group = Debian-exim
return_fail_output
message_prefix =
message_suffix =
begin routers
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-scanned}}} {1}{0}}"
driver = accept
transport = spamcheck
defaultrouter:
driver = manualroute
transport = remote_smtp
route_list = * il.tuo.smarthost
--
-- Matt Dunford -- zenmatic@gmail.com
Reply to: