- Heiko Schlittermann <hs@schlittermann.de> 2016.04.20 19:31:
- Christoph Adomeit <Christoph.Adomeit@gatworks.de> 2016.04.20 10:29: #Deduplicate mails sent to aliases for same mailbox using the msgid if duplicate { discard; }
I wouldn't do that. Message with the same message id doesn't need to be duplicates. See the difference between this message (I put you on BCC), you'll receive it via the mailing list AND directly. Depending on the ML configuration the messages are NOT identical.
It really depends on the OPs requirements. The task was to filter cc: mails. Anyway if that is your concern, no message was discarded using bcc:
Apr 20 19:31:13 nihlus dovecot: lmtp(27566): Connect from local Apr 20 19:31:13 nihlus dovecot: lmtp(tlx@leuxner.net): NbCKIuG8F1euawAAgUOSbA: sieve: msgid=<20160420173100.GR14754@jumper.schlittermann.de>, time=115ms, status=stored mail into mailbox 'INBOX' Apr 20 19:31:13 nihlus dovecot: lmtp(27566): Disconnect from local: Successful quit Apr 20 19:31:24 nihlus dovecot: lmtp(27566): Connect from local Apr 20 19:31:25 nihlus dovecot: lmtp(tlx@leuxner.net): OrCKIuG8F1euawAAgUOSbA: sieve: msgid=<20160420173100.GR14754@jumper.schlittermann.de>, time=117ms, status=stored mail into mailbox ':public/Mailing-Lists/Dovecot' Apr 20 19:31:25 nihlus dovecot: lmtp(tlx@leuxner.net): OrCKIuG8F1euawAAgUOSbA: sieve: msgid=<20160420173100.GR14754@jumper.schlittermann.de>, time=117ms, status=marked message to be discarded if not explicitly delivered (discard action) Apr 20 19:31:25 nihlus dovecot: lmtp(27566): Disconnect from local: Successful quit
Regards Thomas