Hi,
qmail-command defines a whole bunch of really useful environment variables
which are set, like HOST, SENDER, USER, LOCAL, etc.
We want to capture the sending host's IP address in a perl script, invoked
from a .qmail file, as we want to look it up in the MAPS lists and do some
stats and stuff.
It appears that we will have to parse the headers of the message to get the
ip address of the host it came from. Is this the only way?
cheers
peter
--
peter at gradwell dot com; online @ http://www.gradwell.com/