single instance message store problem.

John McMonagle johnm at advocap.org
Fri May 29 15:53:34 EDT 2015


On Friday 29 May 2015 2:29:40 PM Nic Bernstein wrote:
> On 05/29/2015 02:19 PM, John McMonagle wrote:
> >
> > On Friday 29 May 2015 2:08:58 PM you wrote:
> >
> > > 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
> >
> > >
> >
> > >
> >
> > No problem
> >
> > Yes I checked.
> >
> > -rw------- 1 cyrus mail 3919 May 29 10:35 145026.
> >
> > -rw------- 1 cyrus mail 87189663 May 29 12:34 cyrus.squat
> >
> > drwx------ 2 cyrus mail 204800 May 29 13:15 Sent
> >
> > -rw------- 1 cyrus mail 2116 May 29 13:15 145027.
> >
> > The 2 mails should have had links.
> >
> > john
> >
> 
> John,
> Okay, I had hoped you'd already checked that.
> 
> How about this; have you got the duplicatesuppression disabled?  If you 
> disable duplicatesuppression, you'll also lose singleinstancestore, as 
> it relies upon the duplicate.db to perform its work.
> 
> Cheers,
>      -nic
> 
> 
in imapd.conf have:
duplicatesuppression: 1
Do not see a duplicate.db  but have a current deliver.db

John



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20150529/da53f9d5/attachment-0001.html 


More information about the Info-cyrus mailing list