<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Emptying trash folder deletes inbox</title> 
  <pubDate>Fri, 10 Apr 2026 00:23:13 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/5202</link> 
  <atom:link rel="self" type="application/rss+xml" title="Emptying trash folder deletes inbox" href="https://bugs.horde.org/ticket/5202/rss" /> 
  <description>Emptying trash folder deletes inbox</description> 
 
   
   
  <item> 
   <title>We&#039;ve been having cases where users go into their trash fold</title> 
   <description>We&#039;ve been having cases where users go into their trash folders and instead of clicking on &quot;Empty Trash&quot; they click on &quot;Empty Trash Folder&quot;.  In certain cases (which I haven&#039;t been able to reproduce) Imp will delete the user&#039;s INBOX, leaving the trash folder intact.  



I have not been able to reproduce this error, nor has there been a flood of complaints from users about it... but we HAVE had to restore 5 inboxes from backups in the last week for this exact problem so there&#039;s definitely something wrong.



The ONLY thing that I can think of that might be related is when you look at the URLS you see the following:

(note that we&#039;ve called the trash folder &quot;WebTrash&quot; to differentiate it from other imap trash folders)



https://webmail.ualberta.ca/mailbox.php?mailbox=WebTrash&amp;actionID=empty_mailbox  (this is the empty trash button URL)



https://webmail.ualberta.ca/mailbox.php?actionID=empty_mailbox  (this is the &quot;empty trash folder&quot; link URL)



So since that link doesn&#039;t appear in any other folder you&#039;d think they should be identical.



I&#039;d recommend removing the &quot;empty trash folder&quot; link entirely.  </description> 
   <pubDate>Mon, 02 Apr 2007 21:43:36 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5202#t31076</link> 
  </item> 
   
  <item> 
   <title>Just as an update to this we&#039;ve removed the &quot;Empty Trash Fol</title> 
   <description>Just as an update to this we&#039;ve removed the &quot;Empty Trash Folder&quot; action in /horde/imp/templates/mailbox/actions.inc.  Just can&#039;t risk nuking peoples&#039; inboxes.  I&#039;m wondering why it was put there in the first place considering there already is an empty trash button AND since the trash folder is the only one that has the secondary option for deleting.  Doesn&#039;t make sense.  I&#039;ve commented out the following lines:



&lt;!--

&lt;?php if ($trashMbox): ?&gt;

   &lt;?php echo Horde::widget(Util::addParameter($mailbox_url, &#039;actionID&#039;, &#039;empty_mailbox&#039;), _(&quot;Empty Trash folder&quot;), &#039;widget&#039;, &#039;&#039;, &quot;return confirm(&#039;&quot; . addslashes(_(&quot;Are you sure you wish to empty this folder?&quot;)) . &quot;&#039;);&quot;, _(&quot;Empty Trash folder&quot;)); ?&gt;

&lt;?php endif; ?&gt;

--&gt;



Personally I see no reason to uncomment that even if it gets fixed... but I don&#039;t like making too many local mods to the code so if the issue can be tracked down and fixed I&#039;d consider putting it back in.</description> 
   <pubDate>Tue, 03 Apr 2007 16:12:37 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5202#t31088</link> 
  </item> 
   
  <item> 
   <title>Fixed by:

http://lists.horde.org/archives/cvs/Week-of-Mon-2</title> 
   <description>Fixed by:

http://lists.horde.org/archives/cvs/Week-of-Mon-20070402/066575.html</description> 
   <pubDate>Fri, 06 Apr 2007 21:43:45 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5202#t31162</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
