How to disable emails from server

Discussion in 'Site & Server Administration' started by Mr.Bill, Jul 16, 2009.

  1. #1
    Does anyone know how to disable emails from a server? I have had a report that someone is able to send spam emails from my server and I am at a lose on how to resolve the issue.

    This is a dedicated server so I do have full access.
     
    Mr.Bill, Jul 16, 2009 IP
  2. DemCage

    DemCage Peon

    Messages:
    77
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Your server probably has been compromised if you have full access and are responsible for updates.

    The best thing is taking your server offline and contacting your support.
     
    DemCage, Jul 16, 2009 IP
  3. jphilipson

    jphilipson Peon

    Messages:
    167
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    What type of server is it? What is the OS, control panel software and mail server software on it?
     
    jphilipson, Jul 16, 2009 IP
  4. vasyl

    vasyl Peon

    Messages:
    138
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Block outguing connections to 25th tcp port with firewall - PM me for details and help
     
    vasyl, Jul 17, 2009 IP
  5. toxpenguin

    toxpenguin Guest

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    you can filtering spam email..

    check this out http://www.esjeruk.org/?p=142

    hope help.. :D
     
    toxpenguin, Jul 17, 2009 IP
  6. kailash

    kailash Well-Known Member

    Messages:
    1,248
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    190
    #6
    Block the SMTP port in your serve firewall and then find the root cause of the problem. You will get more information from your mail server logs. Please note that if you block SMTP port, it will block all emails from your server.
     
    kailash, Jul 17, 2009 IP
  7. bhanuprasad1981

    bhanuprasad1981 Active Member

    Messages:
    665
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    53
    #7
    if you are using whm / cpanel you can set number of emails per hour to 1 this will prevent accounts from sending mass mails only 1 email will be allowed , second try disabling nobody from sending mail, third enable mail headers in apache to catch exact spammer :)
     
    bhanuprasad1981, Jul 18, 2009 IP
  8. olddocks

    olddocks Notable Member

    Messages:
    3,275
    Likes Received:
    165
    Best Answers:
    0
    Trophy Points:
    215
    #8
    is he exploiting the script to send spam? if so harden the forms and php code or may be your mail account could be hacked. it happened to me once and i changed the password to a hard guess. Since then spam stopped.
     
    olddocks, Jul 18, 2009 IP