On Thu, Oct 13, 2005 at 02:32:14PM -0500, Rich Smrcina wrote:
What comes after the MAIL keyword is passed directly to your "mail"
utility. So it would probably be better to have
$pg-tom=user-09601a56c098@xymon.invalid,user-caed2b630f14@xymon.invalid
if your "mail" tool supports listing multiple recipients separated by
commas. Some dont - then you can use a short-hand notation like:
$pg-tom=user-09601a56c098@xymon.invalid user-caed2b630f14@xymon.invalid
and separate them by spaces - Hobbit will handle this as if you had
multiple "MAIL ..." lines with each of the mail recipients. So it sends
out the mail in separate e-mails, instead of one e-mail to all of the
recipients. (Same net effect).
Then is the syntax for using macros in the MAIL line the same as HOST:
$pg-tom=user-09601a56c098@xymon.invalid user-caed2b630f14@xymon.invalid
HOST %^va.*$
MAIL=%$pg-tom
No, just
MAIL $pg-tom
Henrik