Hello, i got an error in maillog, dovecot trying tu update my sieve directory : 2012-11-23T11:01:33.943047+00:00 localhost dovecot: imap(mathieu at 400iso.net): Error: stat(/srv/vmail/400iso.net/mathieu at 400iso.net/.dovecot.sieve/tmp) failed: Not a directory this cause no problem but i probably misconfigured something... here is my dovecot.conf : protocols = imap pop3 sieve mail_home = /srv/vmail/%d/%u mail_location = maildir:~ mail_plugins = $mail_plugins quota ssl_cert = </etc/ssl/private/server.crt ssl_key = </etc/ssl/private/server.key service auth { unix_listener auth-client { group = postfix mode = 0660 user = postfix } user = root } passdb { args = /etc/dovecot/dovecot-sql.conf driver = sql } userdb { args = /etc/dovecot/dovecot-sql.conf driver = sql } protocol lda { mail_plugins = $mail_plugins sieve postmaster_address = postmaster at 400iso.net hostname = 400iso.net } managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave plugin { sieve = ~/.dovecot.sieve sieve_dir = ~/sieve # sieve_global_dir = /srv/vmail/sieve/ quota = fs:vm quota quota_rule = *:storage=5G } protocol imap { mail_plugins = $mail_plugins imap_quota } -- Mathieu Rousseau http://400iso.net/
Thomas Leuxner
2012-Nov-23 11:42 UTC
[Dovecot] dovecot trying to update my sieve directory
Am 23.11.2012 um 12:13 schrieb "Mathieu R." <mathieu at 400iso.net>:> 2012-11-23T11:01:33.943047+00:00 localhost dovecot: imap(mathieu at 400iso.net): Error: stat(/srv/vmail/400iso.net/mathieu at 400iso.net/.dovecot.sieve/tmp) failed: Not a directory >> mail_home = /srv/vmail/%d/%u > mail_location = maildir:~This is caused by "blending" the maildir structure with non-maildir files rather than using separate roots, e.g. mail_location = maildir:~/Maildir http://wiki2.dovecot.org/VirtualUsers/Home http://wiki2.dovecot.org/MailLocation/Maildir Regards Thomas -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4364 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20121123/ecb0fd93/attachment-0004.bin>
Le 23/11/2012 12:42, Thomas Leuxner a ?crit?:> Am 23.11.2012 um 12:13 schrieb "Mathieu R." <mathieu at 400iso.net>: > >> 2012-11-23T11:01:33.943047+00:00 localhost dovecot: >> imap(mathieu at 400iso.net): Error: >> stat(/srv/vmail/400iso.net/mathieu at 400iso.net/.dovecot.sieve/tmp) >> failed: Not a directory >> > >> mail_home = /srv/vmail/%d/%u >> mail_location = maildir:~ > > > This is caused by "blending" the maildir structure with non-maildir > files rather than using separate roots, e.g. mail_location > maildir:~/MaildirThank you. can i safely : - close dovecot - move files to ~Maildir - change the config in docecot.conf - and then restart dovecot ? -- Mathieu Rousseau http://400iso.net/