Index: /trunk/roundcubemail/CHANGELOG
===================================================================
--- /trunk/roundcubemail/CHANGELOG	(revision 2622)
+++ /trunk/roundcubemail/CHANGELOG	(revision 2623)
@@ -2,4 +2,5 @@
 ===========================
 
+- Colorized signatures in plain text messages
 - Reviewed/fixed skip_deleted/read_when_deleted/flag_for_deletion options handling in UI
 - Fix displaying of big maximum upload filesize (#1485889)
Index: /trunk/roundcubemail/program/steps/mail/func.inc
===================================================================
--- /trunk/roundcubemail/program/steps/mail/func.inc	(revision 2622)
+++ /trunk/roundcubemail/program/steps/mail/func.inc	(revision 2623)
@@ -820,5 +820,12 @@
     $body = Q(join("\n", $a_lines), 'replace', false);
 
-    // ... colorize quoted lines
+    // colorize signature
+    if (($sp = strrpos($body, '-- ')) !== false)
+      if (($sp == 0 || $body[$sp-1] == "\n") && $body[$sp+3] == "\n") {
+	$body = substr($body, 0, max(0, $sp))
+	    .'<span class="sig">'.substr($body, $sp).'</span>';
+      }
+
+    // colorize quoted lines
     $a_lines = preg_split('/\n/', $body);
     foreach ($q_lines as $i => $q)
Index: /trunk/roundcubemail/skins/default/mail.css
===================================================================
--- /trunk/roundcubemail/skins/default/mail.css	(revision 2622)
+++ /trunk/roundcubemail/skins/default/mail.css	(revision 2623)
@@ -885,4 +885,9 @@
 }
 
+div.message-part span.sig
+{
+  color: #666666;
+}
+
 div.message-part blockquote
 {
