[Exim] Spam -trapping |
Este mensaje es parte del siguiente hilo: | |
---|---|
El árbol completo de hilos, ordenados por fecha | |
I have a working spam assassin solution based on the one Nigel posted recently:
Director:
# Spam Assassin # More of Nigel's fun-do stuff !! # See http://www.exim.org/mailman/htdig/exim-users/Week-of-Mon-20020311/036302.html # When to scan a message : # - it isn't already flagged as spam # - it isn't already scanned # - it didn't originate locally (as long as I don't harbor spammers :-))
spamcheck_director: condition = "${if and { {!def:h_X-Spam-Flag:} {!eq {$received_protocol}{spam-scanned}}} {1}{0}}" driver = smartuser transport = spamcheck
Transport:
### Lets use Nigel Metheringham's stuff ( He is more reliable I figures ) # Spam Assassin spamcheck module
spamcheck: driver = pipe command = /usr/local/exim/bin/exim -oMr spam-scanned -bS transport_filter = /usr/bin/spamc -s 500000 home_directory = "/etc/spamassassin" current_directory = "/etc/spamassassin" # 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 prefix = suffix = bsmtp = all return_path_add = false
I have a Maildir with the following box in there, .spam, with the usual sub directories, so that courier imap will pick it up so I wrote the following:
But it seems to skip over the director when put before the spamcheck_director, am I missing something ? Am I doing something wrong ?
Cheers,
Aly.
Este mensaje se envió a las siguientes listas de correo: | ||||
---|---|---|---|---|
Exim-users Información de la lista de correo | Mensajes cercanos | Re: [Exim] Filter needed for non-alphanumeric characters in theheader line... | Re: [Exim] rbl |
Tahini and Hummus and Cumin Development Archives administrado por cumin Admins | Lurker (versión 2.3) |