Mailbox alias plugin and INBOX. folders

James White james at jmwhite.co.uk
Mon Jan 23 08:42:04 UTC 2017


I have found a bit of a cruder workaround, essentially create the symlink within the email account mailbox manually on the FS. I’ve let my phone create the "Sent Items" and "Deleted Items” folder, then deleted them within my Maildir and then did ln -s .INBOX.Sent “.Sent Items”and ran chown -h to the correct permissions. This seems to have worked, the contents of INBOX.Sent now appears in the Sent Items folder on my phone likewise for Deleted Items, repeating the same process with the different folder names.

I believe this still creates the “double cache” issue, but I can live with that. The whole point of having IMAP is that your sent items and such go to the same place on all clients, but try telling Microsoft that!

James


> On 23 Jan 2017, at 08:33, Aki Tuomi <aki.tuomi at dovecot.fi> wrote:
> 
> 
> 
> On 22.01.2017 21:00, James White wrote:
>> Hi,
>> 
>> I'm trying to workaround the lack of IMAP folder mapping settings on
>> Windows 10 Mobile in regards to controlling the Sent, Trash etc folder
>> my device uses. Currently, my device creates its own "Sent Items" folder
>> "Deleted Items" folder along with others, this is pain when using
>> clients like Thunderbird which places such them in the correct places,
>> because it can be configured this way.
>> 
>> While this is a Microsoft issue, its looking very unlikely they will add
>> IMAP mapping control, as its been like this since Windows Phone 7. So I
>> was looking for performing a workaround at the server level.
>> 
>> I came across the Dovecot Mailbox alias plugin, which sounds like a
>> decent workaround, to at least allow sent email messages from my Windows
>> 10 mobile device to show up in the right place, I'm aware of the
>> potential for double cache etc, but I have enough storage for it.
>> 
>> http://wiki2.dovecot.org/Plugins/MailboxAlias
>> 
>> What I'm having difficulty with, is expressing the mailbox_alias to an
>> existing INBOX. folder. My email server uses the INBOX prefix setup, so
>> my configured folders are:
>> 
>> INBOX\INBOX.Sent
>> INBOX\INBOX.Drafts
>> INBOX\INBOX.Trash
>> INBOX\INBOX.Spam
>> 
>> Most examples seem to indicate doing at the root folder level i.e. Sent
>> Items -> Sent not Sent Items -> INBOX\INBOX.Sent.
>> 
>> Is it possible to use the alias plugin in this way? If so how would I
>> express this using mailbox_alias_old, I tried INBOX/Sent, but this seems
>> to send all items to a blackhole, as they can no longer be found in any
>> folder.
>> 
>> It does appear to work at the root folder level, but as my setup is
>> using the older INBOX prefix, I don't want to do that.
>> 
>> Any hints/tips would be appreciated!
>> 
>> Thanks,
>> 
>> James
>> 
> 
> There are special use flags \Trash, \Sent, \Spam etc,
> have you tried settings there?
> 
> Aki

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 873 bytes
Desc: Message signed with OpenPGP
URL: <http://dovecot.org/pipermail/dovecot/attachments/20170123/7f5efac5/attachment-0001.sig>


More information about the dovecot mailing list