[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [hobbit] SV: ack an alert with email or phone
- To: <hobbit (at) hswn.dk>
- Subject: RE: [hobbit] SV: ack an alert with email or phone
- From: "Kevin Kelly" <kkelly (at) lifetouch.com>
- Date: Fri, 25 Sep 2009 09:54:28 -0500
- References: <3d9395ed0909160209t36ac1d69j5239b4e4da7f6b94 (at) mail.gmail.com> <3d9395ed0909220934j7308e85eo38b27611d558315f (at) mail.gmail.com> <9f45dd4e0909221011y6f9afb25h94cc03ab1145223 (at) mail.gmail.com> <3d9395ed0909221025s7048f8dcga39a12cc898ea15d (at) mail.gmail.com> <027D0CFA48C98F4B87D51D40F36DE42703F913A8 (at) ltivw-p-ml01.LIFETOUCH.NET> <B08F3F3D67451844A7A8A029FCC71E4C08DBE93191 (at) WIN01.ad.deltamanagement.se> <027D0CFA48C98F4B87D51D40F36DE42703F91610 (at) ltivw-p-ml01.LIFETOUCH.NET> <B08F3F3D67451844A7A8A029FCC71E4C08DBE93193 (at) WIN01.ad.deltamanagement.se> <4ABB960C.40404 (at) umdnj.edu> <027D0CFA48C98F4B87D51D40F36DE42703FD28CE (at) ltivw-p-ml01.LIFETOUCH.NET> <2210bda0e6546345eb5de66f0409da76.squirrel (at) epperson.homelinux.net>
- Thread-index: Aco9ZbUCmEM7EkAXR96BUmiU36ZhawAik7zQ
- Thread-topic: [hobbit] SV: ack an alert with email or phone
Where in the sendmail.cf file would I put that?
-----Original Message-----
From: Xymon User in Richmond [mailto:hobbit (at) epperson.homelinux.net]
Sent: Thursday, September 24, 2009 5:20 PM
To: hobbit (at) hswn.dk
Subject: RE: [hobbit] SV: ack an alert with email or phone
On Thu, September 24, 2009 15:11, Kevin Kelly 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?
>
You need the procmail package installed. You need
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl
MAILER(procmail)dnl
in your sendmail.mc file (and regenerate sendmail.cf with make). Or if
you're editing sendmail.cf directly, you need
Mprocmail, P=/usr/bin/procmail, F=DFMSPhnu9,
S=EnvFromSMTP/HdrFromSMTP,
R=EnvToSMTP/HdrFromSMTP,
A=procmail -Y -m $h $f $u
Mlocal, P=/usr/bin/procmail, F=lsDFMAw5:/|@qSPfhn9,
S=EnvFromL/HdrFromL,
R=EnvToL/HdrToL,
A=procmail -t -Y -a $h -d $u
in there. I think having procmail enabled is the default with most
sendmail installs, so it's probably already there.
Then according to the hobbit-mailack manpage you need in ~xymon/ a
.procmailrc file with
DEFAULT=$HOME/Mailbox
LOGFILE=$HOME/procmail.log
:0
| $HOME/server/bin/hobbit-mailack
--env=$HOME/server/etc/hobbitserver.cfg
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe (at) hswn.dk
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
_____________________________________________________________________