[Dovecot] Problem with managesieve (and virtual users?)
Hello,
I use the debian packages from http://xi.rename-it.nl/debian/ version 1.1.7-0~auto+17
If I put a sieve script into /home/vmail/sieve-scripts/test.de/test.sieve it is used, so cmusieve works.
But if I activate managesieve I get in the log:
dovecot: 2008-12-14 21:24:49 Fatal: managesieve-login: USER environment missing dovecot: 2008-12-14 21:24:49 Error: managesieve-login: BYE "Internal error occured. Refer to server log for more information. [2008-12-14 20:24:49]" dovecot: 2008-12-14 21:24:49 Error: child 10928 (login) returned error 89 (Fatal failure) dovecot: 2008-12-14 21:24:49 Error: Temporary failure in creating login processes, slowing down for now
I searched the wiki and the Mailinglist and found only one message which sounds similar:
Message-ID: 3DFE82FF.4090007@attbi.com Date: Mon, 16 Dec 2002 17:50:55 -0800 Subject: [dovecot] passwd-file access
Is my config wrong?
cu, Mike
/etc/imap.passwd: test@test.de:{plain}test:vmail:vmail::/home/vmail/%d/%n/Maildir::userdb_mail=maildir:/home/vmail/%d/%n/Maildir
# 1.1.7: /etc/dovecot/dovecot.conf # OS: Linux 2.6.26-1-686 i686 Debian lenny/sid log_path: /var/log/dovecot/dovecot.log info_log_path: /var/log/dovecot/dovecot-info.log log_timestamp: %Y-%m-%d %H:%M:%S protocols: imap imaps pop3s managesieve listen(default): 127.0.0.1:143 listen(imap): 127.0.0.1:143 listen(pop3): 21x.xx.xx.xx:110 listen(managesieve): localhost:2000 ssl_listen(default): 21x.xx.xx.xx:993 ssl_listen(imap): 21x.xx.xx.x:993 ssl_listen(pop3): 21x.xx.xx.xx:995 ssl_listen(managesieve): ssl_ca_file: /etc/postfix/ssl/ssl.xxxxxxxxx.de.ca-bundle ssl_cert_file: /etc/postfix/ssl/ssl.xxxxxxxxxx.de.cert ssl_key_file: /etc/postfix/ssl/ssl.xxxxxxxxxx.de.key ssl_verify_client_cert: yes 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 login_executable(managesieve): /usr/lib/dovecot/managesieve login_processes_count: 2 login_max_processes_count: 32 mail_privileged_group: mail mail_location(default): maildir:~/Maildir mail_location(imap): maildir:~/Maildir mail_location(pop3): maildir:~/Maildir mail_location(managesieve): /home/vmail/%d/%n/Maildir mail_debug(default): no mail_debug(imap): no mail_debug(pop3): no mail_debug(managesieve): yes mail_executable(default): /usr/lib/dovecot/imap mail_executable(imap): /usr/lib/dovecot/imap mail_executable(pop3): /usr/lib/dovecot/pop3 mail_executable(managesieve): /usr/lib/dovecot/managesieve mail_plugins(default): quota imap_quota expire trash autocreate mail_plugins(imap): quota imap_quota expire trash autocreate mail_plugins(pop3): quota expire trash mail_plugins(managesieve): 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 mail_plugin_dir(managesieve): /usr/lib/dovecot/modules/managesieve sieve_storage(default): sieve_storage(imap): sieve_storage(pop3): sieve_storage(managesieve): /home/vmail/sieve-scripts/%d/%n sieve(default): sieve(imap): sieve(pop3): sieve(managesieve): /home/vmail/%d/%n/.dovecot.sieve namespace: type: private inbox: yes list: yes subscriptions: yes auth default: username_format: %Lu verbose: yes process_size: 64 passdb: driver: passwd-file args: /etc/imap.passwd userdb: driver: passwd-file args: /etc/imap.passwd 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 plugin: quota: maildir:User quota quota_rule: *:storage=250M quota_rule2: Trash:storage=50M quota_rule3: Spam:storage=50M trash: /etc/dovecot/dovecot-trash.conf expire: Trash 1 Trash/* 7 Spam 30 foobar 1 expire_dict: proxy::expire autocreate: Trash autocreate2: Junk autocreate3: Sent autocreate4: Drafts autosubscribe: Trash autosubscribe2: Junk autosubscribe3: Sent autosubscribe4: Drafts sieve: /home/vmail/sieve-scripts/%d/%n.sieve dict: expire: sqlite:/etc/dovecot/dovecot-expire-sql.conf
On Mon, 2008-12-15 at 12:27 +0100, Mike Constabel wrote:
dovecot: 2008-12-14 21:24:49 Fatal: managesieve-login: USER environment missing dovecot: 2008-12-14 21:24:49 Error: managesieve-login: BYE "Internal error occured. Refer to server log for more information. [2008-12-14 20:24:49]" dovecot: 2008-12-14 21:24:49 Error: child 10928 (login) returned error 89 (Fatal failure) .. login_executable(managesieve): /usr/lib/dovecot/managesieve mail_executable(managesieve): /usr/lib/dovecot/managesieve
managesieve is mail_executable. managesieve-login (I think) is login_executable.
On Mon, 2008-12-15 at 12:27 +0100, Mike Constabel wrote:
dovecot: 2008-12-14 21:24:49 Fatal: managesieve-login: USER environment missing dovecot: 2008-12-14 21:24:49 Error: managesieve-login: BYE "Internal error occured. Refer to server log for more information. [2008-12-14 20:24:49]" dovecot: 2008-12-14 21:24:49 Error: child 10928 (login) returned error 89 (Fatal failure) .. login_executable(managesieve): /usr/lib/dovecot/managesieve mail_executable(managesieve): /usr/lib/dovecot/managesieve
managesieve is mail_executable. managesieve-login (I think) is login_executable. Yes, that is correct Timo. Mike, did you change this explicitly or is
Timo Sirainen wrote: this somehow your default configuration?
Regards,
Stephan.
Hello Timo, Stephan,
Stephan Bosch schrieb am Montag, den 15. Dezember 2008:
On Mon, 2008-12-15 at 12:27 +0100, Mike Constabel wrote:
dovecot: 2008-12-14 21:24:49 Fatal: managesieve-login: USER environment missing dovecot: 2008-12-14 21:24:49 Error: managesieve-login: BYE "Internal error occured. Refer to server log for more information. [2008-12-14 20:24:49]" dovecot: 2008-12-14 21:24:49 Error: child 10928 (login) returned error 89 (Fatal failure) .. login_executable(managesieve): /usr/lib/dovecot/managesieve mail_executable(managesieve): /usr/lib/dovecot/managesieve
managesieve is mail_executable. managesieve-login (I think) is login_executable. Yes, that is correct Timo. Mike, did you change this explicitly or is
Timo Sirainen wrote: this somehow your default configuration?
Arghh, copy&paste error. My config was
# Login executable location. #login_executable = /usr/libexec/dovecot/managesieve-login
login_executable = /usr/lib/dovecot/managesieve-login
# MANAGESIEVE executable location. See IMAP's mail_executable above for # examples how this could be changed. #mail_executable = /usr/libexec/dovecot/managesieve
login_executable = /usr/lib/dovecot/managesieve
Sure, this cannot work... Changed the second login_executable to mail_executable and it works.
One whole day I tried to find the failure, and then this... ;-)
Thank you.
Regards, Mike
participants (3)
-
Mike Constabel
-
Stephan Bosch
-
Timo Sirainen