1 message in net.sourceforge.lists.courier-users[courier-users] Moving a mail queue
FromSent OnAttachments
Pawel TeczaSep 12, 2006 2:54 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Moving a mail queueActions...
From:Pawel Tecza (p.te@net.icm.edu.pl)
Date:Sep 12, 2006 2:54:47 am
List:net.sourceforge.lists.courier-users

Hello People,

I have a machine with Courier compiled and installed from the sources. Now I would like to install Courier from Debian packages there, because we want to have the binary packages on all our machines with Debian.

The main problem is a location of a mail queue. The old queue is placed in /var/spool/mailqueue, but the new queue - in /var/lib/courier. Fortunately the both locations are on the same LVM volume.

Has someone any experience with moving mail queue in the situation like that? Is it possible? Is it safe?

I know that Courier uses an inode number in the name of control files, but an inode number of a file shouldn't be changed when I move the file using mv command. Am I right?

I've done the following test on my devel machine:

1. Stop Courier 2. Move a mail queue from /var/spool/mailqueue to /var/lib/courier 3. Move a mail queue back 4. Start Courier

and it seems that my Courier still works fine. Is it only a happy coincidence? ;)

I would be very thankful for your any comments.

My best regards,