single instance message store problem.

Nic Bernstein nic at onlight.com
Fri May 29 15:08:58 EDT 2015


On 05/29/2015 01:48 PM, John McMonagle wrote:
>
> Having trouble getting single instance message store to work.
>
> Running debian jessie with cyrus imap 2.4.17+caldav~beta10-18 postfix 
> 2.11.3-1.
>
> Am following instructions in:
>
> https://cyrusimap.org/docs/cyrus-imapd/2.4.17/install-configure.php
>
> master.cf has:
>
> lmtp unix - - n - - lmtp
>
> main.cf has:
>
> mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp
>
> local_destination_recipient_limit = 200
>
> local_destination_concurrency_limit = 5
>
> imap.conf has
>
> singleinstancestore: 1
>
> lmtpsocket: /var/run/cyrus/socket/lmtp
>
> Delivery works but each is an independent file.
>
> Any suggestions?
>
> John
>
>

John,
At the risk of sounding insulting, have you checked the link count (via 
'ls -l') on these duplicate copies?  For example, here I have part of my 
Inbox:

    -rw-------  1 cyrus cyrus     5821 2013-07-09 12:26 17201.
    -rw-------  6 cyrus cyrus    36816 2013-07-09 14:22 17202.
    -rw-------  1 cyrus cyrus    17305 2013-07-09 14:43 17203.
    -rw-------  3 cyrus cyrus    44952 2013-07-09 14:53 17204.
    -rw-------  3 cyrus cyrus    44942 2013-07-09 14:56 17205.
    -rw-------  1 cyrus cyrus     1395 2013-07-09 15:00 17206.

The 2nd, 4th & 5th messages have multiple hard-links (second column), 
which is how singleinstancestore does its thing.

Cheers,
     -nic

-- 
Nic Bernstein                             nic at onlight.com
Onlight, Inc.                             www.onlight.com
1442 N Farwell Ave., Suite 600            v. 414.272.4477
Milwaukee, Wisconsin  53202

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20150529/2d313e0d/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nic.vcf
Type: text/x-vcard
Size: 271 bytes
Desc: not available
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20150529/2d313e0d/attachment.vcf 


More information about the Info-cyrus mailing list