On Thu, Sep 24, 2009 at 3:11 PM, Kevin Kelly <user-46671a9fcf56@xymon.invalid> 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 user-0b8c4a2a0d7a@xymon.invalid
( hobbitserver.cfg: MAIL="mailx -r user-0b8c4a2a0d7a@xymon.invalid -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:user-ae4522577e16@xymon.invalid]
Sent: Thursday, September 24, 2009 10:54 AM
To: user-ae9b8668bcde@xymon.invalid
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 user-98e7dbae8497@xymon.invalid
<mailto:user-98e7dbae8497@xymon.invalid> as sender for alerts, you need to
forward it to user-dd4c61b4d096@xymon.invalid
<mailto:user-dd4c61b4d096@xymon.invalid> 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:user-46671a9fcf56@xymon.invalid]
*Sent:* den 23 september 2009 22:39
*To:* user-ae9b8668bcde@xymon.invalid
*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:user-74c177c1220d@xymon.invalid]
*Sent:* Wednesday, September 23, 2009 3:03 PM
*To:* user-ae9b8668bcde@xymon.invalid
*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:user-46671a9fcf56@xymon.invalid]
*Skickat:* den 23 september 2009 20:40
*Till:* user-ae9b8668bcde@xymon.invalid
*Ä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
|$&| |__| | | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 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?