<?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>Add forwarded icon to mailbox view</title> 
  <pubDate>Sun, 05 Apr 2026 20:30:19 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/3402</link> 
  <atom:link rel="self" type="application/rss+xml" title="Add forwarded icon to mailbox view" href="https://bugs.horde.org/ticket/3402/rss" /> 
  <description>Add forwarded icon to mailbox view</description> 
 
   
   
  <item> 
   <title>I&#039;m cleaning up my mailbox, here&#039;s an old thread:



Am Donn</title> 
   <description>I&#039;m cleaning up my mailbox, here&#039;s an old thread:



Am Donnerstag, 9. Juni 2005 17:20 schrieb Chuck Hagenbuch:

&gt; Quoting Simon Detheridge &lt;simon@widgit.com&gt;:

&gt; &gt; Is it possible to have forwarded messages as marked &#039;forwarded&#039;? Most

&gt; &gt; other mailclients do this, so I&#039;m suprised not to be able to find this

&gt; &gt; feature.

&gt; &gt;

&gt; &gt; Has anyone come up with a hack/patch?

&gt; &gt;

&gt; &gt; Similarly, is there any way of applying user-defined categories to mails,

&gt; &gt; so they can be marked with different colors/statuses/etc?

&gt;

&gt; The IMAP protocol doesn&#039;t make provisions for either of these.

&gt;

&gt; -chuck



Hmmm, I use thunderbird for my work mailaccount and mark messages as forwarded

and I give them user defined status, too.



Recently I connected to my work mailbox from a newly configured thunderbird at

home and all the flags were there, even the user defined ones. So these flags

