Le 8 mai 2014 à 13:14, Stephan Bosch a écrit :
Axel Luttgens schreef op 8-5-2014 11:29:
Hello,
A quick question.
How long are the Message-ID and recipient of forwarded messages (thru the redirect action) kept in .dovecot.lda-dupes?
According to the code, it could be 24 hours; am I right?
Yes. Why are you asking?
Many thanks for your reply, Stephan.
I'm asking because I've been questioned this morning about following scenario.
Let's say one has a "redirect only" mailbox, having address "triplet@example.com" and a sieve script similar to this one:
redirect "user1@example.com";
redirect "user2@example.com";
redirect "user3@example.com";
discard;
When retrieving his messages with his MUA, user1 notices a message that should have been sent to user99. He thus decides to forward that message to user99, and puts triplet@example.com in the Cc: field so as to inform the other users (user2 and user3) that they don't need to bother about that message anymore.
So, you sure guess what happened (for my part, I had to look in the log): no redirect action succeeded for the informative message, since its Message-ID was the same as the original one ("discarded duplicate forward to ...").
One thing leading to another, I then came with that lifetime-related question. ;-)
Axel