On Mon, Apr 17, 2000 at 09:50:04AM -0500, Chris Hardie wrote:
> 
> On Mon, 17 Apr 2000, Anthony White wrote:
> 
[snip]
> 
> I once had to move the qmail queue to another device/disk drive, and wrote
> the below step-by-step.  It could probably use some reviewing, and makes
> some assumptions that might not be true (that you're using inetd, that you
> can wait until all the messages in your queue have been delivered,
> etc).  In short, it's very rough, but might be of help:
> 
> --------------------------------------------------------
> Wait till late at night
> Make sure there are no messages in the queue
>   /var/qmail/bin/qmail-qread
> If there are, wait until they are delivered!  Very important.
> Modify /etc/inetd.conf to stop incoming mail (comment out smptd)
> Kill -HUP inetd
> Kill -KILL qmail-send

First do these kills, _then_ wait until the queue is empty.

> I'm not sure about the Maildir directories.  I believe they too have some
> sort of inode number dependency built in - anyone have advice for Anthony
> on moving these?

No, no inode number dependency. You can safely move those around, just be
sure to keep ownership and file permissions (and directory structure :)

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder 
|  
| 'C makes it easy to shoot yourself in the foot;
|  C++ makes it harder, but when you do it blows your whole leg off.'
|                             Bjarne Stroustrup, Inventor of C++

Reply via email to