Empty Squirrelmail Inbox

netstability

Verified User
Joined
Apr 30, 2004
Messages
15
Here's the deal, I moved from a DA reseller account who was using dovecot (I only found this out after the fact) to a DA VPS with the default email system. The move was a mess, but I am starting to get it sorted out. I have one main problem remaining and a couple of questions.

First, it is a CentOS 4 box, running Virtuozzo with Direct Admin on my VPS.
What is the standard issue mail system? I'm guessing its exim?
I went through the php IMAP procedure without any trouble, but I'm still unclear what the default IMAP server is either. UW?

Now I have 2 problems, one of the primary mail accounts in /var/mail is corrupt. Is it possible to delete and re-create it?

Seccond, squirrelmail is the primary webmail, and after much cleaning out of residual dovecot folders I think I have them in order, that being:

Sent (file, not folder)
Drafts (file, not folder)
Trash (file, not folder)

in: /home/"user"/mail/

with the mailboxes in: /home/"user"/mail/"domain"/

except the primary which are in:
/var/mail/

Does this look correct?

The problem still, is that even though the mailbox files are quite large, and there appears to be mail in them, squirrelmail shows the inboxes as empty. Any ideas? Thanks.
 
Last edited:
Update: after looking into this further, it seems that only the primary mail accounts, the ones in /var/mail appear empty in squirrelmail.

I attempted making symbolic links to the mailboxes in /var/mail/ from the appropriate /home/"user"/mail/"domain"/ but it does not seem to help.
 
Update: I deleted the corrupt file in /var/mail/ - the system did NOT re-create it. I deleted the entire account (thankfully it was one of my own) and re-created it with DA everything looks normal.

However, squirrel Inbox still appears empty.
 
Update: all email accounts EXCEPT the actual site accounts (login without @domain.com) are showing up correctly.

The main account inboxes still show up empty in squirrelmail, yet I know the inboxes are there, however not in the same place as the other accounts. How do I make sure squirrel can find them?

This is driving me nuts! :p
 
Last edited:
just for it, if it is the case :
the main account (without .tld) need to be forwarded to another
you can not use it as standard mail account
 
Thanks xemaps, I took your suggestion and crafted the best workaround I could think of. I'm sure there is a better way to do it, and any gurus are welcome to chime in, but here is what I did for now:

First I created a new mailbox for each domain, then I deleted that mailbox file in each domain's mail folder. Then I created a ln for each of the primary mailboxes in their appropriate locations with the name I used for the new mail accounts I created.
I tried soft links at first, but this did not seem to work. In any case, the main users now can access their primary mailbox via squirrel by using [email protected].

Even if I was satisfied with this solution, I would still like to find a way to automate this process, but I really don't think this is the best option. I primarily went this route because the users had mail in their primary boxes that they wanted to access.
 
Back
Top