On our Linux systems, the path to perl on our servers is the following: #!/usr/bin/perl The path to sendmail is the following: /usr/sbin/sendmail