You are not logged in.
For a while i have no problems running dovecot 2.0.x until 2.1.2 if i am not mistaken i wasn't having no problem at all until today while updating into dovecot 2.1.4, what's the new params or variables do i need to changes in this config ?
# 2.0.15: /etc/dovecot/dovecot.conf
# OS: Linux 3.0.4 i686
first_valid_gid = 5000
first_valid_uid = 5000
mail_debug = yes
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
#mail_location = maildir:/home/vmail/%u/
namespace {
hidden = yes
inbox = yes
location =
prefix = INBOX.
separator = .
type = private
}
passdb {
args = /etc/dovecot/dovecot-sql.conf
driver = sql
}
plugin {
sieve = /home/vmail/sieve/%Ld/%Ln/.dovecot.sieve
sieve_dir = /home/vmail/sieve/%Ld/%Ln
sieve_extensions = +notify +imapflags +spamtest +spamtestplus +relational +comparator-i;ascii-numeric
}
protocols = imap sieve
service auth {
unix_listener auth-master {
mode = 0600
user = vmail
}
}
service imap-login {
inet_listener imap {
port = 0
}
}
service managesieve-login {
inet_listener sieve {
port = 4190
}
inet_listener sieve_deprecated {
port = 2000
}
service_count = 1
vsz_limit = 64 M
}
ssl_cert = </etc/ssl/certs/server.crt
ssl_key = </etc/ssl/private/server.key
userdb {
args = /etc/dovecot/dovecot-sql.conf
driver = sql
}
protocol imap {
imap_client_workarounds = delay-newmail tb-extra-mailbox-sep
}
protocol lda {
auth_socket_path = /var/run/dovecot/auth-master
hostname = domain.com
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
log_path = /var/log/dovecot-local-deliver.log
mail_plugins = quota sieve
postmaster_address = admin@domain.com
sendmail_path = /usr/sbin/sendmail
}
The log
Apr 10 20:42:13 (none) dovecot: master: Dovecot v2.1.4 starting up (core dumps disabled)
Apr 10 20:42:28 (none) dovecot: auth-worker(3414): mysql(localhost): Connected to database postfix
Apr 10 20:42:28 (none) dovecot: imap-login: Login: user=<admin@domain.com>, method=PLAIN, rip=123.123.123.123, lip=123.123.123.123, mpid=3416, TLS
Apr 10 20:42:28 (none) dovecot: imap: Debug: Added userdb setting: mail=admin@domain.com/
Apr 10 20:42:28 (none) dovecot: imap(admin@domain.com): Debug: Effective uid=5000, gid=5000, home=/home/vmail
Apr 10 20:42:28 (none) dovecot: imap(admin@domain.com): Debug: Namespace : type=private, prefix=INBOX., sep=., inbox=yes, hidden=yes, list=yes, subscriptions=yes location=admin@domain.com/
Apr 10 20:42:28 (none) dovecot: imap(admin@domain.com): Debug: mdbox autodetect: stat(admin@domain.com/storage) failed: No such file or directory
Apr 10 20:42:28 (none) dovecot: imap(admin@domain.com): Debug: sdbox autodetect: stat(admin@domain.com/mailboxes) failed: No such file or directory
Apr 10 20:42:28 (none) dovecot: imap(admin@domain.com): Debug: maildir++: root=admin@domain.com, index=, control=, inbox=admin@domain.com, alt=
Apr 10 20:42:28 (none) dovecot: imap(admin@domain.com): Error: user admin@domain.com: Initialization failed: namespace configuration error: no hidden=no namespaces
Apr 10 20:42:28 (none) dovecot: imap(admin@domain.com): Error: Invalid user settings. Refer to server log for more information.
Offline
Last log msg line says it could be the "hidden = yes" setting. Not sure. I suggest to reconfigure from plain scratch on major updates. There's also an upgrade doc in the pkg shipped.
Offline
Just found something similar on the dovecot mailing list in the 2.1.4 release thread. Look over there.
Offline
Why the current package hasn't tagged as broken?, i suppose i need to wait for 2.1.5 to be released, i don't want to messed up my system by compiled by my own.
EDIT:
I've found out the solutions, rearranged the managesieve params into proper protocol sieve tag, and disable hidden.
namespace {
separator = .
prefix = INBOX.
#hidden = yes
inbox = yes
location = maildir:/home/vmail/%u/
type = private
}
Last edited by nanobyte (2012-04-12 10:32:26)
Offline
Thanks for finding this and posting a fix. I have just been bitten by this:)
Offline