[Dovecot] .dovecot.sieve not being read
Mail seems to be delivered to INBOX without reading what is in .dovecot.sieve
# cat /home/vmail/user@example.com/.dovecot.sieve if exists "From" { discard; stop; }
# ls -alh /home/vmail/user@example.com/.dovecot.sieve -rw-r--r-- 1 vmail vmail 41B Oct 29 01:26 .dovecot.sieve
# tail /var/log/dovecot-deliver.log deliver(user@example.com): Oct 29 01:33:14 Info: msgid=< 47253857.20500@example.com>: saved mail to INBOX
# tail /var/log/maillog Oct 29 01:33:14 freebsdserver1 dovecot: auth-worker(default): sql( user@example.com): SELECT maildir AS home, uid AS uid, gid AS gid FROM virtual_mailboxes WHERE user = 'user@example.com' AND enabled = TRUE LIMIT 1 Oct 29 01:33:14 freebsdserver1 dovecot: auth(default): master out: USER 1 user@example.com home=user@example.com/uid=1002 gid=1002 Oct 29 01:33:14 freebsdserver1 postfix/pipe[25035]: 8CB9F1CC2A: to=< user@example.com>, relay=dovecot, delay=0.08, delays=0.04/0.02/0/0.03, dsn= 2.0.0, status=sent (delivered via dovecot service)
# dovecot --version 1.0.5
# dovecot -n # 1.0.5: /usr/local/etc/dovecot.conf login_dir: /var/run/dovecot/login login_executable: /usr/local/libexec/dovecot/imap-login verbose_proctitle: yes first_valid_gid: 0 mail_extra_groups: vmail mail_location: maildir:/home/vmail/%h imap_client_workarounds: delay-newmail outlook-idle netscape-eoh tb-extra-mailbox-sep auth default: mechanisms: plain login verbose: yes debug: yes passdb: driver: pam passdb: driver: sql args: /usr/local/etc/dovecot-sql.conf userdb: driver: passwd userdb: driver: sql args: /usr/local/etc/dovecot-sql.conf socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix master: path: /var/run/dovecot/auth-master mode: 384 user: vmail group: vmail
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Mon, 29 Oct 2007, ding dong wrote:
Mail seems to be delivered to INBOX without reading what is in .dovecot.sieve
There is no configuration for Sieve in your config.
http://wiki.dovecot.org/LDA/Sieve
Bye,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBRyXNkC9SORjhbDpvAQLZCgf+NI/0kIBCiCu0ZyU8Cq1VKbCDQc/KRVg0 504zVQryGUp6OU5W3vDzmFqmFxr1KPxDe783MtR+05gvR2+fE7wYxhSOkzqoooFb gLHdPI7zT11KGvbLTqa+S5AXM+WLicJWCc/KL/iyMJiUU869bC41NsN1Gm7+PqUK Ym+nT7BDw0ajdeiYcClV2eDye+o2RGRSjBZaTZ7f9vHU77sewzdb6UYdK/q36CdW Mve+MkBnzEgkZLOSsMwCJk+U5O6FDzmVFFnw597wuNywz/smNH9IQ/86mK62vdD2 22GsYeGB9/76QNi7IyNIdvQkEa66Mi6STZJzTJeRe6bH7Wq2FMS+Gg== =IfGe -----END PGP SIGNATURE-----
On 10/29/07, Steffen Kaiser skdovecot@smail.inf.fh-bonn-rhein-sieg.de wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Mon, 29 Oct 2007, ding dong wrote:
Mail seems to be delivered to INBOX without reading what is in .dovecot.sieve
There is no configuration for Sieve in your config.
I reinstalled and followed instructions without any luck.
However I managed to get it work by: plugin { sieve = /home/vmail/%h/sieve }
Also, my dovecot -n does not dump the protocol lda { }section
On 10/29/07, ding dong dingdong44@googlemail.com wrote:
Mail seems to be delivered to INBOX without reading what is in .dovecot.sieve
I found the reason that caused this: SQL/passwd-file should return 'userdb_sieve' not just 'sieve'
participants (2)
-
ding dong
-
Steffen Kaiser