This is very good. A safe default (no import_environment) maybe TZ USER and
HOME. Just to maintain functionality if people don't set this up.
-----Original message----- From: Timo Sirainen tss@iki.fi To: Dovecot Mailing List dovecot@dovecot.org Cc: "Trever L. Adams" trever.adams@gmail.com Sent: Wed, Feb 9, 2011 23:55:06 GMT+00:00 Subject: Re: [Dovecot] LDAP and GSSAPI problems
On Thu, 2011-02-10 at 01:17 +0200, Timo Sirainen wrote:
(does this really need to be set over and over or can the master process set it and have the environment inherited... it has been a long time since I did any coding related to environment variables accross forks, etc.)?
Environment is inherited, but Dovecot explicitly clears it at the startup of each process, so any unnecessary stuff gets dropped out. But it would be possible to add e.g. DOVECOT_PRESERVE_ENVS that lists which environments variables should be preserved.