Dmitry Samersoff
2009-Feb-02 11:43 UTC
[Dovecot] Errors after install with non-standard prefix
Hi Everyone, I'm new in dovecot - so first at all, thank you for amazing work. I'd flicked through dovecot code and it's very accurate. I'm trying to use dovecot with a little bit non-standard configuration: dovecot installed under /my_path/dovecot, all users has the same home directory /my_path/var/mail and have to access all mailboxes/folders located there. But I have troubles with it: Right after start dovecot start spamming log with Error: dict: dict client: Broken handshake besides of GB's of lines above I have: Error: imap-login: Timeout waiting for handshake from auth server. my pid=18493, input bytes=0 And of course nothing works. Thank you! -Dmitry ==================== #/zhome/dovecot/sbin/dovecot -n # 1.1.10: /zhome/dovecot/etc/dovecot.conf # OS: SunOS 5.10 sun4v zfs base_dir: /zhome/var/run/dovecot log_path: /zhome/var/log/dovecot_main.log info_log_path: /zhome/var/log/dovecot_info.log protocols: imap ssl_disable: yes disable_plaintext_auth: no login_dir: /zhome/var/run/dovecot login_executable: /zhome/dovecot/libexec/dovecot/imap-login login_user: exim login_chroot: no login_max_processes_count: 30 max_mail_processes: 30 first_valid_uid: 1 mail_uid: exim mail_gid: exim mail_location: mbox:/zhome/var/mail:INBOX=/zhome/var/mail/.dead_letters mail_debug: yes mbox_lazy_writes: no auth default: failure_delay: 1 verbose: yes debug: yes worker_max_request_count: 1 passdb: driver: pam args: dovecot -- Dmitry Samersoff dms at samersoff.net, http://devnull.samersoff.net * There will come soft rains ...
Timo Sirainen
2009-Feb-02 17:25 UTC
[Dovecot] Errors after install with non-standard prefix
On Mon, 2009-02-02 at 14:43 +0300, Dmitry Samersoff wrote:> Error: dict: dict client: Broken handshake..> base_dir: /zhome/var/run/dovecot..> login_dir: /zhome/var/run/dovecotThese can't be the same! Just don't specify login_dir at all, it'll use the default which is under base_dir.> login_user: exim > login_chroot: no..> mail_uid: exim > mail_gid: eximThese look suspicious. Are you going to run entire Dovecot under exim user? If not, login_user can't be the same as mail_uid. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20090202/29a299c3/attachment-0002.bin>
Dmitry Samersoff
2009-Feb-02 22:08 UTC
[Dovecot] Errors after install with non-standard prefix
Timo, Thanks a lot it helps. 1. What is dependency between login directory and dict client? Are you trying to open unix domain sockets or pipes under login dir? If yes - is it possible to force dovecot to open it all under /tmp ? 2. Generally I would like to run entire dovecot under exim user but dovecot claims Logins with login_user's UID 69 not permitted despite the fact I set first_valid_uid = 1 changing login user to nobody helps. -Dmitry. Timo Sirainen wrote:> On Mon, 2009-02-02 at 14:43 +0300, Dmitry Samersoff wrote: >> Error: dict: dict client: Broken handshake > .. >> base_dir: /zhome/var/run/dovecot > .. >> login_dir: /zhome/var/run/dovecot > > These can't be the same! Just don't specify login_dir at all, it'll use > the default which is under base_dir. > >> login_user: exim >> login_chroot: no > .. >> mail_uid: exim >> mail_gid: exim > > These look suspicious. Are you going to run entire Dovecot under exim > user? If not, login_user can't be the same as mail_uid. >-- Dmitry Samersoff dms at samersoff.net, http://devnull.samersoff.net * There will come soft rains ...