dovecot

donkeyKICK

Verified User
Joined
Jul 24, 2007
Messages
387
Just to be clear, this is still the current way to upgrade to dovecot:

http://www.directadmin.com/features.php?id=590

Is there anything else I'll have to do to make spamassassin and spamblocker keep working?

I am running RedHat Ent. I plan to just follow the steps above to the letter. How long should this take?
 
Okay, I installed it. Looks like it is working, but at the end of the install I had a fatal "failure". Where can I find a log so I can see what happened? It complained that it was already running???
 
Okay, I installed it. Looks like it is working, but at the end of the install I had a fatal "failure". Where can I find a log so I can see what happened? It complained that it was already running???

tail -f /var/log/maillog
 
That didn't show anything but some lost spams...

also another problem just cropped up. I have a bunch of extra non-existant users in my imap folder. I went to delete them, but it says it can't becuase they aren't empty. Never had that problem before. Also, when logged in a the user for an account, I used to be able to subscribe to ALL email accounts and do cleanup from there. Now, I can't seem to subscribe to all email accounts at once...

4 items I need help with:

1) Is it possible (how) to see a log on what happened during install
2) How can I delete those extra folders of mail for non-existant email addresses
3) How do I make them not come back
4) How can I subscribe to all email addresses at once (like I could using mbox)

Thanks!
 
Last edited:
How can I tell if dovecot is working? The service started, but when I go to the folders I don't see any main there. Email is downloading though. I can't seem to figure out were it is being read/written to/from.
 
Hey,

If I remember correctly... For Dovecot, mail goes to:

/home/da_user_name/imap/domain_name/user/Maildir

There are some "hidden" directories in there as well... like .INBOX.spam, etc.

David
 
There are several folders there... one labeled cur has a bunch of mbox files in it, the one labeled new is empty.
 
Okay, I installed it. Looks like it is working, but at the end of the install I had a fatal "failure". Where can I find a log so I can see what happened? It complained that it was already running???
Yeah, it does when I install it too... because DirectAdmin has already started it by the time the script tries.

Jeff
 
There are several folders there... one labeled cur has a bunch of mbox files in it, the one labeled new is empty.
When the mail first comes in it goes to new eventually it goes to cur.

Both together represent the inbox. Don't ask me, ask Dan Bernstein; he's the guy who invented Maildir.

Jeff
 
PLease answer:

That explains the error, but about this stuff:


4 items I need help with:

1) Is it possible (how) to see a log on what happened during install
2) How can I delete those extra folders of mail for non-existant email addresses
3) How do I make them not come back
4) How can I subscribe to all email addresses at once (like I could using mbox)

I would still like to know the above
 
That explains the error, but about this stuff:

1) Is it possible (how) to see a log on what happened during install
I don't believe any log is kept of what's being done.
2) How can I delete those extra folders of mail for non-existant email addresses
I'm not sure what you mean by nonexistent email addresses. The conversion process converts existing addresses and saves the old folders. The last step of the instructions shows how to delete the old (now unused) folders.
3) How do I make them not come back
I have no idea what you mean. Once the system is converted to Dovecot it will always create Maildir directories. Old mbox diretories will stay in the system until you perform that last step, but new mailboxes will always be created as Maildir.
4) How can I subscribe to all email addresses at once (like I could using mbox)
I have no idea what you mean by subscribe to all email addresses. Is this something you do with your mail client? Is it something you do with webmail? Email clients should work exactly the same with either mailboxes; they use either IMAP or POP3 and neither of these care how your email is stored on the server; they both work using the respective protocol.

Jeff
 
I saw before you said it was bad netiquette to post a private message in a public place, but I think this is okay. If not, please let me know. I am not very familiar with forum protocol.

1) Any errors would show up in /var/log/directadmin/errortaskq.log regarding the mbox conversion process.

2) The mbox spam files?

cd /home/username/.spamassassin
rm -rf user_spam

as the user spamboxes with dovecot are under that users maildir.

3) http://help.directadmin.com/item.php?id=156

4) Hmmm.. I havn't tried this with dovecot.. you could try creating a symbolic link:

cd /home/username/Maildir
ln -s /home/username/imap/domain.com ./.domain.com

But I'm not sure if that works in dovecot/Maildir or not.
I received his help, and everything seemed to work except suggestion for item 4.
I think maybe I was unclear. So for clarity, and the benefit of others on the forum this is what I meant, note items 1, 2, & 3 are seem to be resolved.

1) I was referrig to an error log, or something to convince me the install went okay. Found here:
/var/log/directadmin/errortaskq.log

2) I was referring to the extra boxes created by a catchall. When in mbox format, they were just files, that can be deleted by DA. It appears that DA can't remove un-empty directories (maybe a new feature someday?). Also, I should have removed them before the conversion. Since I didn't, the conversion made them folders (exactly what the conversion should have done), which weren't deleteable from withing DA

3) The steps supplied here:
seemed to work. I just didn't want to have to log in as root and manually delete those folders anymore.

4) Before the conversion, when I logged in to squirrelmail as the main user, I was able to "subscribe" to the entire domain of email accounts, and see everybody's inboxes. After the conversion I was not. This was nice for business collaboration.
 
Last edited:
Back
Top