[Xymon] Changing sender of alert emails?
Jeremy Laidman
jlaidman at rebel-it.com.au
Wed May 23 02:46:51 CEST 2012
On Wed, May 23, 2012 at 8:34 AM, Roland Soderstrom <
Rolands at logicaltech.com.au> wrote:
> If they are different just make a mail alias in the external host.
>
> For sendmail it is /etc/mail/aliases
>
The aliases file only maps incoming mail (recipient address), not outgoing
(sender address).
Postfix can do sender address mapping (see "man generic" and the
ADDRESS_REWRITING_README), but if it's on the same server then you won't
have a way of selecting one instance from another (unless they're running
as different users).
However there are other ways to achieve what you want. If you're using
"nail" as your mail client (mail -V), you can define options such as "from"
and "replyto" in .mailrc. Maybe like this:
set from=sender at add.ress
Or you could change "MAILC" in xymonserver.cfg and add an "-r" parameter,
such as:
MAILC="mail -r sender at add.ress"
J
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20120523/17afa223/attachment.html>
More information about the Xymon
mailing list