hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Can you disable email in linux?
Reply

Forum Jump

Can you disable email in linux?

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old
Junior Guru Wannabe
 
Join Date: Jun 2008
Posts: 36

Can you disable email in linux?


I have alot of mail spam for my servers and I want to disable mail alltogether. I don't really need it, for I'm mostly using free mail. How do I do it? Is this possible?
Thanks.



Sponsored Links
  #2  
Old
Junior Guru
 
Join Date: Sep 2007
Location: Vijayawada
Posts: 185
Which OS?
Which mailserver software is it running?
Using any control panel?
Do you have shell access to the server?

__________________
TUXG Hosting - shared hosting simplified
Linux | BSD ~ Joomla | Drupal
o 99.9% Uptime o Anytime Phone Support o 30-day Moneyback


  #3  
Old
Junior Guru Wannabe
 
Join Date: Jun 2008
Posts: 36
Hi,

CENTOS Enterprise 4.6 i686 on standard - WHM X v3.1.0

Exim I believe for mail

WHM 11.15.0 cPanel 11.18.6-S24739

Yes I do.

Sponsored Links
  #4  
Old
Web Hosting Master
 
Join Date: Oct 2007
Posts: 1,902
If you don't want exim, you can disable it from WHM -> Service Manager -> Uncheck Exim and Save.

__________________
ServerPoint.com - a true hosting company offering online presence solutions since 1998.
>>Web Hosting, colocation, dedicated servers and virtual private dedicated servers.
>>>>Wholly owned multi homed network, servers and facilities.

  #5  
Old
Junior Guru Wannabe
 
Join Date: Jun 2008
Posts: 36
Disabling exim, I'm getting spam emails though no? I want to disable mail completely, ie. not getting any incoming mail.

  #6  
Old
Newbie
 
Join Date: Jun 2008
Posts: 21
yum remove your mailserver then.

  #7  
Old
Web Hosting Master
 
Join Date: Jun 2008
Posts: 1,471
Disabling exim, aka stopping the service and not having it startup on boot will cause you not to receive any emails on the machine.

You need not uninstall it, as stopping the service is enough.

  #8  
Old
Junior Guru
 
Join Date: Mar 2006
Posts: 241
Remove exim service from chkconfig also

chkconfig --del exim

__________________
LiquidSupport - A subsidiary of I-Fort Technologies (Pvt.) Ltd
Server Administration | Technical Support | Web Development

  #9  
Old
Web Hosting Master
 
Join Date: Oct 2004
Location: Kerala, India
Posts: 4,740
You should block the SMTP port 25 on the server firewall. Once this is done no mail server related communication will be entertained by your server.

__________________
David | www.cliffsupport.com
Affordable Server Management Solutions sales AT cliffsupport DOT com
CliffWebManager | Access WHM from iPhone and Android

  #10  
Old
Junior Guru Wannabe
 
Join Date: Jun 2008
Posts: 36
I disable Exim and it seem to work.

Is disabling Exim same as firewall? cause Exim is not getting mail anyway.


"Remove exim service from chkconfig also

chkconfig --del exim"

Do I need to do that? since Exim is working.

  #11  
Old
Web Hosting Master
 
Join Date: Aug 2007
Location: Providence, UT
Posts: 892
Just close port 25 on the server and no mail, in or out will be allowed.

__________________
Kody R.
Sr. Operations Analyst
100TB.com -> Awesome dedicated servers. Check out our server outlet!
VPS.NET -> Cloud Hosting. 18 Locations. Check out our website!

Reply

Related posts from TheWhir.com
Title Type Date Posted
VPSNine Listing 2014-02-21 08:01:04
WiredTree Listing 2014-01-23 19:31:17
HostMetro Listing 2014-01-23 17:07:32
Netaction Telecom SRL Listing 2014-01-10 06:45:56
Remly Communications Listing 2014-01-06 15:17:41


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
WHT Host Brief Email:

We respect your privacy. We will never sell, rent, or give away your address to any outside party, ever.

Advertisement:
Web Hosting News:
WHT Membership
WHT Membership



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?