Sending as specific email address

Peter L. Berghold Peter at berghold.net
Wed Feb 7 17:13:58 CET 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jason Little wrote:
>  Is there a way to set it so that nagios sends out as a
> specific email address?
> 
> 

Unless totally misunderstand the issue this is more of a MTA
configuration issue than a Nagios issue.

Assuming sendmail for a moment is the MTA on the machine that you are
sending the pages from there is a setting in the sendmail.cf file called
"Masquerading as" that you can set to a domain to masquerade all email
addresses to. So, in the case of your return email address that I note
above you would set the line that starts with

DM

in sendmail.cf to read

DMmintcommerce.com

and restart sendmail. This way any email that gets sent from that
machine gets its return address re-written to be user at mintcommerce.com
which will silence the complaint from the blackberry server.

If you are using some other MTA then you have to follow suit with
whatever the configuration requirements are for that MTA.


- --
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Peter L. Berghold                                     Peter at Berghold.Net
"Those who fail to learn from history are condemned to repeat it."
AIM: redcowdawg        Yahoo IM: blue_cowdawg              ICQ: 11455958
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org

iD8DBQFFyfrFUM9/01RIhaARAqdLAJ9gT4Qpo4/2eB2+MYqKIkSOOZNvYACgu/rg
1IK+87nxzBrBRN1wmrrtyqI=
=RNsK
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Peter.vcf
Type: text/x-vcard
Size: 239 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070207/d9d957fd/attachment.vcf>
-------------- next part --------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list