On Sat, Jul 28, 2012 at 8:04 PM, Timo Sirainen <tss@iki.fi> wrote:
On 23.7.2012, at 22.12, mailing list subscriber wrote:
As requested, here is my update. As you can see I am running now the latest release however emails delivered through lmtp gets split into different files instead of expected hardlinked files. .. userdb { driver = passwd }
Looks like you're using system users. Each mail then needs to be written using different permissions, so hard linking can't work.
I am afraid this is incorrect:
[root@email ~]# cd /tmp
[root@email tmp]# touch 1
[root@email tmp]# stat 1
File: 1' Size: 0 Blocks: 0 IO Block: 4096 regular empty file Device: 803h/2051d Inode: 46923784 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2012-07-30 13:34:45.000000000 +0300 Modify: 2012-07-30 13:34:45.000000000 +0300 Change: 2012-07-30 13:34:45.000000000 +0300 [root@email tmp]# ln 1 2 [root@email tmp]# stat 2 File:
2'
Size: 0 Blocks: 0 IO Block: 4096 regular empty file
Device: 803h/2051d Inode: 46923784 Links: 2
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2012-07-30 13:34:45.000000000 +0300
Modify: 2012-07-30 13:34:45.000000000 +0300
Change: 2012-07-30 13:34:51.000000000 +0300
[root@email tmp]# chown xfs:xfs 1
[root@email tmp]# stat 1
File: 1' Size: 0 Blocks: 0 IO Block: 4096 regular empty file Device: 803h/2051d Inode: 46923784 Links: 2 Access: (0644/-rw-r--r--) Uid: ( 43/ xfs) Gid: ( 43/ xfs) Access: 2012-07-30 13:34:45.000000000 +0300 Modify: 2012-07-30 13:34:45.000000000 +0300 Change: 2012-07-30 13:35:03.000000000 +0300 [root@email tmp]# chown ntp:ntp 2 [root@email tmp]# stat 2 File:
2'
Size: 0 Blocks: 0 IO Block: 4096 regular empty file
Device: 803h/2051d Inode: 46923784 Links: 2
Access: (0644/-rw-r--r--) Uid: ( 38/ ntp) Gid: ( 38/ ntp)
Access: 2012-07-30 13:34:45.000000000 +0300
Modify: 2012-07-30 13:34:45.000000000 +0300
Change: 2012-07-30 13:35:15.000000000 +0300
[root@email tmp]# echo test > 2
[root@email tmp]# cat 1
test
[root@email tmp]#