[dovecot] still problems getting it to work
hi all, after havong some other trouble with my server i finally managed to recompile and install dovecot. installed it in /usr/local (the dafault). below u see a dump of my config file. i want to use "normal" shadow passwords for authentification. i adjustet the pathes from /usr/ to /usr/local/. when i login with outlook express 4 example i get the error: unsupported authentification method. (my system isn't configured for shadow md5). in the error log i get the the /dev/urandom is needed but not found, well but i have it :) maybe a chroot setting?
thx bini
imap_port = 143 #imaps_port = 993 imap_listen = #imaps_listen = #ssl_cert_file = /etc/ssl/certs/imapd.pem #ssl_key_file = /etc/ssl/private/imapd.pem disable_plaintext_auth = no log_path = /var/log/imapd.log log_timestamp = %d %H:%M:%S login_executable = /usr/local/lib/dovecot/imap-login login_user = imapd login_dir = /var/run/dovecot/login login_chroot = yes login_processes_count = 1 max_logging_users = 256 imap_executable = /usr/local/lib/dovecot/imap max_imap_processes = 1024 first_valid_uid = 1000 #last_valid_uid = 0 first_valid_gid = 101 last_valid_gid = 101 valid_chroot_dirs = /var/run/dovecot maildir_copy_with_hardlinks = no maildir_check_content_changes = no overwrite_incompatible_index = yes umask = 0077 auth = default auth_methods = plain #auth_realms = auth_userinfo = shadow auth_executable = /usr/local/lib/dovecot/imap-auth auth_user = root auth_chroot = /var/run/dovecot auth_count = 1 #auth = digest_md5 #auth_methods = digest-md5 #auth_realms = #auth_userinfo = passwd-file /etc/passwd.imap #auth_user = imapauth #auth_chroot = /var/run/dovecot/auth
On Tue, 2002-10-15 at 22:52, Korbinian Riedhammer wrote:
hi all, after havong some other trouble with my server i finally managed to recompile and install dovecot. installed it in /usr/local (the dafault). below u see a dump of my config file. i want to use "normal" shadow passwords for authentification. i adjustet the pathes from /usr/ to /usr/local/. when i login with outlook express 4 example i get the error: unsupported authentification method. (my system isn't configured for shadow md5). in the error log i get the the /dev/urandom is needed but not found, well but i have it :) maybe a chroot setting?
You're right, it's the auth_chroot which breaks it. I fixed it in CVS now. But your auth process is still running as root, which makes chrooting pretty useless, so just disable it.
On Tue, 2002-10-15 at 22:52, Korbinian Riedhammer wrote:
hi all, after havong some other trouble with my server i finally managed to recompile and install dovecot. installed it in /usr/local (the dafault). below u see a dump of my config file. i want to use "normal" shadow passwords for authentification. i adjustet the pathes from /usr/ to /usr/local/.
Path changing isn't needed btw. Dovecot uses automatically the paths given with --prefix if they're not set in config file.
when i login with outlook express 4 example i get the error: unsupported authentification method. (my system isn't configured for shadow md5). in the error log i get the the /dev/urandom is needed but not found, well but i have it :) maybe a chroot setting?
Also chrooting wouldn't work anyway with shadow authentication since it can't open /etc/shadow. I also just tried to see if opening shadow database before chrooting would work, but it doesn't, probably because it wants to reopen the file if it has changed.
participants (2)
-
Korbinian Riedhammer
-
Timo Sirainen