Per Jessen wrote:
Michael M Slusarz wrote:
Quoting Per Jessen per@computer.org:
Lots of people must have had this issue before me - users using different devices&software (pc, smartphone, tablet, thunderbird, outlook, webmail) and languages (e.g. English on the PC, German on the iPhone), some folders end of with different names - e.g. "Sent" and "Gesendete Elemente" - meaning the same thing, namely "sent mails".
How do you map these to just one folder such that it shows up correctly independently of what the user happens to be using?
It sounds like something for the
mailbox "Sent" { special_use = \Drafts }
config directive? Is that what it might be used for?
mailbox "Sent" { special_use = \Sent } mailbox "Gesendete Elemente" { special_use = \Sent }
Remember that SPECIAL-USE flags are informational. A MUA remains free to do anything they want regarding where they save sent messages.
An option is to use virtual mailboxes to map to a single master Sent mailbox. But you then have to define all possible combinations of Sent mailbox labels, so it's not foolproof either.
I wasn't aware of the virtual plugin, thanks. Like you say, this looks like defining one virtual mailbox "Sent" to cover all of the various names, depending on MUA and language. Similar for Draft, Junk, and Trash. Does anyone have as working example?
I'm trying to get my head around this - the special_use flag is given out to an IMAP client as a _hint_ of where certain messages belong? If that's correct, what would be the purpose of having two (or more) such hints for e.g. \Sent ?
-- Per Jessen, Zürich (12.9°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland.