I created users just through the “Edit Email and FTP Users” link. Once I create them I login to RoundCube or Horde through www.mydomain.tld. I don’t see any email although I have sent various test emails to this new account. The only place I see the emails is if I click on the actual username I create in “Edit Email and FTP Users” and then click on their email directory path. From there I can read the emails and even send. Why won’t horde or roundcube display these messages?
Try restarting dovecot after resetting those permissions. It shouldn’t need it, but it’s worth a try.
Then do a “tail -f /var/log/maillog” and while watching the logfile, attempt to login to get your mail through Horde. Please post what error messages you’re getting now, and we’ll help figure out what’s going on there.
Ok, so I restarted and still no luck. I had to make both control and index to permissions 1777 so that when that user logs in, it can create the …/userdir/.INBOX. Seems like it needs to be 7 for EVERYONE or else it won’t be able to create anything. This is not a good thing of course…hmmm
Still investigating but if you guys have anymore suggestions, please let me know
It’s actually perfectly fine. It’s just like a tmp directory or a mail spool–only data files go there, and they’re created as the user that owns them. (777 on /var/lib/dovecot, on the other hand, would potentially be a problem, since those log files are probably opened while Dovecot is still “root” or “mail”, which I suppose could be tricked into doing something nasty via links or pipes or something funny.)