stat(/var/spool/vmail/example.com/user/.dovecot.sieve/tmp)failed: Not
a directory
auth_mechanisms = plain login
disable_plaintext_auth = no
first_valid_uid = 2000
last_valid_uid = 2000
mail_gid = 2000
mail_location = maildir:/var/spool/vmail/%d/%n
mail_uid = 2000
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
mbox_write_locks = fcntl
passdb {
args = /etc/dovecot/dovecot-sql.conf.ext
driver = sql
}
service auth {
unix_listener auth-userdb {
group = vmail
mode = 0600
user = vmail
}
}
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_key = </etc/pki/dovecot/private/dovecot.pem
userdb {
args = /etc/dovecot/dovecot-sql.conf.ext
driver = sql
}
According to the Wiki
"It is not wise to place this link inside your mail store, as it may be
mistaken for a mail folder. Inside a maildir for instance, the default
.dovecot.sieve would show up as phantom folder */dovecot/sieve* in your
IMAP tree."
Sorry i am a bit of a noob, the docs don't explain clearly what to do...
On 2013-04-25 9:20 AM, JC Putter <jancarel.putter at gmail.com> wrote:> stat(/var/spool/vmail/example.com/user/.dovecot.sieve/tmp)failed: Not > a directory > > auth_mechanisms = plain loginLooks like an ancient version, since the version info is not included with doveconf -n output?> According to the WikiAlways provide a link too... is this the wiki for version 1 (wiki1.) or 2 (wiki2.)?> "It is not wise to place this link inside your mail store, as it may be > mistaken for a mail folder. Inside a maildir for instance, the default > .dovecot.sieve would show up as phantom folder */dovecot/sieve* in your > IMAP tree." > > Sorry i am a bit of a noob, the docs don't explain clearly what to do...You need to create and set a 'home' directory for each user for this kind of things (even if they are virtual users, they need a 'home' dir)... http://wiki2.dovecot.org/MailLocation Scroll down to where it discusses 'Homeless users'... If you are still on version 1, the first thing you need to do is upgrade to at least the latest 2.1, but I'd recommend just upgrading to the latest 2.2 (currently 2.2.1)... -- Best regards, Charles
On 4/25/2013 3:20 PM, JC Putter wrote:> stat(/var/spool/vmail/example.com/user/.dovecot.sieve/tmp)failed: Not > a directoryCould you send dovecot -n output? The config data you sent looks incomplete. Regards, Stephan.