summaryrefslogtreecommitdiff
blob: 272bcfda47fa7c0c9dd9419f1927a22ce17abec5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- a/tenshi
+++ b/tenshi
@@ -45,7 +45,6 @@
 
 my $our_hostname = hostname();
 my @startup_time = localtime();
-my $timezone     = get_timezone();
 
 my ($uid, $gid);
 
@@ -818,6 +817,7 @@
         return;
     }
 
+    my $timezone = get_timezone();
     my $subject = $main{$queue}{'subject'} || $subject;
 
     $smtp->datasend("From: $main{$queue}{'mailfrom'}\n");