The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 12-11-2007
Smiling Dragon's Avatar
Smiling Dragon Smiling Dragon is offline
Disorganised User
 
Join Date: Nov 2007
Location: New Zealand
Posts: 711
Quote:
Originally Posted by hjallebk View Post
My small network consists of a mail server(postfix) and 2 clients.

I want to configure the clients so that all the mail they send is sent through the mailserver. I want to forward all outgoing mail to the mail server.
How should I configure the clients to achieve this?
High-level stuff only from me on this sorry - I'm not good with postfix at all.
You want the mail server to be configured as the smarthost and the clients set up to use this mail server as their smarthost.

From memory, you need to put the following config entry into your client postfix config:
Code:
relayhost = mailserver.fully.qualified.domain.
I'd suggest making a DNS alias for this (Solaris will automatically use mailhost.localdomain if it exists so I use that name) so if you ever move mailservers, you don't need to update all (I know there's only 2 but if you ever grow...) your clients.
Reply With Quote