>> > Copy the queue? From the FAQ:
>> >
>> > 7.5. How do I back up and restore the queue disk?
>> >
>> > Answer: You can't. ... Another difficulty is that messages in the queue
>> > must have filenames that match their inode numbers.
>>
>> Wron answer ... you can copy the queue to another disk easily, you just
>> need a program that renames the messages so they have the correct names
>> again. One such a tool is queue-fix (search on
>> http://www.qmail.org/top.html), works perfectly and has proven it's use
>> already quite some times to me.
>
>Not the wrong answer :-) I would like to point out that the original recipe
>"stop qmail, copy the queue, create symlink, start qmail" doesn't work. I
>think it's important to mention the inode issue, and suggest a work around
(as
>you have done).
True, but saying "you can't" is not an answer. I wouldn't call this a
workaround (the inode issue and renaming), it's the only way to move your
queue. The whole procedure would be:
1) stop qmail
2) move your queue
3) run queue-fix on the "new" queue
advice: do a testrun with queue-fix to see what it does and how you
should call it, if I remember correctly the following should work:
queue-fix /place/to/queue
4) make a symlink from /var/qmail/queue to where the new queue resides
(or mount /var/qmail/queue to there)
5) start qmail and check your logs
6) enjoy your life
The best place to put your queue is on a seperate disk, so you can really
mount the queue on /var/qmail/queue and play with the mount options to get
optimal performance.
Franky