The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Disabling SMTP

Discussion in 'E-mail Discussions' started by fmanders, Jul 5, 2005.

  1. fmanders

    fmanders Member

    Joined:
    Jun 14, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    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. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    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.
     
  3. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    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.
     
Loading...

Share This Page