Hello,
I've install 1.021 and am having some problems getting vpopmail
authentication to work correctly (running 0.99 in production, upgrading
to 1.021). I'm using vpopmail-5.4.16. Here are the authentication
debug statements in the log, my dovecot.conf changes from default, and
the schema of my vpopmail database. Any ideas / suggestions? I've
commented out all authentication except for vpopmail. I took a look
around the source but am not that familiar with the vpopmail api.
Thanks
dovecot: Feb 05 22:23:31 Info: auth(default): client in: AUTH 1
PLAIN service=IMAP lip=10.0.0.2 rip=10.0.0.1 resp=<hidden>
dovecot: Feb 05 22:23:31 Info: auth(default):
vpopmail(fred at redhotpenguin.com,10.0.0.1): crypted password=rightpasswd
dovecot: Feb 05 22:23:31 Info: auth(default): client out: OK 1
user=fred at redhotpenguin.com
dovecot: Feb 05 22:23:31 Info: auth(default): master in: REQUEST
1 13457 1
dovecot: Feb 05 22:23:31 Info: auth(default):
vpopmail(fred at redhotpenguin.com,10.0.0.1):
vget_assign(redhotpenguin.com) failed
dovecot: Feb 05 22:23:31 Info: auth(default): master out: FAIL 1
dovecot: Feb 05 22:23:31 Info: imap-login: Internal login failure:
user=<fred at redhotpenguin.com>, method=PLAIN, rip=10.0.0.1, lip=10.0.0.2
852 # vpopmail authentication
853 # http://wiki.dovecot.org/AuthDatabase/VPopMail
854 passdb vpopmail {
855 # args = cache_key=%u dovecot
856 # [cache_key=<key>] - See cache_key in PAM for explanation.
857 # args = cache_key=%u
858 }
907 # vpopmail
908 # http://wiki.dovecot.org/AuthDatabase/VPopMail
909 userdb vpopmail {
910 }
+-----------+-----------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-----------+-----------+------+-----+---------+-------+
| pw_name | char(32) | | PRI | | |
| pw_domain | char(64) | | PRI | | |
| pw_passwd | char(40) | YES | | NULL | |
| pw_uid | int(11) | YES | | NULL | |
| pw_gid | int(11) | YES | | NULL | |
| pw_gecos | char(48) | YES | | NULL | |
| pw_dir | char(160) | YES | | NULL | |
| pw_shell | char(20) | YES | | NULL | |
+-----------+-----------+------+-----+---------+-------+