[Dovecot] Lifetime of redirect info stored by Sieve in .dovecot.lda-dupes

Axel Luttgens axel.luttgens at skynet.be
Thu May 8 12:22:18 UTC 2014


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 at example.com" and a sieve script similar to this one:

	redirect "user1 at example.com";
	redirect "user2 at example.com";
	redirect "user3 at 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 at 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



More information about the dovecot mailing list