What to do after upgrading to Dovecot

albatroz

Verified User
Joined
Mar 13, 2004
Messages
365
Location
Peru
I upgraded to Dovecot therefpre now
my customers' mailboxes occupy twice the size.

I have seen a line for purging the old mailboxes, but I wonder if this can be done partially.
 
Hey,

I ran into that as well.

Here's a snippet from John that I got over the holidays... Yep, just like most of us, he works the holidays as well!


> Also, once things have settled down, can the directories under the
> /var/spool/virtuals/ directory be removed?

Yes (assuming DA 1.26.1)

echo "action=delete&value=mbox" >> /usr/local/directadmin/data/task.queue

It basically just runs this:

rm -f /var/mail/*
rm -f /var/spool/mail/*
rm -rf /var/spool/virtual
rm -rf /home/*/mail
rm -rf /home/*/imap/*/*/mail

(but hard coded in the binary)

John

David
 
What is inside this directories?

rm -f /var/mail/*
rm -f /var/spool/mail/*
rm -rf /var/spool/virtual
 
albatroz said:
What is inside this directories?

rm -f /var/mail/*
rm -f /var/spool/mail/*
rm -rf /var/spool/virtual

/var/mail/* are the domainowners mailboxes
/var/spool/mail should be a link to /var/mail
/var/spool/virtual are the virtual user mailboxes

After Dovecot, all the maill will now reside in the domainowners home directory.
 
Back
Top