Hi All
Anyone running qmail on hobbit server? I am not receiving alerts but web page get updated fine. Here are the related info on my setup
MAIL="sendmail -f user at host.com"
HOST=%jump(.*)|rusty(.*) MAIL pager at host.com
1.2.0.195 rusty.host.com # ssh
echo this is a test email | sendmail -f user at host.com (works). /var/log/qmail/current shows the email too.
The following command does not generate an email
bb 127.0.0.1 "status rusty.home.com.conn red date this is a test alert"
I see the web page got updated with red alert. But /var/log/qmail/current does not show any email generated either.
Is the "MAIL" variable defined wrong then?
-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
On 7/7/06, Asif Iqbal <vadud3 at gmail.com> wrote:
Hi All
Anyone running qmail on hobbit server? I am not receiving alerts but web page get updated fine. Here are the related info on my setup
MAIL="sendmail -f user at host.com"
I went ahead and unlink /usr/lib/sendmail from qmail's sendmail and linked it back to the sendmail's original binary. Then redefined MAIL to "mailx -r user at host.com -s" to restore the original behavior and at the same time restricted qmail's smtpd with tcpserver.
I know some people suggest to use postfix for all, but that would be off topic for this particular goal.
HOST=%jump(.*)|rusty(.*) MAIL pager at host.com
1.2.0.195 rusty.host.com # ssh
echo this is a test email | sendmail -f user at host.com (works). /var/log/qmail/current shows the email too.
The following command does not generate an email
bb 127.0.0.1 "status rusty.home.com.conn red
datethis is a test alert"I see the web page got updated with red alert. But /var/log/qmail/current does not show any email generated either.
Is the "MAIL" variable defined wrong then?
-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
Henrik,
I just did a clean install of the beta version (4.2-beta-20060605), and I noticed a few mistakes in the runclient.sh script.
The "status" part misses a few $MACHINEDOTS in the pid lines. This results in "Hobbit is not running" messages.
============== Corrected lines: ============
"status")
if test -s $HOBBITCLIENTHOME/logs/clientlaunch.$MACHINEDOTS.pid
then
kill -0 cat $HOBBITCLIENTHOME/logs/clientlaunch.$MACHINEDOTS.pid
if test $? -eq 0
thenCHINEDOTS
echo "Hobbit client (clientlaunch) running with
PID cat $HOBBITCLIENTHOME/logs/clientlaunch.$MACHINEDOTS.pid"
else
echo "Hobbit client not running, removing stale
PID file"
rm -f
$HOBBITCLIENTHOME/logs/clientlaunch.$MACHINEDOTS.pid
fi
else
echo "Hobbit client (clientlaunch) does not appear to
be running"
fi
;;
===========================================
Best regards, Arnoud Post The Netherlands
participants (2)
-
arnoud@koekiemonster.com
-
vadud3@gmail.com