LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 02-25-2007, 07:43 AM   #1
dougp23
Member
 
Registered: Oct 2006
Posts: 36

Rep: Reputation: 15
Setting Up Email Server


Good morning everyone!!

I have been charged with setting up an email server for my company. I last did this in (gasp) 2000 with qmail on RedHat (I think 7.1 at the time).

Anyways, I have sort of settled on CentOS as the OS, and Scalix as the email system.

To be efficient, I want to set it up so my users connect to it over the LAN when they're at work. Of course, it will need a NIC to the DMZ of my PIX firewall so the outside world can send us email. So my question is, how do I set it up so it has that outside interface, but reduce the chances that someone comes in on that outside NIC and gets access to my inside network??

And if you have any recommendations on Email servers, feel free to tell me that too!!! I have my reservations about Scalix, though the web interface is very snazzy.

Thanks.
 
Old 02-25-2007, 09:20 AM   #2
asommer
Member
 
Registered: Mar 2003
Location: North Carolina
Distribution: Gentoo
Posts: 168

Rep: Reputation: 30
You can minimize your exposure by only allowing traffic on port 25 to the mail server. Also placing it in the DMZ would help.

I'm currently using sendmail for an MTA and dovecot for POP/IMAP server. The front end we're using is Horde:

http://www.horde.org/

Has all the functionality of any groupware suite, but it integrates with your existing mail servers which is nice.

Thats my 2cents anyway.
 
Old 02-25-2007, 12:43 PM   #3
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 48
There is a super easy setup guide for qmail+squirrelmail+spamassassin+clamav at http://qmailrocks.org . It is so simple a *nix newbie can get through it. In your situation, behind a hardware firewall, it should be secure enough. As stated above, only allow access from the WAN to port 25, and add 110 for pop3 or 143 for imap if you want people to be able to access those services outside the office. There are GUI webpages for adding/removing domains, and you can set up forwarding rules, vacation messages and most things through one of the local sites, and the other allows you to see info like when an individual account was last accessed, and what its current password is. Obviously those should be very heavily protected from the outside world, probably not even available outside the office.

Peace,
JimBass
 
Old 03-01-2007, 02:35 PM   #4
nmh+linuxquestions.o
Member
 
Registered: Feb 2007
Posts: 135

Rep: Reputation: 15
how large a system are you looking to impliment? 10 users? 1000? 100000?

I use cyrus for a small setup, but it is nicely scalable to much larger systems.
 
  


Reply

Tags
cyrus, email, imap, security


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 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 chu_man_fu Linux - Newbie 1 07-03-2003 12:45 PM
Setting up Email server rdefino Linux - Newbie 2 02-11-2003 05:39 AM


All times are GMT -5. The time now is 12:29 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration