[Dovecot] hardluck w/ sieve
I've followed the docs here:
http://wiki.dovecot.org/LDA/Sieve/Dovecot
... in particular, the 'Per-user Sieve script location' scenario.
However, I'm unable to get any behavior that indicates that sieve is functioning correctly - well, functioning _at_all_ would be more accurate.
Relevant dovecot.conf:
protocol lda { ... mail_plugins = sieve } auth default { ... passdb passwd-file { args = /var/vmail/passwd } userdb static { args = uid=vmail gid=vmail home=/var/vmail/%d/%u } } plugin { sieve = /var/sieve-scripts/%d/%u.sieve }
ls -l /var/sieve-scripts/domain.com/user.sieve -rw-r--r-- 1 vmail vmail 224 May 22 00:18 /var/sieve-scripts/domain/user.sieve
I of course have an extremely simple rule in the example 'user.sieve' file; but for whatever reasons, no filtering is occurring.
Is there anything obvious in my configuration that's broke? How best to debug?
Thankyou!
On Saturday, May 21, 2011 10:53:55 PM errno wrote:
I've followed the docs here:
http://wiki.dovecot.org/LDA/Sieve/Dovecot
... in particular, the 'Per-user Sieve script location' scenario.
However, I'm unable to get any behavior that indicates that sieve is functioning correctly - well, functioning _at_all_ would be more accurate.
Relevant dovecot.conf:
<snip> > plugin { > sieve = /var/sieve-scripts/%d/%u.sieve > } >
... sheesh, of course the moment I send this it dawns on me what the problem is...
The following fixed the issue:
plugin { sieve = /var/sieve-scripts/%d/%n.sieve }
I was using %u when I should have been using %n.
Sorry for the noise!
participants (1)
-
errno