LinuxQuestions.org
Help answer threads with 0 replies.
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 05-30-2007, 09:05 AM   #1
Phaethar
Member
 
Registered: Oct 2003
Location: MN
Distribution: CentOS, Fedora
Posts: 182

Rep: Reputation: 30
Postfix problem on local intranet


Hey all,

We run a Postfix mail server on Fedora 5 to function as an outgoing mail server, which works great with our setup. Nobody needs to connect directly to it, all the work is done by other applications, it just needs to be able to send mail out.

The problem we're having is when emails that are sent out bounce back. We use a valid email address as the reply-to address, and when a message bounces Postfix attempts to look up the domain name (our own) and send the mail that way. Trouble is, the public IP it gets for the MX record is not reachable from the internal network, so it times out. As a result, nobody knows when a message bounces.

My first reaction was to edit the /etc/hosts file so it sends mail to our internal IP instead of a public IP. However, it seems that Postfix does not read the hosts file, so this didn't help. Tried disabling DNS lookups, and while that sorta worked, other mail didn't sent out properly.

So, what I'm looking for is a way to tell Postfix to send mail for our own domain to a specific IP address without causing other outgoing mail to have any problems. Any ideas on what else I could try?

As mentioned, system is running Fedora Core 5 and Postfix version is 2.2.8.

Thanks.
 
Old 05-30-2007, 06:13 PM   #2
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
Sounds like you need to define a transport:
Code:
man transport
 
  


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
directing HTTP traffic to local intranet kennmurrah Linux - Networking 6 01-27-2007 11:44 AM
ping: unknown host in local intranet linuxjustin Linux - Networking 3 04-04-2004 02:03 PM
I can't get my Website to work on my local intranet. tivoli pete Linux - Newbie 9 10-13-2003 03:23 PM
Postfix intranet/internet outlook starswalker Linux - Networking 0 07-18-2003 06:49 AM
Using Konqueror to Browse Local Intranet sacants Linux - Newbie 1 02-21-2003 06:17 AM

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

All times are GMT -5. The time now is 11:06 AM.

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