7 messages in net.sourceforge.lists.courier-usersRe: [courier-users] how change /msgs ...
FromSent OnAttachments
sergioSep 27, 2007 12:30 am 
Ben KennedySep 27, 2007 12:42 am 
Sam VarshavchikSep 27, 2007 3:57 am 
sergioSep 27, 2007 4:47 am 
sergioSep 27, 2007 6:10 am 
Johnny C. LamSep 27, 2007 6:30 am 
sergioSep 27, 2007 10:12 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:Re: [courier-users] how change /msgs and /msgq folders pathActions...
From:Johnny C. Lam (jlam@buildlink.org)
Date:Sep 27, 2007 6:30:12 am
List:net.sourceforge.lists.courier-users

sergio wrote:

Hello Sam,

Thursday, September 27, 2007, 1:58:02 PM, you wrote:

sergio writes:

Hello courier-users,

I need change path to msgs and msgq folders,but cant reinstall courier. How can I do this?

Replace msgs and msgq with symlinks.

....But,in log I receive

Sep 27 14:44:56 mail courierd: Purging /var/courier/msgq Sep 27 14:44:56 mail courierd: Purging /var/courier/msgs Sep 27 14:44:56 mail courierd: Cross-device link Sep 27 14:44:56 mail courierd: ABNORMAL TERMINATION, exit status: 1 Sep 27 14:44:56 mail courierd: Will restart in 60 seconds.

ls -la /var/courier/ total 8 drwxr-xr-x 4 courier courier 512 Sep 27 14:28 . drwxr-xr-x 26 root wheel 512 Sep 21 13:15 .. drwxr-xr-x 2 courier courier 512 Sep 27 14:29 authdaemon lrwxr-xr-x 1 root bin 17 Sep 27 14:28 msgq -> /v1/courier/msgq/ lrwxr-xr-x 1 root bin 17 Sep 27 14:28 msgs -> /v1/courier/msgs/

I think you'll need /var/courier/tmp to also be symlinked to the same device as the "msgq" and "msgs" directories, e.g., /v1/courier/tmp. All three directories (possibly more) are part of the message queue and Courier uses the rename() system call to move files between those directories.

Cheers,

-- Johnny Lam