hi,

I checked the header of the emails coming from nagios. I also check the headers 
of the emails I send from the machine itself when I telnet to postfix.

indeed the email goes to my old mail server then to the new mail server.

I checked the file /etc/postfix/transport and it was all commented but I added 
as you suggested

mycompany.com smtp:smtp:ip_adddress_of_my_new_exchange

I restarted postfix.

but the header of any test message still goes to the old mail server...

any idea please?

--- On Fri, 25/4/08, Ilya Meylikhov <[EMAIL PROTECTED]> wrote:

> From: Ilya Meylikhov <[EMAIL PROTECTED]>
> Subject: RE: [Nagios-users] smtp server that nagios uses
> To: [EMAIL PROTECTED]
> Cc: [email protected]
> Date: Friday, 25 April, 2008, 3:44 PM
> You can change the /etc/postfix/transport to accommodate
> your needs. This
> file tells postfix which server to use for relaying. The
> format of this file
> is:
> domain.com smtp:ip_adddress_of_your_exchange
> where domain.com - the domain name you want to send mail to
> (perhaps you
> will use here your domain).
> After you will change this file don't forget to make
> postmap
> /etc/postfix/transport and then restart postfix.
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Melanie
> Pfefer
> Sent: Friday, April 25, 2008 4:37 PM
> To: [email protected]
> Subject: Re: [Nagios-users] smtp server that nagios uses
> 
> the machine where nagios is installed uses postfix as smtp.
> I know this
> might be off-topic, but any idea where to look so that I
> verify to which
> server postfix relays the email?
> 
> actually we upgraded our exchange mail server and we want
> to shutdown the
> old one. My worries is that nagios (now I understand it is
> postfix) still
> points to the the old mail server 
> 
> PS: How to determine which mail server my DNS uses?
> 
> thx
> 
> 
>      
> __________________________________________________________
> Sent from Yahoo! Mail.
> A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM)
> Conference 
> Don't miss this year's exciting event. There's
> still time to save $100. 
> Use priority code J8TL2D2. 
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao
> ne
> _______________________________________________
> Nagios-users mailing list
> [email protected]
> 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


      __________________________________________________________
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Nagios-users mailing list
[email protected]
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