[Dovecot] Deliver, sieve and duplicate message

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Wed Jun 24 13:30:35 EEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 24 Jun 2009, jean-Noël Chardron wrote:

> I read a previous post about the duplicate messages : 
> http://www.dovecot.org/list/dovecot/2007-March/021085.html
> But I do not understand if this feature exists and how to activate
> Some explanations or documentation would be welcome.

There is no such feature.

"When a same  message (same message-id) is to  be delivered twice into
  the same mailbox, it is delivered twice while I think that the second
  one should be discarded."

The assumption same message-id == same message is nice, but may fail. 
Therefore it is problematic to impose this.

IMHO, the Sieve RFC refers to file one message multiple times into the 
same folder in the same run, not when the same message arrives two or more 
times.

E.g. a script like:

"
fileinto "INBOX";

fileinto "INBOX";

"

shallt not file the message twice into INBOX.

When the same message (aka same message-id) arrives two or more times, it 
is really not the same, because at least the headers differ, usually. E.g. 
if you compare the message byte-per-byte they differ.

For instance I have a mailing list that sends its message directly to the 
sender and to the subscribers in two different runs. So I get it twice, 
but once without the "list-id" and once with, so I can filter.

Bye,

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBSkIATnWSIuGy1ktrAQL3dAgAv5RH34Ym9DetQayYAUpVAZ+U0NSQSzAV
9A1R/iDjtUqgG1TdlNxvsOZNbKw8Od+C7IJw9zDRof9wofw4ZngjT2B0k5KHIRMD
mwhkRBwapf7ED6VWe3b2ygO5D0scLU9QsSBRVqPvMn1pdk3r6hmIwNGPKMRAYXAf
jZsNe3QH2CublyB/oC5YGtKkIqA1nbY8sbXxNg4T5VPJpqm7rYcekLaBkxVXKwm9
4WBL2fPGDyXzXFtpgXfZ29m9n5UtZkDlPXv37SM0yKIXTSnyYXvRIMYE6uX+HNMF
b8EEZ+QvsqRuYziizhpd7zHTbMmcd0rJ1FHE4TT0TXsxfyUEAm3vFQ==
=FtR5
-----END PGP SIGNATURE-----


More information about the dovecot mailing list