Inbox - mutt/mailx shows email, squirrelmail doesn't. Halp.
here.
The only thing I did different or extra from the guide was actually create a couple of users using adduser (and corrected some of the typos noted in the comments). Every test shows that mail works. From one of the user's accounts, I can use mailx and mutt to send email to a gmail account (which it gets). I send back an email from that gmail account to the user, and it gets received.
With mailx and mutt, I can see the emails received from gmail to that user (though for some reason I don't see the sent email? why not?).
With squirrelmail, I can send emails and view those – but not any emails received. The INBOX is empty. Note that I did get an error when I first set up squirrelmail and tried to use the web interface, that the Sent folder couldn't be created. I tracked this down to a configuration within squirrelmail that the default folder prefix needed to be "INBOX." (with a period) and not empty (as is how it sets itself up if you choose dovecot). After that, there are no errors with squirrelmail -- but I can't see any received email in the inbox.
I really need to get a webmail interface up for the website owners. Can anyone give me some pointers? Maybe recommend another option?
5 Replies
@captquint:
Can anyone give me some pointers? Maybe recommend another option?
What do you have assigned for "$defaultfolderprefix" in your squirrelmail configuration file?
–
Travis
I miss-read your original message, but the $defaultfolderprefix is used by squirrelmail to store stuff locally on the host stuff such as the 'Trash, 'Sent', and etc folders. Since squirrelmail is not showing any new mail, I suspect the problem is with either IMAP or pop3, depending upon how you have configured things.
If you set the '$defaultfolderprefix' to 'mail/' and make sure the 'mail' direction exists for the user and is owned by the user, things should work.
–
Travis
>
Query: CREATE "mail/Sent"
Reason Given: Unknown namespace.
My IMAP settings seem to be correct. Following the dovecot docs on testing it, here's my (non-localhost) telnet to port 143:
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS LOGINDISABLED] Dovecot ready.
I found the "INBOX." solution via googling that error message.
At this point I'm looking at using Google Apps for mail. Between the problems with squirrelmail and the spam issue that I will be faced with down the road, it hardly seems worth it.