Author: eelco
Date: Thu Jul  7 19:18:40 2011
New Revision: 27639
URL: https://svn.nixos.org/websvn/nix/?rev=27639&sc=1

Log:
* Postfix needs TZ to be set, otherwise the generated headers are
  wrong (reported by Peter Simons).

Modified:
   nixos/trunk/modules/services/mail/postfix.nix

Modified: nixos/trunk/modules/services/mail/postfix.nix
==============================================================================
--- nixos/trunk/modules/services/mail/postfix.nix       Thu Jul  7 19:08:51 
2011        (r27638)
+++ nixos/trunk/modules/services/mail/postfix.nix       Thu Jul  7 19:18:40 
2011        (r27639)
@@ -315,6 +315,8 @@
 
         respawn = true;
 
+        environment.TZ = config.time.timeZone;
+
         script = ''
           while ${pkgs.procps}/bin/ps `${pkgs.coreutils}/bin/cat 
/var/postfix/queue/pid/master.pid` |
             grep -q postfix
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to