Re: [Dovecot] Dovecot rejecting Vpopmail User 89
Enable auth_verbose and check the logs.
But I'm pretty sure that means Dovecot can't change to the Maildir
folder. I assume the user's folder is owned by vpopmail:vchkpw? Is
the Maildir NFS mounted or local?
Rick
Quoting hobie@rumormillnews.com:
Thanks, Rick. :) Changed first/last uid/gid so all show 89 and restarted Dovecot, no change. Telnetting from remote or from localhost, Dovecot closes the connection immediately after password is sent. (?)
--hobie
Quoting hobie@rumormillnews.com:
I'm working to get Dovecot 2.0.13 working along with qmail, Vpopmail and Squirrelmail on a Debian 6.0.2 system, Dovecot compiled, not from a package.
Vpopmail has a widely known assigned user/group ID of 89 and is the owner of all the mail folders.
Regardless of value of first_valid_uid (1, 89, other), Dovecot denies Squirrelmail connection, saying it can't allow access to UID 89. "Couldn't drop privileges", it says. I'd be grateful for fixes, suggestions, or a pointer to an existing answer to this problem. Thanks ahead. :)
Here's mine - I set first and last uid AND gid. Can you telnet to port 110 and test?
USER username PASS password LIST
# 2.0.13: /usr/local/etc/dovecot/dovecot.conf # OS: FreeBSD 8.2-RELEASE amd64 auth_mechanisms = plain login digest-md5 cram-md5 auth_username_translation = %@ auth_verbose = yes base_dir = /var/run/dovecot/ default_login_user = vpopmail disable_plaintext_auth = no first_valid_gid = 89 first_valid_uid = 89 last_valid_gid = 89 last_valid_uid = 89 # run under tcpserver log_path = /dev/stderr login_greeting = Ready. mail_fsync = never mail_plugins = " quota zlib" mail_privileged_group = mail namespace { inbox = yes location = prefix = separator = . } namespace { hidden = yes inbox = no list = no location = prefix = INBOX. separator = . } passdb { driver = vpopmail } plugin { quota = maildir } protocols = imap pop3 service anvil { client_limit = 2000 } service auth { unix_listener auth-master { mode = 0600 } } service imap-login { client_limit = 384 process_limit = 512 process_min_avail = 25 service_count = 0 } service imap-postlogin { executable = script-login rawlog /usr/local/etc/dovecot/lastauth-imap.sh user = vpopmail } service imap { executable = /usr/local/libexec/dovecot/imap } service pop-postlogin { executable = script-login /usr/local/etc/dovecot/lastauth-pop.sh user = vpopmail } service pop3-login { client_limit = 384 process_limit = 512 process_min_avail = 25 service_count = 0 } service pop3 { executable = /usr/local/libexec/dovecot/pop3 } shutdown_clients = no ssl_cert =
participants (1)
-
Rick Romero