On Sat, 2009-02-21 at 05:28 -0800, Linux Advocate wrote:
A. Still can't retrieve mail..... the mailliog shows.....
Set mail_debug=yes. It'll show where Dovecot is looking for the mail.
Feb 21 21:16:23 fwgw dovecot: auth-worker(default): sql(fizan@mesara.biz,::ffff:60.50.250.8): SELECT maildir, 89 AS uid, 89 AS gid FROM mailb ox WHERE username = 'fizan@mesara.biz'
The "maildir" doesn't do anything. Dovecot doesn't look for "maildir" field.
Feb 21 21:16:23 fwgw dovecot: auth(default): master out: USER 4 fizan@mesara.biz maildir=fizan@mesara.biz/ uid=89 gid=89
Also the maildir is relative to some other directory apparently? That's not going to work. Perhaps you want something like:
user_query = SELECT concat('/var/vmail/', maildir) AS home, ...
and in dovecot.conf set mail_location = maildir:~
Feb 21 21:16:23 fwgw dovecot: POP3(fizan@mesara.biz): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0 No idea what the above means though..... " Disconnected "
"Logged out" means that the client had successfully logged in and then used QUIT command to log out.