From 6857a28f0e1a3c599e4a4fae6f50c02fa584b683 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 7 Jul 2011 19:18:40 +0000 Subject: [PATCH] * Postfix needs TZ to be set, otherwise the generated headers are wrong (reported by Peter Simons). svn path=/nixos/trunk/; revision=27639 --- modules/services/mail/postfix.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/services/mail/postfix.nix b/modules/services/mail/postfix.nix index 2cb07bd05c0..71f3a89f19c 100644 --- a/modules/services/mail/postfix.nix +++ b/modules/services/mail/postfix.nix @@ -315,6 +315,8 @@ in 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