I'm using a server that sends *only* nagios mails, then I've implemented regexp 
header_checks to 
replace every outgoing sender email.

Into main.cf:
(...)
header_checks = regexp:/etc/postfix/header_checks

and then into /etc/postfix/header_checks
/From:.*/ REPLACE From: "Monitoring System" <myaddr...@mydomain.com>

Maybe there is a better way to do it. For me works.

Cheers, Simon


Il 08/05/2012 11:39, özgür umut vurgun ha scritto:
> Hi,
>
> I am using postfix ... But I don't know how to configuration....
>
>
>
> Özgür Umut VURGUN
>
>
>
> 2012/5/8 Assaf Flatto <nag...@flatto.net <mailto:nag...@flatto.net>>
>
>     __
>     Are you using sendmail or postfix as your MTA ?
>
>     The configuration is done on the MTA .
>
>
>
>
>     On 08/05/12 08:29, özgür umut vurgun wrote:
>>     Hi All,
>>
>>     I'd like to change Nagios Email address. Now I am using 
>> "admin@hostname-nagios.localhost"
>>     <mailto:admin@hostname-nagios.localhost> but many system doesn't accept 
>> this email address. So
>>     I'd like to change to real e-mail address. I have searched in the 
>> internet but I couldn't be
>>     success.
>>
>>     How can I do it ?
>>
>>     Thanks...
>>
>>     Özgür Umut VURGUN
>>
>>
>>     
>> ------------------------------------------------------------------------------
>>     Live Security Virtual Conference
>>     Exclusive live event will cover all the ways today's security and
>>     threat landscape has changed and how IT managers can respond. Discussions
>>     will include endpoint security, mobile security and the latest in malware
>>     threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>
>>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to