name of mailbox of implicit keep (was Re: Sieve extension for testing for mailbox)

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Wed May 11 06:04:06 UTC 2016


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

On Tue, 10 May 2016, Jon Kristensen wrote:

> Which Pigeonhole Sieve extension should I use to process/test a message 
> depending on whether the message is in a particular mailbox? (Is it the 
> mboxmetadata extension by any chance? If so, I would appreciate if 
> someone could tell me what the reason is for it not being enabled by 
> default.)

> The reason I want to perform this test is that I have configured my MTA 
> to deliver "outgoing" e-mails to my "Sent" IMAP folder, and these 
> messages arrive unread. I would like to mark them as read using Sieve.

er, I guess, "message is in a particular mailbox" is meaning it to be 
spooled, or something like that, right?

Do you use subaddressing (aka +addressing, +detail addressing)? Then look 
here: 
http://wiki2.dovecot.org/Pigeonhole/Sieve/Examples#Plus_Addressed_mail_filtering

If you want to resolve the question in the second paragraphe, search the 
mailing list archive about how to get the name of the mailbox, the 
implicit keep stores the message in. I'm pretty sure, that there was such 
question lately.

If you actually want to resolve the question in the first paragraphe, to 
check whether or not the same message has been spooled in a folder already 
(aka duplicate check), check out the duplicate extension with ":handle" 
argument. But you probably need to know the target mailbox, too.

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEVAwUBVzLLVnz1H7kL/d9rAQJUdwgAi/mMAxMxAGleV1TkAhZH0p37bLH7NWcI
OpkQ9VDQEXr8WFjXQesITpwJrnROZFL+IrmIpWY6s+tcjO045PU9N89gfPB+gjt+
g9fN+w6eKtOKvsLQdAsD8Ut+LP0qaLORaMgFHe+2ZpJItxp5iz7nSvXymusqB9ad
lhIre61YfU7u97t/UUG2uvK7s4mdLhapX0wDP+Lp7KP3E19lWCK7IFvXZ6cWjNY/
JHZUytcKEghlF1LPnPp5372kUn/46NN8q9tYA/Qwsy4ErDImNBYmSnJUi05Q6uDR
RYaBjZR1pq9mT2oOkBAds+z570YRIfO37HX7KVH+BvnHyimbItmPjg==
=80sz
-----END PGP SIGNATURE-----


More information about the dovecot mailing list