Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Jun 2004
    Posts
    7

    Default Disabling SMTP

    I run a webserver with newest stable cpanel on fedora core 2.
    at tthis moment i have alot of problems with spam comming from my server. now the best way to stop it is to completly disable SMTP, but if i stop exim ... i cant receive any mail .. .so thats not an option.

    how can i configure cpanel so that the smtp server stopts but i can receive mail ????

    (i dont want to limit smtp or something .. just stop it completly)

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Block outgoing port 25 in iptables would do that. That way incoming email will arrive but exim will never send out any email.

    Surely it would be better to secure your server properly and to fix the vulnerabilities that you have on the server that are being exploited. Today it may be spam, tomoorow your server could be used as part of a DDOS or root compromised.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    You'll also need to block other SMTP ports, just in case you are using them, such as 26 or 1000. It is very improtant to secure your server now.
    Andy Reed
    RHCE and CCNA
    ServerTune.com

Similar Threads & Tags
Similar threads

  1. Unable to authenticate to SMTP server - smtp-auth
    By DWHS.net in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-21-2010, 01:49 AM
  2. exim disabling starttls remote smtp
    By charleswu in forum E-mail Discussions
    Replies: 1
    Last Post: 04-16-2010, 05:17 PM
  3. Replies: 5
    Last Post: 09-23-2008, 04:30 PM
  4. disabling ftp access for an account without disabling account
    By periwinkle in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 10-25-2007, 06:14 PM
  5. Disabling POP authenticated SMTP ... ??
    By ibmbhasi in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-17-2003, 01:05 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube