Re: Fwd: esmtp-run delivers mail from shell, but not from nagios

2012-02-12 Thread Jesse Thompson
> Not entirely sure how esmtp-run works in conjunction with > executing sendmail Well it's a drop-in sendmail replacement, so we're actually invoking esmtp-run directly which is masquerading as sendmail. > I know, for a fact, that NRPE does not set $HOME, and that causes > problems for mysql when

Re: Fwd: esmtp-run delivers mail from shell, but not from nagios

2012-02-11 Thread Allan Wind
On 2012-02-11 15:30:52, Jesse Thompson wrote: > I'm fairly sure I have isolated this problem as being related to > esmtp-run and not directly related to nagios. Nagios takes a string > and executes that via popen in order to send email notifications, and > can execute any other arbitrary commands I

Fwd: esmtp-run delivers mail from shell, but not from nagios

2012-02-11 Thread Jesse Thompson
I hope this is the right place to ask this question; #debian irc directed me here since esmtp-run doesn't appear to have it's own list. I'm fairly sure I have isolated this problem as being related to esmtp-run and not directly related to nagios. Nagios takes a string and executes that via popen i