Re: [exim] Perl and locale

Top Page
Delete this message
Reply to this message
Author: Marc Haber
Date:  
To: exim-users
Subject: Re: [exim] Perl and locale
On Mon, 23 Jan 2006 19:17:52 +0100, Stanislaw Halik
<weirdo@???> wrote:
>Marc Haber <mh+exim-users@???> wrote:
>>>> Could I use "env -i start-stop-daemon --start ..."? I only need use
>>>> Perl inside Exim with no change in timestamp format...
>>>Yes, that should work. Since you're using Debian I suggest filing this
>>>as a bug. I'm not sure whether the bug is in Debian's stuff, or in
>>>perl, or in exim...
>> We could surely remove some variables from the environment prior to
>> invoking the exim daemon. Which ones?
>
>LANG and (possibly) all LC_* ones.


I have decided to go for a whitelist approach and invoke the exim
daemon(s) with a completely clean environment, with only LANG and PATH
pre-set. If more are needed, these will be added on demand.

Greetings
Marc

-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber         |   " Questions are the         | Mailadresse im Header
Mannheim, Germany  |     Beginning of Wisdom "     | http://www.zugschlus.de/
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834