[Dovecot] Getting two mails.....
When I receive a mail that is addressed to my email address and also with a cc to a mailinglist I subscribe to, I get two mails, which I guess is expected... But I have just moved to Dovecot from Cyrus, and Cyrus seems to know that this is the same mail, so only one of those two mail is stored on the imap srv...
Is there some option I am missing in Dovecot or isn't this possible using Dovecot?
Regards,
BTJ
--
Bjørn T Johansen
btj@havleik.no
Someone wrote: "I understand that if you play a Windows CD backwards you hear strange Satanic messages" To which someone replied: "It's even worse than that; play it forwards and it installs Windows"
On Tue, 20 Nov 2007, Bjørn T Johansen wrote:
FWIW I use procmail to filter these things out; look for "The first is out of man procmailex and deals with duplicate messages. It should be the very first recipe, and looks like this:" at http://www.onlamp.com/pub/a/bsd/2001/12/06/FreeBSD_Basics.html?page=last .
-- Asheesh.
-- Don't wake me up too soon... Gonna take a ride across the moon... You and me.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tue, 20 Nov 2007, Bjørn T Johansen wrote:
I guess you mean: http://cyrusimap.web.cmu.edu/twiki/bin/view/Cyrus/DuplicateDeliveryExplained ?
As far as I know there is no such thing in Dovecot's deliver. However, deliver is easy to understand and probably you find someone to jump in and make a patch.
If you do not use Dovecot deliver, check your local MDA.
If you mean that Cyrus stores two identical mails only once physically, e.g. when spooling for two users, then no, because Dovecot is not designed to only support virtual users, but with real users two users cannot easily share the same file.
Bye,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBR0PmvS9SORjhbDpvAQKjUAf/cHT7IuJgwMnn9GmVSdgOlQuGUabsYqBR gWvMhJSBSYvIRwVs0T8dGe5QXh0lyxEGzNjRZzSFW+ntouSlToJDCW5Sg8XU45EY +1+2SEuB2ribWkLkwvmDx0QO4X9aV+o/2Q4xKWN8PhdMmDhS0O+ntyc3obBgrmB/ OqVnj8Nqz8/kxlzq3J5RuIaG8aJcyhoheNQXWO/g7EJ9VHgfZ4Y4Xj8HlB68skSK dCmr9CvR95Z7A1PmI06xl1XmkIb8p+DSAkp8nzknpHmmv0nHh5wi9GkAzno6C0Cv Gv8K4ZLSxZzwzATEQopJmPDOUbm3uGQopUctAUq2Huc+rHXRdeUwlQ== =d0lM -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wed, 21 Nov 2007, Mark Adams wrote:
Switch to Exim4 for your MTA. It won't Append 2 files to the same directory if it can see they both route to you.
Well, I expect any MTA to deliver a mail just once, if two recipients evaluate to the same mailbox. But to detect two deliveries in two separate mails is another problem and, because MessageIDs are not as globally unique as they should, there is no fail-proof method in order to detect them.
Bye,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBR0Uqli9SORjhbDpvAQIh+gf/WrbDwgMbTXS+OGjYiqGP+/eFxblxPaWu 7NMjLf3CQc0iyeqtlf6GrG+vgK4goqNPcPLN7AQ7PUH6YSptAHZT1PWX29nLLX6M QZ4sXXN009JJa07j+Y0Rl4lUq6vveFfw+Vepv6haUCRx62tDLQtbyKioKA5JumyH 8goBms2G37/Mmosf2igrXiUe0CI6ls6Jnov76753mY8sRNwUST+XY/qgN63/+27U GThoxoDkBBlLEBqdAnyQaMJGXRu9cZ4MJbCfJUYWqkRa3Q8OlCFrT5qvzCt8/kdx BQXjbaEsbnxdD5nMxkEXJB6MIP9lhR764v2D2ErJA+QQKorjNcYpnA== =4zhM -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Thu, 22 Nov 2007, Nikolay Shopik wrote:
The message ID is to be created by the sender, hence, is should be the same for both mails. (If the ID is added by a MTA, it's a SPAM indicator ;-) )
But although message IDs are required to be "globally unique" by RFC, it's a piece of data created by plenty of individual MUAs, bulk mailers, selfmade scripts etc.pp. Each implement a different strategy to acquire the "global uniqueness" (e.g. by putting together local hostname, mail domain, current time). But no such method is really fail proof. And at least - it is data any user can fake.
Bye,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBR0VHSy9SORjhbDpvAQLergf/UlD9DgtcWm5ia7tqdFxEJTg3jNJRWzYS nByUPyw1x4xvNV2ix5wNqrPgaGU17neMSWNNTJnIDwUH7AXq/uio6SmWUzAKiBbN S4ZEj0zfjjJcsYDHQT7QDUKzfFY3npTseaMGShGgYNyU+L+bUfRWo04ReYobme65 hYKfIkrIvU6lrKTLTEcJQMD2+5POyFx6o3zaEcbetH1dZ9QbBGQESbvFVNtwa7XW ce+81vVODr9Q62w7rycWgKlNwDjpQrZVpl0Yx7YkLk7rtmFfkSRA8DAYrUZJuTFM uhEKKyz4BlNdahlA8tHzgvzLhioY8AmsNbR4ZHfRKtFH3jem+elpwQ== =Y1bo -----END PGP SIGNATURE-----
Hi Nikolay,
As Steffen has already said, the "message-id" is not the same as the ID you will get from your MTA in the Received: Header
If the IDs in the received header on your end do not match, that is 2 seperate deliveries so you will get 2 in your box.
Different mail clients can get around this by hiding dupe threads (mutt for instance).
Mark
participants (5)
-
Asheesh Laroia
-
Bjørn T Johansen
-
Mark Adams
-
Nikolay Shopik
-
Steffen Kaiser