lookup-domain.pl produces procmail.log error entries

Hi,

lookup-domain.pl in /etc/webmin/virtual-server produces this log entry in /var/log/procmail.log for every email:

Insecure $ENV{PATH} while running with -T switch at /etc/webmin/virtual-server/lookup-domain.pl line 12.
procmail: Program failure (255) of "/etc/webmin/virtual-server/lookup-domain.pl"

proposed patch attached.

ciao, Marc

Status: 
Closed (fixed)