The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
Google UNIX.COM
Home Forums Register Rules & FAQ Members List Arcade Search Today's Posts Mark Forums Read


IP Networking Questions involving TCP/IP, Routers, Hubs, Network protocols, etc go here.


Other UNIX.COM Threads You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Unix mail forwarding DILEEP410 UNIX for Dummies Questions & Answers 6 04-21-2008 08:02 AM
Forwarding mail with sendmail annececile UNIX for Advanced & Expert Users 2 01-23-2002 11:48 PM
Sendmail - forwarding mail warrend UNIX for Dummies Questions & Answers 1 12-14-2001 07:26 AM
Forwarding Mail from Unix account jsillers UNIX for Dummies Questions & Answers 2 12-09-2001 07:08 PM
E-mail forwarding BigBro UNIX for Dummies Questions & Answers 1 12-03-2000 07:40 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-11-2007
Registered User
 

Join Date: Dec 2007
Posts: 1
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Mail forwarding in small network with mailserver

Hi,

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?

Thanks for any help.

hjallebk
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 12-11-2007
Smiling Dragon's Avatar
Disorganised User
 

Join Date: Nov 2007
Location: New Zealand
Posts: 562
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
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
Google UNIX.COM
Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 02:43 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger

Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102