Cyrus 2.1.13 and single store?

Bernd Nies bernd.nies at adnovum.ch
Tue Jun 3 02:52:10 EDT 2003


Hi Ken,

 > Its only possible for recipients that are on the same Cyrus partition.
 > If you have a message sent to n recipients on p partitions then you
 > should only have p copies of the message and n-p hardlinks (to one of
 > the p copies).

I know that hard links cannot cross partitions. ;-) At least on my 
installation the hard linking of identical messages does not work. 
Example of one message to a list:

root at mailhost:/data/mail1/user> grep "Message-ID: 
<3EDC19BD.10A3CF2 at domain.tld>" */*
alex/304.:Message-ID: <3EDC19BD.10A3CF2 at domain.tld>
alfred/468.:Message-ID: <3EDC19BD.10A3CF2 at domain.tld>
alicia/102.:Message-ID: <3EDC19BD.10A3CF2 at domain.tld>
alvi/49.:Message-ID: <3EDC19BD.10A3CF2 at domain.tld>
andi/418.:Message-ID: <3EDC19BD.10A3CF2 at domain.tld>
...

root at mailhost:/data/mail1/user> ls -ali alex/304. alfred/468. 
alicia/102. alvi/49. andi/418.
      33932 -rw-------   1 cyrus    cyrus     230395 Jun  3 05:45 alex/304.
      33967 -rw-------   1 cyrus    cyrus     230395 Jun  3 05:45 
alfred/468.
      33981 -rw-------   1 cyrus    cyrus     230395 Jun  3 05:45 
alicia/102.
      34008 -rw-------   1 cyrus    cyrus     230395 Jun  3 05:45 alvi/49.
      33996 -rw-------   1 cyrus    cyrus     230395 Jun  3 05:45 andi/418.
...

The inode number of the message files are different.



Here is the Postfix logfile:

Jun  3 05:45:01 mailhost postfix/smtpd[9629]: [ID 197553 mail.info] 
E7C93357BE: client=mailhost.domain.tld[123.123.123.123]
Jun  3 05:45:01 mailhost postfix/cleanup[9631]: [ID 197553 mail.info] 
E7C93357BE: message-id=<3EDC19BD.10A3CF2 at domain.tld>
Jun  3 05:45:02 mailhost postfix/qmgr[21170]: [ID 197553 mail.info] 
E7C93357BE: from=<urs at domain.tld>, size=230208, nrcpt=1 (queue active)
Jun  3 05:45:03 mailhost postfix/lmtp[9636]: [ID 197553 mail.info] 
E7C93357BE: to=<ove at domain.tld>, orig_to=<all-ch at domain.tld>, 
relay=/var/cyrus/socket/lmtp[/var/cyrus/socket/lmtp], delay=2, 
status=sent (250 2.1.5 Ok)
Jun  3 05:45:03 mailhost postfix/lmtp[9636]: [ID 197553 mail.info] 
E7C93357BE: to=<thomul at domain.tld>, orig_to=<all-ch at domain.tld>, 
relay=/var/cyrus/socket/lmtp[/var/cyrus/socket/lmtp], delay=2, 
status=sent (250 2.1.5 Ok)
Jun  3 05:45:04 mailhost postfix/lmtp[9636]: [ID 197553 mail.info] 
E7C93357BE: to=<alex at domain.tld>, orig_to=<all-ch at domain.tld>, 
relay=/var/cyrus/socket/lmtp[/var/cyrus/socket/lmtp], delay=3, 
status=sent (250 2.1.5 Ok)
Jun  3 05:45:05 mailhost postfix/lmtp[9636]: [ID 197553 mail.info] 
E7C93357BE: to=<stefan at domain.tld>, orig_to=<all-ch at domain.tld>, 
relay=/var/cyrus/socket/lmtp[/var/cyrus/socket/lmtp], delay=4, 
status=sent (250 2.1.5 Ok)
Jun  3 05:45:05 mailhost postfix/lmtp[9636]: [ID 197553 mail.info] 
E7C93357BE: to=<this at domain.tld>, orig_to=<all-ch at domain.tld>, 
relay=/var/cyrus/socket/lmtp[/var/cyrus/socket/lmtp], delay=4, 
status=sent (250 2.1.5 Ok)
Jun  3 05:45:06 mailhost postfix/lmtp[9636]: [ID 197553 mail.info] 
E7C93357BE: to=<verena at domain.tld>, orig_to=<all-ch at domain.tld>, 
relay=/var/cyrus/socket/lmtp[/var/cyrus/socket/lmtp], delay=5, 
status=sent (250 2.1.5 Ok)
...



And from Cyrus:

Jun  3 05:45:02 mailhost master[9637]: [ID 392559 local6.debug] about to 
exec /opt/cyrus-2.1.13/bin/lmtpd
Jun  3 05:45:02 mailhost lmtpunix[9637]: [ID 518349 local6.debug] executed
Jun  3 05:45:02 mailhost lmtpd[9637]: [ID 921384 local6.debug] accepted 
connection
Jun  3 05:45:02 mailhost lmtpd[9637]: [ID 685068 local6.debug] lmtp 
connection preauth'd as postman
Jun  3 05:45:02 mailhost lmtpd[9637]: [ID 100061 local6.debug] 
duplicate_check: <3EDC19BD.10A3CF2 at domain.tld>            user.ove 
        0
Jun  3 05:45:03 mailhost lmtpd[9637]: [ID 516618 local6.debug] mystore: 
starting txn 2147509085
Jun  3 05:45:03 mailhost lmtpd[9637]: [ID 265043 local6.debug] mystore: 
committing txn 2147509085
Jun  3 05:45:03 mailhost lmtpd[9637]: [ID 516477 local6.debug] 
duplicate_mark: <3EDC19BD.10A3CF2 at domain.tld>            user.ove 
       1054611902
