Squirrelmail, dovecot IMAP and sendmail - how to make it work?
I hope somebody can help me with this:
My box is HSPcomplete control panel VPS.
I installed Squirrelmail and dovecot (IMAP) and can login to Squirrelmail and send emails OK with my account "username".
But no email I send from somwhere else (e.g. Yahoo Mail etc.) shows in SquirrelMail, though I can see it has been received since it is present in file /var/spool/vmail/mydomain.com/mail/username
Obviously my MX record is OK, and sendmail is delivering it to the proper virtual user mbox (status is OK in /var/log/maillog as well).
The question is how do I "link" dovecot to provide this virtual user mbox (/var/spool/vmail/mydomain.com/mail/username) as an INBOX for "username" when using Squirrelmail ?
I read for more than an hour, but coulldn't find how to do ut anywhere on the web.
I tried by setting
default_mail_env = mbox:/var/spool/vmail/%d/%n
in /etc/dovecot.conf, but ti doesn't work (ERROR: Connection dropped by IMAP server. Query: SELECT "INBOX" )
(and yes, I do restart dovecot every time I change its config).
Anybody with an idea? Thanks in advance!