I have a very basic Courier installation set up with three virtual accounts: admin@, info@, and jay@ourdomain.com. Admin@ is the default account which receives a ton of spam. Info@ is used for our contact form. jay@ is used as the client's personal account for the website.
I have established a unix account for admin, info, and jay using the following command: useradd -s /sbin/nologin info
. I then assigned a password using the passwd
command. Very basic stuff for you guys I'm sure.
The postfix install is a generic, almost out of the box.
The admin@ and info@ accounts work fine using Thunderbird and Outlook. For some reason though, it complains the password is incorrect for jay@. I have tried deleting jay and re-creating, and assigning a different password (abcdefg), and it still fails. Now I've tried creating a new account named 'thejay' with a new password, updated the /etc/postfix/virtual
file to include the new account, and restarted postfix just to be sure. Invalid password for thejay? What's going on?
I don't even know where to begin looking. Server is running ubuntu 10.0x if that helps.
Requested to look at the mail logs to see what's going on, and there is definitely something wrong. One specific line complains "no such file or directory", but does not specify the directory. I am really just not sure what to do
Log Results (Domain and IP are fake):
mail.log
Feb 12 16:23:50 mydomain imapd: Connection, ip=[::ffff:0.255.0.255]
Feb 12 16:23:52 mydomain imapd: LOGIN FAILED, user=jay, ip=[::ffff:0.255.0.255]
Feb 12 16:23:53 mydomain imapd: LOGOUT, ip=[::ffff:0.255.0.255], rcvd=46, sent=325
mail.info
Feb 13 10:25:37 mydomain imapd: chdir Maildir: No such file or directory
Feb 13 10:25:37 mydomain imapd: jay: No such file or directory
Feb 13 10:25:37 mydomain imapd: LOGIN FAILED, user=jay@mydomain.com, ip=[::ffff:0.255.0.255]
mail.error
Feb 12 15:59:06 mydomain imapd: jay: No such file or directory
Feb 12 16:00:23 mydomain last message repeated 7 times
Feb 12 16:01:29 mydomain last message repeated 5 times
Feb 12 16:02:30 mydomain last message repeated 9 times