[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] MACROS
On Thu, Mar 31, 2005 at 01:25:34PM +1000, Adam Goryachev wrote:
> > Comma-delimited also works for some people, but that depends on your
> > "mail" program. Why? Because a definition like this
> >
> > $ALERTGROUP=kevin (at) domain.com,bob (at) domain.com,joe (at) domain.com
> >
> > ends up being passed as a command-line parameter to the $MAIL
> > program. So if your mail-program understands a list of recipients
> > separated by commas, it is actually more efficient because Hobbit only
> > needs to run the mail program once with the comma-separated list of
> > recipients.
>
> Does hobbit understand that the comma delimited are actually individual
> email addresses for the purpose of deciding who to page? ie, say you had
> another rule which said don't page bob (at) domain.com, would it know to
> remove bob (at) domain.com from the rule?
No, Hobbit doesn't do any parsing of the recipient addresses - they
are blindly passed on to the mail- or script-program.
Regards,
Henrik