IOn Fri, 2004-11-19 at 10:58 -0500, Scott Adkins wrote:I don't believe this is the case... We set it to "no" on our site because we see a lot of lock contention on the duplicate delivery database. The problem is that setting it to "no" doesn't help if you have SIEVE enabled in your server. From what I could tell in the source code, SIEVE makes very active use of the duplicate delivery database, for vacationing, forwarding, redirections, etc.
Are you saying that using Sieve makes it impossible to disable duplicate suppression or that Sieve just uses the duplicate delivery database regardless of the 'duplicatesuppression' setting? The former should be reported as a bug (http://bugzilla.andrew.cmu.edu/); the latter a point for discussion.
I think it kinda works both ways... the way the code was written (I am working from memory now) was that if the option was set to "no", then it simply did not open the delivery database. The code would still call the duplicate suppression routines, but those routines would bail out first thing if it found the database not to be open.
With SIEVE, the code more reads like this: "if SIEVE not defined and the setting is 'no' then do not open the database". Consequently, the database *is* opened (because of the presense of SIEVE), and all of the duplicate suppression routines then work as normal.
So, it turns into an all or nothing event.
The right solution is to not base the decision on whether or not the DupDB is open, but on whether or not a portion of code should check the DB based on the current setting... I don't think there were *that* many places in the code that checked for duplicate messages...
Scott
Wil -- Wil Cooley <[EMAIL PROTECTED]> Naked Ape Consulting, Ltd. <http://naked-ape.com>
--- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
-- +-----------------------------------------------------------------------+ Scott W. Adkins http://www.cns.ohiou.edu/~sadkins/ UNIX Systems Engineer mailto:[EMAIL PROTECTED] ICQ 7626282 Work (740)593-9478 Fax (740)593-1944 +-----------------------------------------------------------------------+ PGP Public Key available at http://www.cns.ohiou.edu/~sadkins/pgp/
pgpcutZnBU5MD.pgp
Description: PGP signature