Postfix/dovecot newbie: Can access mail on server via ssh, but not through mail client

dovecotemailpostfix

I've just tried setting up a postfix/dovecot server for the first time, with accounts managed through a mysql table. (via tutorial at http://library.linode.com/email/postfix/dovecot-mysql-ubuntu-10.04-lucid)

If I log into the actual box, the mail server works. If I send mail to a user (from either the local or remote domain) then login to the box via SSH & type 'mail', the logged-in user's mail shows up.

However, when I try to access the mail via thunderbird, it says 'no messages'. It says the server details are fine, it accepts the password – but, well, no mail. Have tried in both IMAP & POP3.

Any ideas how to go about diagnosing this? I'm completely at a loss.

Cheers…

Best Answer

Did you configure mail to access your mail using POP3/IMAP? If not, it will directly access your mbox.

Have a look at your maildir dovecot is using: mail_location = maildir:/home/vmail/%d/%n/Maildir and also the directory ~/mbox (default mbox directory).

Try to monitor /var/log/mail.log, without further information from there we won't be able to fix that problem.