I followed the instructions at https://help.ubuntu.com/community/PostfixCompleteVirtualMailSystemHowto to setup a smtp and imap server on my local network.
But when i try to login with thunderbird (after creating mailbox with postfixadmin) I get a "Password or user name wrong error.
this is the tail of /var/log/mail.err
Jan 26 04:18:15 NightHwack imapd: Connection, ip=[::ffff:192.168.1.4]
Jan 26 04:18:15 NightHwack authdaemond: received auth request, service=imap, authtype=login
Jan 26 04:18:15 NightHwack authdaemond: authmysql: trying this module
Jan 26 04:18:15 NightHwack authdaemond: authmysqllib: connected. Versions: header 50517, client 50529, server 50529
Jan 26 04:18:15 NightHwack authdaemond: SQL query: SELECT username, password, "", '5000', '5000', '/var/mail', "", "", name, "" FROM mailbox WHERE username = 'webmaster@xincoz.com'
Jan 26 04:18:15 NightHwack authdaemond: password matches successfully
Jan 26 04:18:15 NightHwack authdaemond: authmysql: sysusername=<null>, sysuserid=5000, sysgroupid=5000, homedir=/var/mail, address=webmaster@xincoz.com, fullname=Webmaster, maildir=<null>, quota=<null>, options=<null>
Jan 26 04:18:15 NightHwack authdaemond: authmysql: clearpasswd=<null>, passwd=$1$e7d3bbc2$zWm3PmkfdCHAbz.kyRPld/
Jan 26 04:18:15 NightHwack authdaemond: Authenticated: sysusername=<null>, sysuserid=5000, sysgroupid=5000, homedir=/var/mail, address=webmaster@xincoz.com, fullname=Webmaster, maildir=<null>, quota=<null>, options=<null>
Jan 26 04:18:15 NightHwack authdaemond: Authenticated: clearpasswd=webmaster007, passwd=$1$e7d3bbc2$zWm3PmkfdCHAbz.kyRPld/
Jan 26 04:18:15 NightHwack imapd: chdir Maildir: No such file or directory
Jan 26 04:18:15 NightHwack imapd: webmaster@xincoz.com: No such file or directory
Folders in /var/mail/
webmaster
root
agent
please help me resolve this. Thank you :)