<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=747294212-09072008><FONT face=Arial color=#0000ff size=2>If I
understand Allan's original query he wants to set the ACK options in the email
body, not in the Subject line.</FONT></SPAN></DIV>
<DIV><SPAN class=747294212-09072008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=747294212-09072008><FONT face=Arial color=#0000ff size=2>You
could use a .forward to forward the email to a script that takes the message
body and puts it in the subject line, then throws it all into the mailack
program.</FONT></SPAN></DIV>
<DIV><SPAN class=747294212-09072008><FONT face=Arial color=#0000ff size=2>The
only issue with this nice, simple way of doing it is that it will do this for
EVERY email sent to the hobbit user. If you can guarantee that Hobbit will only
ever get mail acks then I agree, your suggestion of using a .forward will work
fine. Procmail simply allows you to route different emails in different
directions, some the application x, other to application y, everything else to
the default in-box.</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=747294212-09072008><FONT face=Arial color=#0000ff
size=2>|\/|artin</FONT></SPAN></DIV><!-- Converted from text/rtf format -->
<P><SPAN lang=en-gb><FONT face=Arial size=2>-- </FONT></SPAN></P>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Phil Wild
[mailto:philwild@gmail.com] <BR><B>Sent:</B> 09 July 2008 13:07<BR><B>To:</B>
hobbit@hswn.dk<BR><B>Subject:</B> Re: [hobbit] mailack
question<BR><BR></FONT></DIV>You do not need to use procmail. I simply have a
.forward configured to pipe to mailack in the hobbit home
directory<BR><BR>Cheers<BR><BR>Phil<BR><BR>
<DIV class=gmail_quote>2008/7/9 Ward, Martin <<A
href="mailto:Martin.Ward@colt.net">Martin.Ward@colt.net</A>>:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Ah,
it becomes clearer now!<BR><BR>With the suggestions from Phil Wild and Josh
Luthman (and reading the<BR>man page for hobbit-mailack) it seems that you
are expected to use<BR>procmail to use this program.<BR><BR>Phil, what you
suggested seems to be just what Hobbit-mailack does,<BR>receives the email
and runs a program against its data.<BR><BR>Instead of using the
procmail(1m) recipe suggested in the Hobbit-mailack<BR>man page, you would
need one like
this:<BR>====<BR>DEFAULT=$HOME/Mailbox<BR>LOGFILE=$HOME/procmail.log<BR>:0<BR>|
$HOME/server/bin/hobbit/reformat_mailack<BR>====<BR>Your "reformat_mailack"
script would need to rewrite the body text into<BR>the subject line, then
simply echo the data to the hobbit-mailack<BR>command. Writing this linking
script shouldn't be that hard (perl would<BR>be better than shell, but
either could do it).<BR><FONT color=#888888><BR>--<BR></FONT>
<DIV class=Ih2E3d>> -----Original Message-----<BR>> From: Ward, Martin
[mailto:<A
href="mailto:Martin.Ward@colt.net">Martin.Ward@colt.net</A>]<BR>> Sent:
09 July 2008 10:10<BR>> To: <A
href="mailto:hobbit@hswn.dk">hobbit@hswn.dk</A><BR></DIV>
<DIV>
<DIV></DIV>
<DIV class=Wj3C7c>> Subject: RE: [hobbit] mailack
question<BR>><BR>><BR>> I can offer a suggestion but this is only
an idea I have just<BR>> had, it's not been tried, tested or anything.
Also bear in<BR>> mind that I had no idea that you could acknowledge an
alert<BR>> via email... This suggestion might bugger that up in
some<BR>> unforeseen manner.<BR>><BR>> Could you install something
like procmail? I see it working<BR>> like this: 1. An email gets sent to
you. 2. You reply to it<BR>> with the acknowledgement in the text body as
you have stated.<BR>> 3. This reply gets picked up by procmail before it
reaches<BR>> Hobbit (maybe change the Reply-To in the original email
to<BR>> route it to a different address). 4. Procmail decides that
it<BR>> should process this email (there are various tests that
can<BR>> be performed) and calls a script, passing the body of
the<BR>> email (and the subject?) to it. 5. The script munges the<BR>>
email so that the Subject line is made from the text in the<BR>> body of
the email. 6. Script forwards to email on to its<BR>> original
destination.<BR>><BR>> I can immediately see flaws in this. You're
replying on<BR>> another piece of s/w. You've got to make sure that
the<BR>> matching format works. If you want to use the say return<BR>>
address then you need to ensure that email flows from<BR>> procmail to
the Hobbit receiver. I'm sure there are others.<BR>><BR>> Still, it's
one solution.<BR>><BR>> |\/|artin<BR>>
--<BR>><BR>><BR>><BR>> > -----Original Message-----<BR>>
> From: Allan Spencer [mailto:<A
href="mailto:allan@zandahar.net">allan@zandahar.net</A>]<BR>> > Sent:
09 July 2008 02:02<BR>> > To: <A
href="mailto:hobbit@hswn.dk">hobbit@hswn.dk</A><BR>> > Subject: Re:
[hobbit] mailack question<BR>> ><BR>> ><BR>> > Just
thought I'd check back on this and surprised nobody had any<BR>> >
thoughts on it but also notice Henrik hasn't been around either.<BR>>
><BR>> > Still have had no luck with this although I have not
been<BR>> > able to spend<BR>> > much time on it.<BR>>
><BR>> > Still have the same problem of not being able to ack
an<BR>> alert via the<BR>> > email body instead of the
subject.<BR>> ><BR>> > Cheers<BR>> > Allan<BR>>
><BR>> > Allan Spencer wrote:<BR>> > > HI all<BR>> >
><BR>> > > A LONG time ago I asked about ack'ing an alert via
email (or via<BR>> > > sms-to-email) and to be able to do so
without a subject. A<BR>> > patch was<BR>> > > written at the
time and it was included into the main codebase but<BR>> > >
unfortunately I did not get a chance to imeplement what I<BR>> wanted
to<BR>> > > and never ended up testing it. Thats has just
changed<BR>> > recently and now<BR>> > > I am having issues
acking an alert via text in the body.<BR>> > ><BR>> > > If
i reply to an email and maintain the subject it works<BR>> fine, if
I<BR>> > > try cut the subject and paste it as the body
nothing<BR>> > happens. I havent<BR>> > > gone as far as
testing it via the sms-to-email app yet as I<BR>> > cant get<BR>>
> > it working from a normal email.<BR>> > ><BR>> >
> I still have one other potential problem of me converting<BR>> the
[] in<BR>> > > the alerts to () but thats more outbound sms and I
can<BR>> deal with it<BR>> > > coming back inwards.<BR>> >
><BR>> > > Any suggestions appreciated<BR>> > ><BR>>
> > Allan<BR>> > ><BR>> > > To unsubscribe from the
hobbit list, send an e-mail to<BR>> > > <A
href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</A><BR>>
> ><BR>> ><BR>> > To unsubscribe from the hobbit list,
send an e-mail to<BR>> > <A
href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</A><BR>>
><BR>> ><BR>> ><BR>><BR>><BR>>
**************************************************************<BR>>
***********************<BR>> The message is intended for the named
addressee only and may<BR>> not be disclosed to or used by anyone else,
nor may it be<BR>> copied in any way.<BR>><BR>> The contents of
this message and its attachments are<BR>> confidential and may also be
subject to legal privilege. If<BR>> you are not the named addressee
and/or have received this<BR>> message in error, please advise us by
e-mailing<BR>> <A href="mailto:security@colt.net">security@colt.net</A>
and delete the message and any attachments<BR>> without retaining any
copies.<BR>><BR>> Internet communications are not secure and COLT does
not<BR>> accept responsibility for this message, its contents nor<BR>>
responsibility for any viruses.<BR>><BR>> No contracts can be created
or varied on behalf of COLT<BR>> Telecommunications, its subsidiaries or
affiliates ("COLT")<BR>> and any other party by email Communications
unless expressly<BR>> agreed in writing with such other
party.<BR>><BR>> Please note that incoming emails will be
automatically<BR>> scanned to eliminate potential viruses and
unsolicited<BR>> promotional emails. For more information refer to<BR><A
href="http://www.colt.net" target=_blank>www.colt.net</A> or contact us on
+44(0)20 7390 3900.<BR><BR><BR>To unsubscribe from the hobbit list, send an
e-mail to<BR><A
href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</A><BR><BR><BR><BR><BR>*************************************************************************************<BR>The
message is intended for the named addressee only and may not be disclosed to
or used by anyone else, nor may it be copied in any way.<BR><BR>The contents
of this message and its attachments are confidential and may also be subject
to legal privilege. If you are not the named addressee and/or have
received this message in error, please advise us by e-mailing <A
href="mailto:security@colt.net">security@colt.net</A> and delete the message
and any attachments without retaining any copies.<BR><BR>Internet
communications are not secure and COLT does not accept responsibility for
this message, its contents nor responsibility for any viruses.<BR><BR>No
contracts can be created or varied on behalf of COLT Telecommunications, its
subsidiaries or affiliates ("COLT") and any other party by email
Communications unless expressly agreed in writing with such other
party.<BR><BR>Please note that incoming emails will be automatically scanned
to eliminate potential viruses and unsolicited promotional emails. For more
information refer to <A href="http://www.colt.net"
target=_blank>www.colt.net</A> or contact us on +44(0)20 7390
3900.<BR><BR><BR>To unsubscribe from the hobbit list, send an e-mail
to<BR><A
href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</A><BR><BR><BR></DIV></DIV></BLOCKQUOTE></DIV><BR><BR
clear=all><BR>-- <BR>Tel: 0400 466 952<BR>Fax: 0433 123 226<BR>email: philwild
AT <A href="http://gmail.com">gmail.com</A> </BLOCKQUOTE></BODY></HTML>