LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 11-11-2013, 08:53 AM   #1
mikelegacy
LQ Newbie
 
Registered: Nov 2013
Location: Pittsburgh, PA
Distribution: CentOS 6
Posts: 3

Rep: Reputation: Disabled
Proper way to secure a mail server


Hey guys, more of a web developer here, but I have intermediate-level skills in managing linux, it's been super fun so far!

I just recently got a mail server up and running on my Linux box (CentOX 6.4 x64, mail server is iRedMail) and I've been researching some of the things I need to do to lock it down to avoid spammers taking over my account and getting blacklisted.

My question is, what do you guys consider most important when securing a mail server? If you could link off to an article you love or something, that would be great.

Some steps I've taken:

-Whitelists and Blacklists setup
-SPF setup on the domain's DNS
-Running SSL encryption over the network
-Mail server is not an Open Relay

Ran a test of my server at this address: http://mxtoolbox.com/diagnostic.aspx
and everything passed....

I really think I need to setup a query to SpamHaus or on of the DNSBLs but I'm not entirely sure how to do that.

I have been referencing this article: http://www.vircom.com/security/top-1...-email-server/

But I'm not really sure how to do some of that stuff, a more tutorial-based article would be preferred.

Thanks guys! Any help is appreciated, big or small!

Last edited by mikelegacy; 11-11-2013 at 10:15 AM.
 
Old 11-11-2013, 04:19 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
http://wiki.centos.org/HowTos/Amavisd .. this is a pretty common configuration. I use this in conjunction with policyd-weight but there are other policy servers such as postgrey - http://wiki.centos.org/HowTos/postgrey.
 
Old 11-11-2013, 04:45 PM   #3
mikelegacy
LQ Newbie
 
Registered: Nov 2013
Location: Pittsburgh, PA
Distribution: CentOS 6
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by kbp View Post
http://wiki.centos.org/HowTos/Amavisd .. this is a pretty common configuration. I use this in conjunction with policyd-weight but there are other policy servers such as postgrey - http://wiki.centos.org/HowTos/postgrey.
Any solutions you know of that don't involve greylisting? In my experience so far, greylisting has queued messages for up to an hour (usually minimum 15-30 minutes) before I actually receive them on my end, and this is just not something I can deal with. I have customers and internal conversations that need to be timely.
 
Old 11-11-2013, 07:55 PM   #4
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
Greylisting shouldn't affect many legitimate customers and if it does then they can work around it by relaying all outbound email through their ISP's mail servers. Sending email directly from a SOHO setup in a dynamic range is almost guaranteed to be dropped.
 
  


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
Best Mail Secure & Stable Open Source Mail Server turiyain Linux - Server 14 01-23-2015 06:12 AM
The most secure mail server software? RoseTheFlower Linux - Security 8 06-17-2013 04:22 AM
[SOLVED] Secure and functional mail server? debwalker Linux - Security 5 07-07-2012 09:47 PM
LXer: Review of “Linux E-Mail – set up, maintain, and secure a small office e-mail server” LXer Syndicated Linux News 0 03-25-2011 05:30 AM
Secure Mail Server Setup djkene70 Linux - Networking 3 10-14-2003 01:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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