Find the answer to your Linux question:
Results 1 to 2 of 2
I'm fairly new to Linux. I've got Linux Suse 10.1 and I'm running Nagios (a network monitoring tool on it). I've also installed Postfix to relay emails. Everything else is ...
  1. #1
    Just Joined! blueagle78's Avatar
    Join Date
    Aug 2006
    Location
    London
    Posts
    42

    How could I tell Linux to send emails to Exchange SMTP

    I'm fairly new to Linux. I've got Linux Suse 10.1 and I'm running Nagios (a network monitoring tool on it). I've also installed Postfix to relay emails. Everything else is working for me as far as Nagios is concerned except email notification. I've configured a .mailrc file in my home directory so I can send emails from command like to my Windows machine where we use MS Exchange. Nagios isn't using that configuration for some strange reason. Its using postfix but I don't know what settings to change in postfix config file to make it work. Would you please let me know how could I change something in postfix so it'll start relaying all my mail to my MS Exchange server which is the SMTP. Many Thanks

  2. #2
    Linux Enthusiast likwid's Avatar
    Join Date
    Dec 2006
    Location
    MA
    Posts
    649
    In sendmail this is called a "smart host." In postfix it's a relayhost I think. Edit postfix's main.cf to say
    Code:
    relayhost = your.server.com
    and restart postfix.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...