[hobbit] hobbit email notifications with nullmailer

Galen Johnson Galen.Johnson at sas.com
Tue Mar 25 21:32:51 CET 2008


Use an alert script instead...there was a question earlier today that pointed to a page on The Shire...

=G=

-----Original Message-----
From: Bill Arlofski [mailto:waa-hobbitml at revpol.com]
Sent: Tuesday, March 25, 2008 4:15 PM
To: hobbit at hswn.dk
Subject: [hobbit] hobbit email notifications with nullmailer


I have a system (Gentoo) running hobbit. I have installed the 4.20 with
the all-in-one patch.

The system is using nullmailer as my preferred MTA. It is a very small,
minimal qmail-like MTA run under daemontools.


/usr/sbin/sendmail is the 'wrapper' for email submissions, but it does
not accept a subject on the command line (eg: -s "this is the subject")
the way the sendmail does:

--[snip]--
# sendmail -h
sendmail: option -h requires a value.
usage: sendmail [flags] [recipients] <message
Nullmailer sendmail emulator
   -B          Ignored
   -b          Ignored
   -C          Ignored
   -d          Ignored
   -F          Set the full name of the sender
   -f          Set the envelope sender address
   -h          Ignored
   -i          Ignored
   -L          Ignored
   -m          Ignored
   -N          Ignored
   -n          Ignored
   -O          Ignored
   -o          Ignored
   -p          Ignored
   -q          Ignored
   -R          Ignored
   -r          An alternate and obsolete form of the -f flag
   -t          Read message for recipients
   -U          Ignored
   -V          Ignored
   -v          Ignored
   -X          Ignored

   -h, --help  Display this help and exit
--[snip]--

It requires that the email message being sent to (through?) it contains
a "Subject:" line in the header.

Without me changing to another MTA, is there a way to tell hobbit that
this is what I need? Changing would be OK if that was the only way forme
to get hobbit to send me notifications.

Thanks!

--
Bill Arlofski
Reverse Polarity, LLC

To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk





More information about the Xymon mailing list