6.0.0-beta1
10/17/25

[#1373] Delete Message doesn't work for pop if global use_trash is set
Summary Delete Message doesn't work for pop if global use_trash is set
Queue IMP
Queue Version 3.2.7
Type Bug
State Resolved
Priority 2. Medium
Owners
Requester y.rouillard (at) laposte (dot) net
Created 02/14/2005 (7550 days ago)
Due
Updated 02/14/2005 (7550 days ago)
Assigned
Resolved 02/14/2005 (7550 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
02/14/2005 05:30:20 PM Jan Schneider Comment #2
State ⇒ Resolved
Reply to this comment
Fixed in CVS.
02/14/2005 01:52:54 PM y (dot) rouillard (at) laposte (dot) net Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Delete Message doesn't work for pop if global use_trash is set
Queue ⇒ IMP
New Attachment: pop3-delete.patch Download
Reply to this comment
I have the following setup.

I have 2 differents groups of user who use differents mail servers, 
Horde allow them to connect to both. One is accessed via IMAP or POP, 
the other only via POP.

I setup Horde to access the first one using IMAP



For the IMAP server, as users sometimes consults using Horde and later 
retrieve their mail via POP, I forced the use_trash option so that 
they don't download messages they deleted via Horde/IMAP.



The problem is that this setting also apply to the other POP server. 
So deletion doesn't work because it can't use trash with pop.



The solution is to try to use trash only if use_trash is set and if 
pop is not the protocol used.



I joined a tiny patch which do this modification




Saved Queries