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

Re: Hobbit alerts with qmail failing



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 `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