Pat Barron on 9 Apr 2012 10:58:46 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Why does -t option of ssh cause mail to not be sent?...


On 04/09/2012 1:54 PM, Fred Stluka wrote:
I'm not having any trouble finding the junk script.  It runs just fine.
The only problem is that the mail doesn't get sent unless there is
enough stuff after it in the script to give the mail time to be sent
before the script ends.  So, specifying the full path to the junk script
should not matter, right?

I wonder if, because you're attached to a terminal, the mail process is catching a SIGHUP or something and dying when the script ends? Maybe try invoking the mailer with "nohup"?

--Pat.

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug