[Rt-commit] r7705 - in rt/branches/3.7-EXPERIMENTAL: .

ruz at bestpractical.com ruz at bestpractical.com
Wed Apr 25 23:09:23 EDT 2007


Author: ruz
Date: Wed Apr 25 23:09:22 2007
New Revision: 7705

Modified:
   rt/branches/3.7-EXPERIMENTAL/   (props changed)
   rt/branches/3.7-EXPERIMENTAL/etc/initialdata

Log:
 r5153 at cubic-pc:  cubic | 2007-04-26 06:54:59 +0400
 * add 'bad GnuPG data' error template


Modified: rt/branches/3.7-EXPERIMENTAL/etc/initialdata
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/etc/initialdata	(original)
+++ rt/branches/3.7-EXPERIMENTAL/etc/initialdata	Wed Apr 25 23:09:22 2007
@@ -409,11 +409,9 @@
 
 You received this message as RT has problems with public keys of the following user:
 {
-    my $res = '';
     foreach my $e ( @BadRecipients ) {
-        $res .= "* ". $e->{'Message'} ."\n";
+        $OUT .= "* ". $e->{'Message'} ."\n";
     }
-    $res
 }}
     },
     {  Queue       => 0,
@@ -428,6 +426,18 @@
 Please, check that you encrypt messages with correct keys
 or contact the system administrator.}
     },
+    {  Queue       => 0,
+       Name        => "Error: bad GnuPG data",    # loc
+       Description =>
+         "Inform user that a message he sent has invalid GnuPG data", # loc
+       Content => q{Subject: We received a message we cannot handle
+
+You sent us a message that we cannot handle due to corrupted GnuPG signature or encrypted block. we get the following error(s):
+{ foreach my $msg ( @Messages ) {
+    $OUT .= "* $msg\n";
+  }
+}}
+    },
 );
 # }}}
 


More information about the Rt-commit mailing list