Xymon Mailing List Archive search

Hobbit alerts with qmail failing

list Asif Iqbal
Sat, 8 Jul 2006 19:53:50 -0400
Message-Id: <user-5a0e8145f3d9@xymon.invalid>

On 7/7/06, Asif Iqbal <user-6f4b51ac2a40@xymon.invalid> 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-c208d0fd1334@xymon.invalid"
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-c208d0fd1334@xymon.invalid -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 user-62c2e1cb12b4@xymon.invalid

1.2.0.195    rusty.host.com # ssh

echo this is a test email | sendmail -f user-c208d0fd1334@xymon.invalid (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
-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu