Asif Iqbal wrote:
That is funny cuz I use nullmailer too and I have this in my hobbitserver.cfg file
MAIL="mailx -r hobbit at server.com -s"
And I do get subjects
Right, but mailx is not part of the gentoo nullmailer package. mailx is part of the mail-client/mailx package. perhaps Just installing this along with nullmailer I'd be A-OK.
Dang! Too bad my custom hobbit-email-notify.sh script is just getting its finishing touches! :(
If I am unhappy with my script results, then I'll try the mailx route. Thanks!
On Tue, Mar 25, 2008 at 4:14 PM, Bill Arlofski <waa-hobbitml at revpol.com> wrote:
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