Reputation: 1177
I've setup a mail server using postfix and dovecot. Things look mostly ok in that: - my server (a VPS) has MX records set correctly and resolving - authentication via dovecot for SMTP and IMAP works ok (Thunderbid can connect to both for sending and receiving email) - mail is sent correctly when using mThunderbird to external addresses (like yahoo)
Tutorial follows initially: https://www.digitalocean.com/community/articles/how-to-set-up-a-postfix-e-mail-server-with-dovecot
Problem is that incoming mail never shows in the IMAP folders managed by dovecot. Mail logs say that incoming mail was delivered but when I use netcat to login and browser IMAP folders, they are always empty.
I noticed a few online sites saying that postfix might be unable to relay the mail to dovecot. I am not sure how the communication between them should take place and especially how it should be configured.
Can somebody please help?
Thanks!
Upvotes: 0
Views: 4172
Reputation: 10903
Have you tried to check IMAP INBOX folder accessing it via IMAP protocol?
As I understand new messages are delivered to default mailbox file [/var/mail/UserName] and dovecot treats it at INBOX IMAP folder.
Relevant dovecot configuration part:
mail_location = mbox:~/mail:INBOX=/var/mail/%u
Upvotes: 1