[hobbit] mailack question
Ward, Martin
Martin.Ward at colt.net
Wed Jul 9 11:10:20 CEST 2008
I can offer a suggestion but this is only an idea I have just had, it's
not been tried, tested or anything. Also bear in mind that I had no idea
that you could acknowledge an alert via email... This suggestion might
bugger that up in some unforeseen manner.
Could you install something like procmail? I see it working like this:
1. An email gets sent to you.
2. You reply to it with the acknowledgement in the text body as you have
stated.
3. This reply gets picked up by procmail before it reaches Hobbit (maybe
change the Reply-To in the original email to route it to a different
address).
4. Procmail decides that it should process this email (there are various
tests that can be performed) and calls a script, passing the body of the
email (and the subject?) to it.
5. The script munges the email so that the Subject line is made from the
text in the body of the email.
6. Script forwards to email on to its original destination.
I can immediately see flaws in this. You're replying on another piece of
s/w. You've got to make sure that the matching format works. If you want
to use the say return address then you need to ensure that email flows
from procmail to the Hobbit receiver. I'm sure there are others.
Still, it's one solution.
|\/|artin
--
> -----Original Message-----
> From: Allan Spencer [mailto:allan at zandahar.net]
> Sent: 09 July 2008 02:02
> To: hobbit at hswn.dk
> Subject: Re: [hobbit] mailack question
>
>
> Just thought I'd check back on this and surprised nobody had any
> thoughts on it but also notice Henrik hasn't been around either.
>
> Still have had no luck with this although I have not been
> able to spend
> much time on it.
>
> Still have the same problem of not being able to ack an alert via the
> email body instead of the subject.
>
> Cheers
> Allan
>
> Allan Spencer wrote:
> > HI all
> >
> > A LONG time ago I asked about ack'ing an alert via email (or via
> > sms-to-email) and to be able to do so without a subject. A
> patch was
> > written at the time and it was included into the main codebase but
> > unfortunately I did not get a chance to imeplement what I wanted to
> > and never ended up testing it. Thats has just changed
> recently and now
> > I am having issues acking an alert via text in the body.
> >
> > If i reply to an email and maintain the subject it works fine, if I
> > try cut the subject and paste it as the body nothing
> happens. I havent
> > gone as far as testing it via the sms-to-email app yet as I
> cant get
> > it working from a normal email.
> >
> > I still have one other potential problem of me converting the [] in
> > the alerts to () but thats more outbound sms and I can deal with it
> > coming back inwards.
> >
> > Any suggestions appreciated
> >
> > Allan
> >
> > To unsubscribe from the hobbit list, send an e-mail to
> > hobbit-unsubscribe at hswn.dk
> >
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
>
*************************************************************************************
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.
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 security at colt.net and delete the message and any attachments without retaining any copies.
Internet communications are not secure and COLT does not accept responsibility for this message, its contents nor responsibility for any viruses.
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.
Please note that incoming emails will be automatically scanned to eliminate potential viruses and unsolicited promotional emails. For more information refer to www.colt.net or contact us on +44(0)20 7390 3900.
More information about the Xymon
mailing list