Re: [Exim] TMPDIR env variable

Góra strony
Delete this message
Reply to this message
Autor: Kirill Miazine
Data:  
Dla: J. Nick Koston
CC: Exim List
Temat: Re: [Exim] TMPDIR env variable
No, it should not. YOU need to do this if you think so.

How do you start Exim? As root? Well, maybe root's $TMPDIR is /root/tmp?
I prefer to start daemons with the environment where only $PATH is set.
That way one can avoid various surprises.

In your startup script do something similar to the below:

    # Fire up Exim and make sure $TMPDIR is /tmp
    env TMPDIR=/tmp /local/bin/exim -bd -q30m


J. Nick Koston wrote:
> exim really needs to make set this to a sane value on startup. On
> mandrake 9.0 it is set to /root/tmp when so exim can never open its
> wait/retry db files since dbm can never generate a tmp file.


--
Kirill Miazine
mailto:km@krot.org
http://km.krot.org/