Jun  3 05:45:03 mailhost lmtpd[9637]: [ID 100061 local6.debug] 
duplicate_check: <3EDC19BD.10A3CF2 at domain.tld>            user.thomul 
        0
Jun  3 05:45:03 mailhost lmtpd[9637]: [ID 516618 local6.debug] mystore: 
starting txn 2147509086
Jun  3 05:45:03 mailhost lmtpd[9637]: [ID 265043 local6.debug] mystore: 
committing txn 2147509086
Jun  3 05:45:03 mailhost lmtpd[9637]: [ID 516477 local6.debug] 
duplicate_mark: <3EDC19BD.10A3CF2 at domain.tld>            user.thomul 
       1054611903
Jun  3 05:45:03 mailhost lmtpd[9637]: [ID 100061 local6.debug] 
duplicate_check: <3EDC19BD.10A3CF2 at domain.tld>            user.alex 
        0
Jun  3 05:45:04 mailhost lmtpd[9637]: [ID 516618 local6.debug] mystore: 
starting txn 2147509087
Jun  3 05:45:04 mailhost lmtpd[9637]: [ID 265043 local6.debug] mystore: 
committing txn 2147509087
Jun  3 05:45:04 mailhost lmtpd[9637]: [ID 516477 local6.debug] 
duplicate_mark: <3EDC19BD.10A3CF2 at domain.tld>            user.alex 
       1054611903
Jun  3 05:45:04 mailhost lmtpd[9637]: [ID 100061 local6.debug] 
duplicate_check: <3EDC19BD.10A3CF2 at domain.tld>            user.stefan 
        0
Jun  3 05:45:05 mailhost lmtpd[9637]: [ID 516618 local6.debug] mystore: 
starting txn 2147509088
Jun  3 05:45:05 mailhost lmtpd[9637]: [ID 265043 local6.debug] mystore: 
committing txn 2147509088
Jun  3 05:45:05 mailhost lmtpd[9637]: [ID 516477 local6.debug] 
duplicate_mark: <3EDC19BD.10A3CF2 at domain.tld>            user.stefan 
       1054611904
Jun  3 05:45:05 mailhost lmtpd[9637]: [ID 100061 local6.debug] 
duplicate_check: <3EDC19BD.10A3CF2 at domain.tld>            user.this 
        0
Jun  3 05:45:05 mailhost lmtpd[9637]: [ID 516618 local6.debug] mystore: 
starting txn 2147509089
Jun  3 05:45:05 mailhost lmtpd[9637]: [ID 265043 local6.debug] mystore: 
committing txn 2147509089
Jun  3 05:45:05 mailhost lmtpd[9637]: [ID 516477 local6.debug] 
duplicate_mark: <3EDC19BD.10A3CF2 at domain.tld>            user.this 
       1054611905
Jun  3 05:45:05 mailhost lmtpd[9637]: [ID 100061 local6.debug] 
duplicate_check: <3EDC19BD.10A3CF2 at domain.tld>            user.verena 
        0
Jun  3 05:45:06 mailhost lmtpd[9637]: [ID 516618 local6.debug] mystore: 
starting txn 2147509090
Jun  3 05:45:06 mailhost lmtpd[9637]: [ID 265043 local6.debug] mystore: 
committing txn 2147509090
Jun  3 05:45:06 mailhost lmtpd[9637]: [ID 516477 local6.debug] 
duplicate_mark: <3EDC19BD.10A3CF2 at domain.tld>            user.verena 
       1054611905
...


The OS and how I compiled it:

root at mailhost:~> uname -a
SunOS mailhost 5.8 Generic_108528-19 sun4u sparc SUNW,Ultra-4

cd cyrus-sasl-2.1.13
./configure --prefix=/opt/cyrus-2.1.13 \
             --with-dbpath=/opt/cyrus-2.1.13/sasldb2 \
             --with-dblib=berkeley \
             --with-bdb-libdir=/opt/db/lib \
             --with-bdb-incdir=/opt/db/include \
             --with-openssl=/opt/openssl \
             --with-plugindir=/opt/cyrus-2.1.13/lib/sasl2 \
             --with-saslauthd=/opt/cyrus-2.1.13/state \
             --enable-shared \
             --enable-static \
             --disable-gssapi \
             --disable-kerb5

cd cyrus-imapd-2.1.13
./configure --prefix=/opt/cyrus \
             --with-auth=unix \
             --with-cyrus-prefix=/opt/cyrus \
             --with-dbdir=/opt/db \
             --with-openssl=/opt/openssl \
             --with-sasl=/opt/cyrus \
             --with-perl=/usr/bin/perl \
             --disable-krb4 \
             --disable-cram \
             --disable-gssapi \
             --without-krb \
             --with-statedir=/opt/cyrus/state


Thanks in advance for help

Regards,
Bernd



-- 
+---------------------------------------------------------------------+
  Bernd Nies                               mailto:Bernd.Nies at adnovum.ch
  System Engineering                                 Dipl. El.-Ing. HTL

  AdNovum Informatik AG http://www.adnovum.ch  phone: +41 (1)  272 6111
  Roentgenstrasse 22, CH-8005 Zuerich          fax:   +41 (1)  272 6312
+---------------------------------------------------------------------+
  AdNovum Software Inc. San Mateo, CA 94404    phone: +1 (650) 525 9322
  1400 Fashion Island Boulevard, Suite 309     fax:   +1 (650) 525 9324
+---------------------------------------------------------------------+





More information about the Info-cyrus mailing list