duplicate mails

Lutz Kittler Lutz.Kittler at sse-erfurt.de
Tue Jan 20 10:02:19 EST 2004


Hi,

I installed cyrus 2.1.15-0woody.1.0 on a debian woody system.
Mail is delivered to cyrus bei postfix  2.0.16-4.woody.1 with lmtp:unix
transport.
In imapd.conf there is by default:
       singleinstancestore: yes
       duplicatesuppression: yes
All mailboxes use the default partition on an ext3-filesystem.

I sent a message to user1 and user2. The messages are identical in
/var/spool/cyrus/mail - directories, but duplicate_check returns 0
and so no hard links are used for the messages.
I also tried it with 
  local_destination_concurrency_limit = 2
in postfix:main.cf, but the same result.

If a user copies a mail to another folder than hardlinks are used.


Jan 20 15:26:51 imap postfix/qmgr[23225]: AAC767CCF: 
from=<root at imap.local.test>
  , size=344, nrcpt=2 (queue active)
Jan 20 15:26:51 imap cyrus/master[23268]: about to exec 
/usr/lib/cyrus/bin/lmtpd
Jan 20 15:26:51 imap cyrus/lmtpunix[23268]: executed
Jan 20 15:26:52 imap cyrus/lmtpd[23268]: accepted connection
Jan 20 15:26:52 imap cyrus/lmtpd[23268]: lmtp connection preauth'd as postman
Jan 20 15:26:52 imap cyrus/lmtpd[23268]: duplicate_check: 
   <20040120142651.AAC767CCF at imap.local.test> user.user1         0
Jan 20 15:26:52 imap cyrus/master[23269]: about to exec 
/usr/lib/cyrus/bin/lmtpd
Jan 20 15:26:52 imap cyrus/lmtpunix[23269]: executed
Jan 20 15:26:52 imap cyrus/lmtpd[23269]: accepted connection
Jan 20 15:26:52 imap cyrus/lmtpd[23269]: lmtp connection preauth'd as postman
Jan 20 15:26:52 imap cyrus/lmtpd[23269]: duplicate_check: 
   <20040120142651.AAC767CCF at imap.local.test> user.user2       0
Jan 20 15:26:52 imap cyrus/lmtpd[23268]: mystore: starting txn 2147483685
Jan 20 15:26:52 imap cyrus/lmtpd[23268]: mystore: committing txn 2147483685
Jan 20 15:26:52 imap cyrus/lmtpd[23268]: duplicate_mark: 
   <20040120142651.AAC767CCF at imap.local.test> user.user1         1074608812
Jan 20 15:26:52 imap postfix/lmtp[23266]: AAC767CCF: 
to=<user1 at imap.local.test>,
   orig_to=<user1>, 
relay=/var/run/cyrus/socket/lmtp[/var/run/cyrus/socket/lmtp], 
   delay=1, status=sent (250 2.1.5 Ok)
Jan 20 15:26:52 imap cyrus/lmtpd[23269]: mystore: starting txn 2147483686
Jan 20 15:26:52 imap cyrus/lmtpd[23269]: mystore: committing txn 2147483686
Jan 20 15:26:52 imap cyrus/lmtpd[23269]: duplicate_mark: 
   <20040120142651.AAC767CCF at imap.local.test> user.user2       1074608812
Jan 20 15:26:52 imap postfix/lmtp[23267]: AAC767CCF: 
to=<user2 at imap.local.test>,
   orig_to=<user2>, 
relay=/var/run/cyrus/socket/lmtp[/var/run/cyrus/socket/lmtp], 
   delay=1, status=sent (250 2.1.5 Ok)


deliver.db also shows identical Headers :

imap:/var/spool/cyrus/mail# su - cyrus -c "/usr/sbin/ctl_deliver -d"
it is NOW: 1074610001
...
id: <20040120142651.AAC767CCF at imap.local.test> to: user.user1   at: 1074608812
id: <20040120142651.AAC767CCF at imap.local.test> to: user.user2   at: 1074608812
...
got 13 entries


What can I do ?

 Thanks 

             Lutz





More information about the Info-cyrus mailing list