[interchange-cvs] interchange - kwalsh modified lib/Vend/Util.pm

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Wed Dec 21 21:03:40 EST 2005


User:      kwalsh
Date:      2005-12-22 02:03:40 GMT
Modified:  lib/Vend Util.pm
Log:
	* Prevent Interchange from tripping the DATE_SPAMWARE_Y2K (Date
	  header uses unusual Y2K formatting) SpamAssassin rule with every
	  email it sends.

Revision  Changes    Path
2.88      +3 -3      interchange/lib/Vend/Util.pm


rev 2.88, prev_rev 2.87
Index: Util.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Util.pm,v
retrieving revision 2.87
retrieving revision 2.88
diff -u -r2.87 -r2.88
--- Util.pm	8 Nov 2005 18:14:45 -0000	2.87
+++ Util.pm	22 Dec 2005 02:03:40 -0000	2.88
@@ -1,6 +1,6 @@
 # Vend::Util - Interchange utility functions
 #
-# $Id: Util.pm,v 2.87 2005/11/08 18:14:45 jon Exp $
+# $Id: Util.pm,v 2.88 2005/12/22 02:03:40 kwalsh Exp $
 # 
 # Copyright (C) 2002-2005 Interchange Development Group
 # Copyright (C) 1996-2002 Red Hat, Inc.
@@ -88,7 +88,7 @@
 use Vend::File;
 use subs qw(logError logGlobal);
 use vars qw($VERSION @EXPORT @EXPORT_OK);
-$VERSION = substr(q$Revision: 2.87 $, 10);
+$VERSION = substr(q$Revision: 2.88 $, 10);
 
 my $Eval_routine;
 my $Eval_routine_file;
@@ -1936,7 +1936,7 @@
 			$from = $1;
 		}
 		push @extra_headers, "From: $from" unless (grep /^From:\s/i, @extra_headers);
-		push @extra_headers, 'Date: ' . POSIX::strftime('%a, %d %b %y %H:%M:%S %Z', localtime(time())) unless (grep /^Date:\s/i, @extra_headers);
+		push @extra_headers, 'Date: ' . POSIX::strftime('%a, %d %b %Y %H:%M:%S %Z', localtime(time())) unless (grep /^Date:\s/i, @extra_headers);
 
 		my $mime = '';
 		$mime = Vend::Interpolate::mime('header', {}, '') if $use_mime;








More information about the interchange-cvs mailing list