On Thu, Sep 24, 2009 at 3:11 PM, Kevin Kelly <kkelly at lifetouch.com> wrote:
Ok, I finally got my xymon server to accept outside mail. Since I am using sendmail and the man page has procmailrc, is there a standard configuration to use with sendmail?
all my alerts send from xymon at example.net
( hobbitserver.cfg: MAIL="mailx -r xymon at example.net -s" )
any reply to it goes back to xymon @mx.example.net
mx.example.net then sends it to xymon.example.net, using .qmail.
xymon.example.net's sendmail allows inbound email only from mx.example.net using tcpserver on xymon.example.net
xymon on xymon.example.net then works w/ hobbit-mailack to ack the alert
-----Original Message----- From: Ryan Novosielski [mailto:novosirj at umdnj.edu] Sent: Thursday, September 24, 2009 10:54 AM To: hobbit at hswn.dk Subject: Re: [hobbit] SV: ack an alert with email or phone
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Barring that (in my case, changing MX records and mail routing was not allowed), you can use fetchmail to pull mail from a valid account on your e-mail server and acknowledge based on that. I have done that before.
=R
Johan Sjöberg wrote:
You need to make sure that the reply e-mail is sent to the Xymon server. If you, for example, have xymon at yourdomain.com <mailto:xymon at yourdomain.com> as sender for alerts, you need to forward it to Xymon at xymonserver.yourdomain.com <mailto:Xymon at xymonserver.yourdomain.com> in exchange. You also need an MX record for xymonserver.yourdomain.com in DNS, and you need to configure the MTA on your Xymon server to accept mails for @xymonserver.yourdomain.com domain.
/Johan
*From:* Kevin Kelly [mailto:kkelly at lifetouch.com] *Sent:* den 23 september 2009 22:39 *To:* hobbit at hswn.dk *Subject:* RE: [hobbit] SV: ack an alert with email or phone
Ok, now when I hit reply on an alert, I get the message back with couldn’t find host. Is there additional steps with an exchange server maybe?
*From:* Johan Sjöberg [mailto:johan.sjoberg at deltamanagement.se] *Sent:* Wednesday, September 23, 2009 3:03 PM *To:* hobbit at hswn.dk *Subject:* [hobbit] SV: ack an alert with email or phone
You only need to configure procmail according to the man-page, and it works out of the box.
http://xymon.org/hobbit/help/manpages/man8/hobbit-mailack.8.html
/Johan
*Från:* Kevin Kelly [mailto:kkelly at lifetouch.com] *Skickat:* den 23 september 2009 20:40 *Till:* hobbit at hswn.dk *Ämne:* [hobbit] ack an alert with email or phone
Could someone point me some documentation about acknowledging an alert via email or phone.
Thanks in advance!
This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email
This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email
---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer II |$&| |__| | | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/CST - NJMS Medical Science Bldg - C630 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkq7lgwACgkQmb+gadEcsb5AsQCg0Y6LBGe7M3nf8jb/izwU+b33 CvEAn26+Z20pbYhQFnisuXFO1nEuoMHh =TsdK -----END PGP SIGNATURE-----
This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email
-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing?