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 I do not see the email sent to "username" to show up in SquirrelMail, though I can see it in file /var/spool/vmail/mydomain.com/mail/username
Obviously sendmail has no problem delivering it there (status is OK in /var/log/maillog as well).
The question is how do I "link" Squirrelmail to see those emails delivered in /var/spool/vmail/mydomain.com/mail/username ?
(has to be per usename though - not a "global" Squirrelmail config)
I read for more than an hour, but coulldn't find how to do ut anywhere on the web.
I tried by setting
in /etc/dovecot.conf, but ti doesn't work (ERROR: Connection dropped by IMAP server. Query: SELECT "INBOX" )
default_mail_env = mbox:/var/spool/vmail/%d/%n
(and yes, I do restart dovecot every time I change its config).
Anybody with an idea?