2011/9/28 Niccolò Belli <[email protected]>: > Il 28/09/2011 15:02, Noel Jones ha scritto: >> >> BTW, you should probably be using >> reject_unknown_reverse_client_hostname if not already. > > Yes, I added it instead of reject_unknown_client_hostname. > Unfortunately if an user uses a custom sieve script the global one in > sieve_global_path = /var/vmail/globalsieverc (/etc/dovecot/dovecot.conf) > doesn't work. > Is there another way to always move the e-mails marked with > "X-Unknown-Client: Junk" to the junk folder?
Global sieve may not always work as a user may have sieve scripts them selves (which take the place of the globals if present). You should look at sieve_before and sieve_after in the Dovecot documentation: http://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration -- duihi77
