On Thu, Aug 14, 2003 at 01:09:12PM -0500, Jon Nelson <[EMAIL PROTECTED]> wrote:
On Thu, 14 Aug 2003, Bob Bell wrote:
> I'm using IMAP_MOVE_EXPUNGE_TO_TRASH to move all deleted mail to a trash > folder. What's mildly annoying is that mail that is moved from one > folder to another also winds up in the trash folder. Is there any way > to avoid this behavior, and only moved messages to the trash folder when > it is "truly being deleted"?


Basically, no.
IMAP has no concept of "moving" mail, only "copying" mail.
Thus, a "move" really is (copy+delete).
I suppose smarts could be put in the IMAPd such that if a message has
just been copied from folder A to folder B and then deleted from folder
A that it won't put it in the Trash folder, but honestly, I think that
quite a few people would find that unintuitive considering past
(expected) behaviors.

Hrm, that's what I was afraid of. For now, my solution is to use 'formail -D' from a cron job to delete duplicate messages in my Trash. If anyone has a better solution, please let me know.

--
Bob Bell


------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to