LinuxQuestions.org
Visit Jeremy's Blog.
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 05-21-2011, 12:40 AM   #1
centos123
Member
 
Registered: Apr 2011
Posts: 397

Rep: Reputation: 16
tools for securing mail server


iam working on mail server in redhat \centos.
i want to know how to secure my mail server for heavy loading , any monitoring tools in GUI or console , is any essential tool which is used in Like MNC for mail server..

i know few command in like top,netstat,etc through google but i willing to know some more
 
Old 05-21-2011, 12:44 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

Have a look at the following sites, they'll give you some ideas:
Effective mail server defense
Securing your installation

Kind regards,

Eric
 
Old 05-21-2011, 01:40 AM   #3
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Quote:
i want to know how to secure my mail server for heavy loading
Hello,

Are you talking about load balancing, or about more in general load security, ie. DOS, packet flooding, etc?

Cheers,

Josh
 
Old 05-23-2011, 06:50 AM   #4
centos123
Member
 
Registered: Apr 2011
Posts: 397

Original Poster
Rep: Reputation: 16
well corp, iam talking about checking all avtivities in mail server,starting form accessing mail server by client to loading on server every thing all that a mail server have...
 
Old 05-26-2011, 11:22 AM   #5
j.smith1981
Member
 
Registered: Feb 2009
Distribution: Mainly CentOS6.4 x64
Posts: 161

Rep: Reputation: 1
If your wanting an already configured email server (and your distro is part of the RHEL family)

I use iredmail myself and never had any problems, it even stops relaying from unknown hosts.

I mean I was attempting to allow XAMPP on my working computer as such, all I do on it is use it for local dev work, it even blocked that from using its SMTP service, using Postfix (which I use all the time now).

Like it says in that guide from that link on howtoforge, it won't be perfect but it does setup the DKIM for you which is really good and I have never had many backscatter (probably all being fair, once in 3 months of my last system upgrade), it's really superb!

Though I don't like the new iRedadmin web interface for adding in Users, as all the email users are stored in a database, either LDAP or MySQL (can't remember if it allows for PostgreSQL, but from what I remember it might do), here is the link anyhow:

http://www.iredmail.org/

I have amended it using postfixadmin, as I prefer that admin page, you don't have to pay for that like you do with iRedadmin.
 
Old 05-27-2011, 03:59 PM   #6
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
I vote for http://www.iredmail.org/ too !
 
Old 05-28-2011, 04:17 PM   #7
j.smith1981
Member
 
Registered: Feb 2009
Distribution: Mainly CentOS6.4 x64
Posts: 161

Rep: Reputation: 1
It's a great package.

I mean with the Perl Policy for backscatter, I get it's principles, works out where the email is being forged from (the network it originates from, as mines somedomain.co.uk (just as an example), but since I am a DHCP server to my ISP it's actually virgin's email network), it sends it from their smtp address if the recipients is from another domain.

But if the mail address is being forged to mine and it originates from mine, comes back (the backscatter part), where as the email is actually coming from a seperate network to the forged email address comes back as non delivered then it rejects it from my network.

Also coupled with the new router OS I have installed I really think I have a very secure network, was looking at artists lyric sites for some stuff just out of interest and nothing came back with any spy/malware, it's really very good.

I use snort with seems to stop allot of my annoying Spam too, since I have enabled the relevant rules for this too, worth trying to see if you can use Snort with your existing setup!
 
Old 05-28-2011, 04:42 PM   #8
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
Quote:
I use snort with seems to stop allot of my annoying Spam too, since I have enabled the relevant rules for this too, worth trying to see if you can use Snort with your existing setup!
Would you please elaborate on this concept? I thought Snort was an intrusion detection / packet sniffing application. If this is the same snort, how to you integrate it into your mail system? This sounds intriguing.
 
Old 05-28-2011, 11:21 PM   #9
j.smith1981
Member
 
Registered: Feb 2009
Distribution: Mainly CentOS6.4 x64
Posts: 161

Rep: Reputation: 1
Smile

Yes of course I can elaborate (excuse me if I don't make much sense though, haven't had any sleep and its 5am in the morning here )

Yes you couldn't be more right, but on the elaboration of this, is that there's some rules for both smtp and pop3 aswell as phishing spam prevention.

I mean there's a router/firewall called pfsense I have installed on my old computer (used to run centos 4.8 on a while back), before I brought an old refurbished Dell DC7100 (just wanted to try and run centos 5.5 (before I upgraded to 5.6).

I now run Snort with a number of categories enabled in the Snort config web page, then enable those rules for both my web applications and my mail server, I mean it's decreased the number of spamming emails I have been getting for some reason, whether its coincidental or because of those rules I have enabled with Snort, I really don't know.

But it's worth giving it a go if you can?

But you do need quite a bit of system resources to allow for Snort to work, mines not quite up to par to having all the rules enabled but a certain selection on the no of open ports seems to work quite well.
 
  


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
help me securing my mail server through iptables ridwan77 Linux - Newbie 4 04-30-2009 07:57 PM
iptables help - securing mail server Ruthiness Linux - Security 2 02-14-2008 07:28 AM
securing my server linuxhippy Slackware 17 08-20-2006 06:34 PM
Securing Server brentos Linux - Security 4 06-08-2004 10:57 AM
Securing Mail and Web hosting server Tigger Linux - Security 1 05-31-2003 10:27 AM

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

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