LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-18-2015, 06:08 PM   #1
linux_nerd
LQ Newbie
 
Registered: Jun 2015
Posts: 26

Rep: Reputation: Disabled
Postfix relaying mail.


Hello all I have run into a issues that seems to have stumped me.
I have 20 systems and I want 19 of them to forward there mail to 1 system. I then want the one system to take and forward the emails from the other 19 to a relayhost that has the ability to talk outside the network. Below is a snap shot of what I am doing.
On system2
Code:
myhostname = system2
relayhost = system1 
inet_interfaces = localhost
inet_protocols = all
myhostname = system2.xxx

###################
On system1 
relayhost = system that can talk on the internet 
inet_interfaces = localhost, x.x.x.x 
inet_protocols = all
myhostname = system1.xxx
 
Old 06-18-2015, 10:48 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by linux_nerd View Post
Hello all I have run into a issues that seems to have stumped me.
You show your configuration but not your issues. What's wrong?
If messages are not correctly forwarded, are there error messages? Error emails? Is there anything in the log file?
 
Old 07-09-2015, 02:10 PM   #3
linux_nerd
LQ Newbie
 
Registered: Jun 2015
Posts: 26

Original Poster
Rep: Reputation: Disabled
Sorry for not responding got all tied up... But I found and fixed my issues thanks for your help. My issue was due to a configuration item that needed to be modified on the relay host for the external network.
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix as a mail relaying agent hamzar.pm Linux - Server 0 08-07-2014 11:44 AM
Postfix relaying mail to 2 spam filters giss32 Linux - Newbie 1 04-23-2011 12:11 AM
Relaying mail with Postfix kayasaman Linux - Server 10 11-07-2008 10:56 PM
Postfix: Relaying all mail to different mailaccount Marix Linux - Software 1 01-08-2006 07:52 AM
Postfix relaying mail to internal mail server tradecraft1 Linux - Networking 2 10-28-2003 03:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration