[sync] How to purge Deleted Folder with ActiveSync

list-no-spam at ryux.org list-no-spam at ryux.org
Tue Feb 12 17:29:41 UTC 2013


Michael J Rubinsky <mrubinsk at horde.org> a écrit :

> Quoting list-no-spam at ryux.org:
>
>> Michael J Rubinsky <mrubinsk at horde.org> a écrit :
>>
>>> Quoting list-no-spam at ryux.org:
>>>
>>>> Hi,
>>>>
>>>> it seems that we can not delete all messages from 'deleted folder'.
>>>> All is ok with IMP, but with an ios and ActiveSync Configuration,
>>>> nothing happens !
>>>> Any idea ?
>>>
>>> If you mean you are trying to expunge the Deleted Folder from the
>>> ActiveSync client, that is entirely in the realm of the client
>>> software. There is no "Expunge" or "Empty" command in ActiveSync.
>>> This has to be done via the MUA. I.e., from within IMP.
>>> --
>>> mike
>>>
>>
>> Hum... I disagree on some part.
>> I understand that there is no command to expunge the deleted folder.
>> But, I just checked with a real Exchange Account (with Microsoft
>> Exchange Server 2007 SP3) on my iPhone and the message is deleted
>> from the Deleted Folder.
>> I don't know how it works... Maybe it detects that the message is in
>> the Deleted Folder and the system erase it instead of move it...
>> But it works as asked with Exchange
>
> I misunderstood your question then. I thought you were looking for a
> way to explicitly expunge your Deleted folder from the client. This
> cannot be done.
>
> Instead, what it sounds like you are asking is that when you delete a
> message from the device, instead of moving it to the Deleted folder
> that *you* configured, you want instead to immediately expunge it?
>
> The way it currently works is, if you have configured IMP to move
> messages to a Deleted/Trash folder then EAS will do the same. If you
> do NOT have a configured Deleted/Trash folder, then any messages
> deleted on the EAS client will instead be immediately expunged. Note
> that this DOES NOT work on iOS due to a bug/feature where iOS requires
> a Trash folder, and will ALWAYS move the message to the trash,
> regardless of what we tell it we want.
>
> The only way you could get what you seem to want (have a configured
> Trash folder, yet tell EAS not to use it) is to add an explicit
> preference for this. I don't want to add this upstream since this (1)
> needlessly complicates the code, and (2) can lead to potentially
> confusing situations due to the two places we would have to configure
> Trash related behavior.
> --
> mike

Ok, sorry.
it is my fault with my english :)
I sum up my wish (or rather this of my users).

Here a simple use case :
They receive a lot of spams and only use iPhone or iPad as devices.
To delete this spams, they select all messages and delete them.
Then, they go in the Deleted Folder and they want to expunge all  
messages => this is not possible...

With one of your explanations, one solution would be to not configure  
any Trash Folder in IMP. But the problem will be the same due to the  
iOS bug...

Do you have a workaround for this issue ?

(I hope I'm clear in my sentence this time :))

PS: But I repeat that this problem does not exist with an Microsoft  
Exchange Server...

Ryu




More information about the sync mailing list