LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-13-2004, 06:05 AM   #1
clau_bolson
Member
 
Registered: Nov 2003
Location: Argentina
Distribution: Debian Sarge
Posts: 52

Rep: Reputation: 15
seeking advice on best mail server configuration


One of our clients - I work at an ISP and give broadband service - will have one public IP address.
Till now, they have another provider who gives them at least two public IP addresses, and one of them is assigned to their mail server - MS Exchange on Win 2000. They can't change that.
The machine that will have the public IP address and will act as router is running Suse Linux. It is already in production.

Desired behaviour is:
- incoming mails are relayed to the Exchange machine, that will now be part of the internal network.
- Linux machine should be running sendmail to issue its messages.

So,
1. which would be the best way to do this? (they have ipchains, not iptables)
2. Is there a way to configure their DNS zone (which I will hold in my server) to point to an internal machine in their network? (they have a DNS server too, I don't know how it is configured).

Thanks.
 
Old 03-05-2007, 04:55 AM   #2
nmh+linuxquestions.o
Member
 
Registered: Feb 2007
Posts: 135

Rep: Reputation: 15
Quote:
Originally Posted by clau_bolson
One of our clients - I work at an ISP and give broadband service - will have one public IP address.
Till now, they have another provider who gives them at least two public IP addresses, and one of them is assigned to their mail server - MS Exchange on Win 2000. They can't change that.
The machine that will have the public IP address and will act as router is running Suse Linux. It is already in production.

Desired behaviour is:
- incoming mails are relayed to the Exchange machine, that will now be part of the internal network.
- Linux machine should be running sendmail to issue its messages.

So,
1. which would be the best way to do this? (they have ipchains, not iptables)
2. Is there a way to configure their DNS zone (which I will hold in my server) to point to an internal machine in their network? (they have a DNS server too, I don't know how it is configured).

Thanks.

1. Have you looked at the tldp ipchains howto?
Have you considered using a proxy?

2. I do not think you can use dns to allow external hosts to talk to a system behind a NAT gateway with a private IP.
 
Old 03-05-2007, 05:09 AM   #3
clau_bolson
Member
 
Registered: Nov 2003
Location: Argentina
Distribution: Debian Sarge
Posts: 52

Original Poster
Rep: Reputation: 15
Thanks nmh, but the question was made almost three years ago. At the time I solved the issue with those clients setting up a postfix on the Suse machine for relay only. Meanwhile, they have changed admins, the new one threw the Suse machine away -he didn't understand it, he is a W$ user - and asked us to manage their mail addresses instead.
 
Old 03-05-2007, 05:17 AM   #4
nmh+linuxquestions.o
Member
 
Registered: Feb 2007
Posts: 135

Rep: Reputation: 15
Quote:
Originally Posted by clau_bolson
Thanks nmh, but the question was made almost three years ago. At the time I solved the issue with those clients setting up a postfix on the Suse machine for relay only. Meanwhile, they have changed admins, the new one threw the Suse machine away -he didn't understand it, he is a W$ user - and asked us to manage their mail addresses instead.
Obviously I should pay more attention to the timestamps..

But just in case others find this thread while looking for ways to do this, two smtp proxies are:
proxsmtp
clamSMTP

I am glad to hear you figured out something (probably much faster than the response you got for this question).
 
Old 03-05-2007, 07:21 AM   #5
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Moved: This thread is more suitable in Linux Server and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 03-05-2007, 11:59 AM   #6
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
Simple: Do an DNAT forward of port 25 to the Exchange server. You should migrate to iptables, don't use ipchains - it's much older and does not do packet filtering as good as iptables.

I always recommend not to have an Exchange SMTP server connected directly to the Internet. A harder but more secure setup would be to use your Linux router as the SMTP gateway that relays all messages to the Exchange backend. Let me know if you need help with this. Send me an Email.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
seeking advice on running a web server hirman Linux - Newbie 4 11-25-2004 09:29 AM
Seeking advice on script satimis Programming 1 10-05-2004 03:02 PM
newbie seeking advice on properly configuring server marvc Linux - General 3 03-29-2003 03:45 PM
Linux Newbie seeking advice on proper security for 7.3 web server... marvc Linux - Security 3 03-24-2003 02:42 PM
can anyone help need a advice on mail server DemisK Linux - General 1 04-04-2002 02:44 PM

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

All times are GMT -5. The time now is 12:23 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