A colleague of mine who uses bash (I use zsh even as root) restarted
qpsmtpd-forkserver a few days ago, and we found that some plugins
(virus/clamav and one I wrote) terminated with a fatal plugin error
after that, because exec (I think) considers BASH_ENV tainted.

So my current list of environment variables which should be unset before
starting qpsmtpd-forkserver is:

 PERL_UNICODE
 LANG
 LC_TIME
 LC_ALL
 BASH_ENV

This is starting to get a bit cumbersome. Maybe it's better to clean out
all environment variables except those that we need?

        hp

-- 
   _  | Peter J. Holzer    | I know I'd be respectful of a pirate 
|_|_) | Sysadmin WSR       | with an emu on his shoulder.
| |   | [EMAIL PROTECTED]         |
__/   | http://www.hjp.at/ |    -- Sam in "Freefall"

Attachment: signature.asc
Description: Digital signature

Reply via email to