have to be on the server somehow (it&#039;s a cyrus).



Implementing server side user defined status flags would be better that any

hack.



Quoting Chuck Hagenbuch &lt;chuck@horde.org&gt;:

Quoting Simon Detheridge &lt;simon@widgit.com&gt;:

It seems like this should be trivial. Is there an option I&#039;m missing, or do I

need to modify a php file somewhere?

You&#039;d have to implement it. On large mailboxes it&#039;ll be quite slow.

I had a bash at it. I&#039;ve attached a patch that provides the icon and works on my

system. I expect all the seasoned developers will be horrified with the way it&#039;s

done, as I&#039;ve not had a stab at playing with horde code before. ;-)



It *will* stop my users asking for it however.



There are problems with reading fhe &#039;forwarded&#039; state from the history, for

example you can&#039;t &quot;mark as&quot; forwarded, or similarly unmark... Not without doing

some history-mangling, which seems incredibly unwise.



I&#039;m thinking that a hack like this could be used to add category information...

By adding it to the maillog for the message in question. There&#039;d be no way to

search on it though. It&#039;d probably need a separate table...</description> 
   <pubDate>Fri, 03 Feb 2006 16:27:20 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3402#t16267</link> 
  </item> 
   
  <item> 
   <title>I have serious reservations about the suggested implementati</title> 
   <description>I have serious reservations about the suggested implementation. At the least this should be done using the mailbox cache instead.</description> 
   <pubDate>Sat, 04 Feb 2006 22:11:17 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3402#t16297</link> 
  </item> 
   
  <item> 
   <title>True. I&#039;m also fine with rejecting this patch, but such a fe</title> 
   <description>True. I&#039;m also fine with rejecting this patch, but such a feature has been asked for many times and the patch never has been discussed.</description> 
   <pubDate>Sun, 05 Feb 2006 14:30:19 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3402#t16314</link> 
  </item> 
   
  <item> 
   <title>I  just noticed that Cyrus has a predefined non-system imap </title> 
   <description>I  just noticed that Cyrus has a predefined non-system imap flag called $Forwarded, maybe we can use that. I&#039;m working on setting custom flags atm anyway.</description> 
   <pubDate>Mon, 06 Feb 2006 23:57:47 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3402#t16349</link> 
  </item> 
   
  <item> 
   <title>&gt; I  just noticed that Cyrus has a predefined non-system ima</title> 
   <description>&gt; I  just noticed that Cyrus has a predefined non-system imap flag 

&gt; called $Forwarded, maybe we can use that. I&#039;m working on setting 

&gt; custom flags atm anyway.



Cool. FWIW, the thing that&#039;s held me up in the past is retrieving them - we can send whatever we want with imap_setflag_full/imap_clearflag_full. But there isn&#039;t an imap_* function for directly retrieving flags.</description> 
   <pubDate>Tue, 07 Feb 2006 04:47:43 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3402#t16351</link> 
  </item> 
   
  <item> 
   <title>Yeah, I just noticed that. The only function that retrieves </title> 
   <description>Yeah, I just noticed that. The only function that retrieves these flags is imap_header() which doesn&#039;t do what you expect from it&#039;s name, but retrieves more or less every message&#039;s full headers and partial bodies of a complete mailbox. Guess how efficient this is...

Anyway, I got it working now, but it probably should be enabled with mailbox cache only, and only on small installs.</description> 
   <pubDate>Tue, 07 Feb 2006 10:29:09 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3402#t16364</link> 
  </item> 
   
  <item> 
   <title>What&#039;s the state of this, btw?</title> 
   <description>What&#039;s the state of this, btw?</description> 
   <pubDate>Fri, 11 Aug 2006 15:10:29 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3402#t22955</link> 
  </item> 
   
  <item> 
   <title>Still lingering around on my server, but it will probably ne</title> 
   <description>Still lingering around on my server, but it will probably never make it into CVS. It&#039;s too ugly, kills performance, and probably breaks the imap cache.</description> 
   <pubDate>Fri, 11 Aug 2006 15:29:32 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3402#t22964</link> 
  </item> 
   
  <item> 
   <title>Any reason not to close this ticket then?</title> 
   <description>Any reason not to close this ticket then?</description> 
   <pubDate>Fri, 11 Aug 2006 16:38:30 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3402#t22970</link> 
  </item> 
   
  <item> 
   <title>Well maybe we get the necessary information from ext/imap on</title> 
   <description>Well maybe we get the necessary information from ext/imap one day more effectively, stalled until then.</description> 
   <pubDate>Fri, 11 Aug 2006 16:44:50 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3402#t22973</link> 
  </item> 
   
  <item> 
   <title>I smell the new IMAP library...</title> 
   <description>I smell the new IMAP library...</description> 
   <pubDate>Sun, 09 Nov 2008 02:23:31 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3402#t50509</link> 
  </item> 
   
  <item> 
   <title>Added to IMP 5.</title> 
   <description>Added to IMP 5.</description> 
   <pubDate>Wed, 17 Dec 2008 06:14:55 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3402#t51311</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Request #340</title> 
   <description>Changes have been made in Git for this ticket:

Request #3402 - Add support for &#039;$Forwarded&#039; IMAP keyword

http://git.horde.org/diff.php/imp/docs/CHANGES?rt=horde-git&amp;r1=4b75c91ba3c108bf447725e207daa7c8217aebb0&amp;r2=b4cc0cff3495af6da6d84d3c12a38cba48b5aae9
http://git.horde.org/diff.php/imp/lib/Compose.php?rt=horde-git&amp;r1=755891fc5613924d6be74e0a55fb8e3aefb75af6&amp;r2=b4cc0cff3495af6da6d84d3c12a38cba48b5aae9
http://git.horde.org/diff.php/imp/lib/IMP.php?rt=horde-git&amp;r1=6c5d78042f5e4c84777d95f7b986ed8c68178cde&amp;r2=b4cc0cff3495af6da6d84d3c12a38cba48b5aae9
http://git.horde.org/diff.php/imp/lib/Views/ListMessages.php?rt=horde-git&amp;r1=c2ce6a16f93ba0e3a98d5134b4b68f5fef14752a&amp;r2=b4cc0cff3495af6da6d84d3c12a38cba48b5aae9
http://git.horde.org/diff.php/imp/mailbox-mimp.php?rt=horde-git&amp;r1=2bfcb48ac4046875fee8dfa10ed2c850150dec51&amp;r2=b4cc0cff3495af6da6d84d3c12a38cba48b5aae9
http://git.horde.org/diff.php/imp/mailbox.php?rt=horde-git&amp;r1=1ab28217cb086bd04c53c45e400c10198dfc6961&amp;r2=b4cc0cff3495af6da6d84d3c12a38cba48b5aae9
http://git.horde.org/diff.php/imp/message-mimp.php?rt=horde-git&amp;r1=d7f793427c092e67d8e8461caf2f4cd368c9f4bd&amp;r2=b4cc0cff3495af6da6d84d3c12a38cba48b5aae9
http://git.horde.org/diff.php/imp/message.php?rt=horde-git&amp;r1=9cd2bfdc9a3d6ad28195ced4ee9d7ab6ca3600d2&amp;r2=b4cc0cff3495af6da6d84d3c12a38cba48b5aae9
http://git.horde.org/diff.php/imp/templates/mailbox/navbar.html?rt=horde-git&amp;r1=494134b0cb53996bc9815e438ac7bf14bd3fea50&amp;r2=b4cc0cff3495af6da6d84d3c12a38cba48b5aae9
http://git.horde.org/diff.php/imp/themes/screen-dimp.css?rt=horde-git&amp;r1=99c47fb5b74d0acee293eaf6db66e4ea58bdc9c3&amp;r2=b4cc0cff3495af6da6d84d3c12a38cba48b5aae9
http://git.horde.org/diff.php/imp/themes/screen.css?rt=horde-git&amp;r1=0ce47ed65bf6ec3969f412b5427625ebc8a44c60&amp;r2=b4cc0cff3495af6da6d84d3c12a38cba48b5aae9</description> 
   <pubDate>Tue, 12 Jan 2010 23:55:57 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3402#t57483</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
