On 10/11/06, Fabrizio Lippolis <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]"
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 -- [EMAIL PROTECTED]
--
Per REVOCARE l'iscrizione alla lista, inviare un email a
[EMAIL PROTECTED] con oggetto "unsubscribe". Per
problemi inviare un email in INGLESE a [EMAIL PROTECTED]
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]