Outlook renames Junk folder
Cliff Hayes
chayes at afo.net
Thu Jun 13 21:07:50 EEST 2019
Thank you. You are right. It is a sieve issue, but I do not know the
"IF FOLDER DOES NOT EXIST" code for sieve and I cannot find an example.
I would rather send the mail to Junk Email than create a folder. So the
code should look like:
IF (DESTINATION FOLDER = "Junk") {
IF (DESTINATION FOLDER DOES NOT EXIST) {
ATTEMPT TO STORE EMAIL IN "Junk Email" FOLDER
On 6/13/2019 3:35 AM, Sami Ketola via dovecot wrote:
>
>
>> On 12 Jun 2019, at 23.01, Cliff Hayes via dovecot <dovecot at dovecot.org
>> <mailto:dovecot at dovecot.org>> wrote:
>>
>> Hello,
>>
>> Some versions of Outlook will randomly rename the Junk folder to Junk
>> Email.
>>
>> This of course causes errors because Dovecot can no longer store junk.
>>
>> I go in to Outlook for each user and add another Junk folder, so now
>> they have Junk and Junk Email. This fix action lasts a while until
>> Outlook decides to do it again.
>
> According to https://www.imapwiki.org/SpecialUse Outlook might support
> RFC6154 SPECIAL-USE extension.
> You can try setting special_use = \Junk for that junk folder.
>
>>
>> Is there a way to tell Dovecot that if the Junk folder doesn't exist,
>> try sending the email to Junk Email folder?
>>
>
> Dovecot does not do that. You must mean sieve script. You can add
> :create into your fileinto directive to make pigeonhole to create the
> folder if it does not exist.
>
> also you can use ACL to forbid user from deleting/renaming the Junk folder.
>
> Sami
>
More information about the dovecot
mailing list