View Single Post
Old 24th November 2009, 00:35
almeister9 almeister9 is offline
Join Date: Sep 2008
Posts: 36
Thanks: 6
Thanked 3 Times in 3 Posts
Default Outputs

Hi Falko,
Thanks for looking at this for me.

The output of "which mail" is nothing.

The output of "which ssmtp" is:

When I started again from scratch, I built it with just the server and Pureftp, then installed ssmtp. Thats why "which mail" is empty.

Following your first advice
Have you tried to use the full path for the mail command?
would that mean that the script should read:
echo "$1 uploaded" | /usr/sbin/ssmtp
From: originating@address
Subject: "New Upload : $1"

Body text with hopefully some of the other arguments passed from the pure-uploadscript
And also, does the script need to have a .sh file extension?

Thanks again for any help you can give me with this.
Cheers Al.

Last edited by almeister9; 24th November 2009 at 00:42.
Reply With Quote