Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DBMail: users

suppress duplicates, duplicate mesages and all, all, all

 

 

DBMail users RSS feed   Index | Next | Previous | View Threaded


sena at hurd

Jun 4, 2010, 3:04 AM

Post #1 of 3 (475 views)
Permalink
suppress duplicates, duplicate mesages and all, all, all

Hi

I found on dbmail wiki following passage:

> Ability to store only a single copy of duplicated mail messages to
> save storage. (update: this was done already in 2.2 and trunk. It's
> called suppress_duplicates in dbmail.conf)

AFAIK, suppress_duplicates works only when same message is delivered to
the same mailbox. If same mail is delivered (or copied) to another
mailbox, it is copied (and this is good) and not suppressed. But what
author of the original message meant, that 2 identical messages inside 2
different mailboxes should not take double space. This is same idea as
hardlinks on filesystem.

Is there something like this in dbmail?

BTW, suppressing duplicates in a way it is implemented now is sometimes
misleading. Try, for example, to delete a message and add it again when
suppress_duplicates is enabled - message will not be added. This happens
because message is still in database and is only marked for deletion,
but for enduser this is not so clear.
--
Best regards, Sergey Spiridonov

_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


paul at nfg

Jun 4, 2010, 3:24 AM

Post #2 of 3 (459 views)
Permalink
Re: suppress duplicates, duplicate mesages and all, all, all [In reply to]

Sergey Spiridonov wrote:
> Hi
>
> I found on dbmail wiki following passage:
>
>> Ability to store only a single copy of duplicated mail messages to
>> save storage. (update: this was done already in 2.2 and trunk. It's
>> called suppress_duplicates in dbmail.conf)
>
> AFAIK, suppress_duplicates works only when same message is delivered to
> the same mailbox. If same mail is delivered (or copied) to another
> mailbox, it is copied (and this is good) and not suppressed. But what
> author of the original message meant, that 2 identical messages inside 2
> different mailboxes should not take double space. This is same idea as
> hardlinks on filesystem.
>
> Is there something like this in dbmail?

Yes. But it's in the 2.3 codebase only. It's called single-instance
storage, and it applies to mime-parts and header-values.

>
> BTW, suppressing duplicates in a way it is implemented now is sometimes
> misleading. Try, for example, to delete a message and add it again when
> suppress_duplicates is enabled - message will not be added. This happens
> because message is still in database and is only marked for deletion,
> but for enduser this is not so clear.

Sounds like a bug. The support_duplicates functionality should check for
message status. Please file a ticket in the bugtracker.


--
________________________________________________________________
Paul Stevens paul at nfg.nl
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


sena at hurd

Jun 4, 2010, 5:19 AM

Post #3 of 3 (460 views)
Permalink
Re: suppress duplicates, duplicate mesages and all, all, all [In reply to]

Hi

Paul J Stevens wrote:

> Please file a ticket in the bugtracker.

Done. Issue #846. http://www.dbmail.org/mantis/view.php?id=846


--
Best regards, Sergey Spiridonov

_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

DBMail users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.