I have this alias in /etc/aliases:
apx:|/usr/local/admin/myscript.pl This script uses Net::SSH::Perl to connect to a remote machine and execute a command. It works fine from the command line, however, when sendmail invokes it, it fails. It is tryting to create this directory: /.ssh Root's home directory is /root/.ssh and root's ssh stuff is in /root/.ssh. Sendmail is running as root:root. Does anyone know why it is trying to create this directory? Is there a way I can explictly set a HOME variable in the perl script. Has anyone done anything similiar to this? Thanks, Chuck -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]