Hello.
I asked for help on #dovecot but one suggestion I got was setting sieve variable explicitly but unfortunatelly that didn't help.
I'm trying to set up sieve to be able to use vacation module. So in the lda section I put:
mail_plugins = sieve
And in plugins section:
sieve = ~/.dovecot.sieve
Then I put .dovecot.sieve file in the user's directory.
This is what I get in Dovecot's log when trying to deliver to that mailbox:
2009-10-16 18:37:52 deliver(test@domain.pl): Error: sieve: stat((null)) failed: Bad address (using global script path in stead) 2009-10-16 18:37:52 deliver(test@domain.pl): Info: msgid=20091016163757.GK19565@asdy.pl: saved mail to INBOX
Some infos about system: Dovecot 1.2.5 Debian squeeze/testing x86_64 ext3
(root)~#dovecot -n # 1.2.5: /etc/dovecot/dovecot.conf # OS: Linux 2.6.30-1-amd64 x86_64 Debian squeeze/sid ext3 log_path: /var/log/dovecot.log log_timestamp: %Y-%m-%d %H:%M:%S protocols: imap imaps pop3 pop3s login_dir: /var/run/dovecot/login login_executable(default): /usr/lib/dovecot/imap-login login_executable(imap): /usr/lib/dovecot/imap-login login_executable(pop3): /usr/lib/dovecot/pop3-login mail_privileged_group: mail mail_location: maildir:/home/vmail/%u mbox_write_locks: fcntl dotlock mail_executable(default): /usr/lib/dovecot/imap mail_executable(imap): /usr/lib/dovecot/imap mail_executable(pop3): /usr/lib/dovecot/pop3 mail_plugin_dir(default): /usr/lib/dovecot/modules/imap mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3 lda: postmaster_address: postmaster@domain.pl mail_plugins: sieve log_path: /var/log/dovecot-deliver.log auth_socket_path: /var/run/dovecot/auth-master auth default: passdb: driver: sql args: /etc/dovecot/dovecot-sql.conf userdb: driver: sql args: /etc/dovecot/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 plugin: sieve: ~/.dovecot.sieve (root)~#
And dovecot-sql.conf:
driver = pgsql connect = host=localhost dbname=postfix user=postfix password = xxxxxxxx
password_query =
SELECT local_part, password
FROM mailbox WHERE local_part = '%n' AND active = 't'
user_query =
SELECT maildir, 5000 AS uid, 5000 gid
FROM mailbox WHERE local_part = '%n' AND active = 't'
Delivering works perfectly but I can't figure out why it's not able to find that .dovecot.sieve file:
(root@germany)~#ls -al /home/vmail/test@domain.pl/.dovecot.sieve -rw-r--r-- 1 vmail vmail 314 2009-10-16 13:09 /home/vmail/test@domain.pl/.dovecot.sieve (root@germany)~#
Any help would be very appreciated.
regards fEnIo
,''. Bartosz Fenski | mailto:fenio@debian.org | pgp:0x13fefc40 | irc:fEnIo : :' : 32-050 Skawina - Glowackiego 3/15 - malopolskie v. - Poland
. ' phone:+48602383548 | proud Debian maintainer and user
- http://fenski.pl | xmpp:fenio@jabber.org | rlu:172001