LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-07-2003, 02:52 PM   #1
tarballed
Member
 
Registered: Jun 2002
Distribution: RH, FC, FreeBSD,OpenBSD
Posts: 326

Rep: Reputation: 30
Question setting up a email server, with a twist...?


Hi everyone.

I have a question about a possible scenario on setting up a email server on our company's network.

I had a long meeting today with management and they decided they wanted to have me try and setup a email server, with a twist.

Basically, what they want to do is setup our web server to be able to forward email requests to our internal mail server. They decided that they do not want to stick the mail server on our DMZ, but instead, use our web server on the DMZ and set it up to act as a 'middle man' sort a speak.

First, is that possible?
Second, is it even a good idea/bad idea?

Third, does anyone have any suggestions to a possible alternative to this if this is not a good idea? Or, suggestions for something I can setup to appease managment here?

Lastly, any links on where I can find this out at?

Im still fighting with managment on what type of program to use for email. I cringe at using sendmail, but they want to use it for a variety of reasons.

Well, im eager to get some feedback on this.
Thanks everyone.

Tarballed
 
Old 07-07-2003, 02:56 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
A few things:
If you handle firewall rules properly then why can't it go on the DMZ?
Why do you need it to be on the DMZ? It will run on the LAN.

In saying all that - you can use sendmail or qmail to act as a relay.
 
Old 07-07-2003, 03:09 PM   #3
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

Rep: Reputation: 46
You could also use Postfix if you can convince them. Postfix is a little easier to wrestle with and you could pitch it as a good way to encorporate spam filtering with Spamassassin. See the link in my sig for instructions. Works like a charm..
 
Old 07-07-2003, 03:18 PM   #4
tarballed
Member
 
Registered: Jun 2002
Distribution: RH, FC, FreeBSD,OpenBSD
Posts: 326

Original Poster
Rep: Reputation: 30
Well, that is the thing. The firewall the company uses is built for a medium sized companies and has a built in interface and features to use a DMZ.

Now, as far as why they dont want it on the DMZ, I can only guess. Here is the short version:

They wanted to have a few other services running on the mail server. Specifically, DNS some fax software stuff as well. I told them that, for the most part, it is a good idea to seperate services from one another in case one of them gets hacked.

They originall wanted to combine the mail server and web server into one and I really had to argue that one down.

So, ya, for the most part, I do not know what the thinking is behind this is.

I could stick the mail server on the DMZ, who knows though.

Does anyone have any recommendations on this particular setup and possibly a alternate setup?

Lastly, anyone know where I can find a good article that discusses sendmail and postfix? Im trying to find all the advantages and disadvantages of using either of these two email servers.

Any thoughts?

Thanks guys.

Tarballed
 
Old 07-07-2003, 03:35 PM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
With sendmail you should just need to add your domain to:
/etc/mail/relay-domains

Then add a line to /etc/mail/mailertable:
.yourdomain.com smtp:[ip.of.real.server]

Obviously you'll need to make the MX record point to the web server too.
 
Old 07-07-2003, 03:52 PM   #6
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

Rep: Reputation: 46
And don't forget to test your new mail server to prevent an open relay. http://ordb.org will test it for you, but will put your server on a blacklist until it tests clean.
 
Old 07-07-2003, 05:16 PM   #7
tarballed
Member
 
Registered: Jun 2002
Distribution: RH, FC, FreeBSD,OpenBSD
Posts: 326

Original Poster
Rep: Reputation: 30
Thanks guys. I really appreciate your input. I will definitely check to make sure my server is NOT an open relay.

Also, if I might add. I would really like to find out more about sendmail and postfix and using them as a mail server.

Does anyone have any reviews or comments of some sort, where I can see what is good and what is bad?

Anyone care to share personal experiences?

Which of the two is more robust? Can I add Anti-virus scanners to both sendmail and postifx? Spam? etc...the list goes on.

Oh, one last thing.

From this proposed 'solution' management derived, what are your personal thoughts about it? Let me put it this way. If it was up to you, what would you do?

Im trying to gather as much data as I can so I can make better decisions and less hassle in the long run.

Thanks guys!

Tarballed
 
Old 07-09-2003, 08:29 AM   #8
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Re: setting up a email server, with a twist...?

Quote:
Originally posted by tarballed
First, is that possible?
Second, is it even a good idea/bad idea?
Anytime that you get the opportunity to add another layer of security, jump on it.

Quote:

Im still fighting with managment on what type of program to use for email. I cringe at using sendmail, but they want to use it for a variety of reasons.
I wouldn't discount sendmail as a solution right away. When properly configured, sendmail is stable and reliable. I've setup sendmail for a couple of clients in just the configuration you describe to protect some some common groupware applications from direct attack.
 
  


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
Setting up an email server SnellgroveC Linux - Newbie 2 11-11-2005 08:19 AM
setting up an email server tommytomato Linux - Newbie 1 09-03-2004 04:46 PM
setting up email server DropSig Linux - Newbie 3 06-29-2004 08:59 AM
setting up an email server nuraga Linux - General 1 09-21-2003 02:44 PM
setting up an email server ocularbob Linux - Software 2 04-14-2003 10:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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