Mail Server Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationMail Server Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 17th, 2004, 10:54 AM
weierophinney weierophinney is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 1 weierophinney User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Postfix behind NAT firewall

We've been running an antiquated iMail server on an Windows NT4 box behind a Netgear firewall that uses NAT for port forwarding; the situation has worked fine, except that the mail server hardware is old and on the verge of failure, and the software is, as noted, antiquated.

In recent months, we setup a Postfix/MySQL/Courier-IMAP virtual mail server on a linux box, put it up on a public IP (using iptables for a firewall), and started moving some of our domains over to it. For domains still hosted on the old system, we've forwarded delivery to the new server. The new server has dual NICs, one for the external IP, one for the internal network; currently, it receives fine on both networks.

One item on our DNS still needs to be finished, but it's a complex issue, and in the meantime we want to host all mail on the new system. We thought it would be as easy as simply forwarding from the firewall to the new server via the internal IP, but it's not working that way.

Things I've tried:
  • proxy_interfaces = xxx.xxx.xxx.xxx
  • relay_domains = $mynetworks (where $mynetworks includes the local network)
  • mydestination: added the external IP to it
  • inet_interfaces = all

So, the basic desired setup includes two components:
  • internet -> external IP on firewall -> internal IP on postfix server -> postfix
  • internet -> external IP on postfix server -> postfix

I've done either one of these things by themselves, but never in combination. Anybody have any ideas?

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationMail Server Help > Postfix behind NAT firewall


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway