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.

Exim: Suspend a Mail domain and its "Default email account"

Discussion in 'E-mail Discussions' started by armin654, Feb 12, 2014.

  1. armin654

    armin654 Well-Known Member

    Joined:
    Feb 12, 2014
    Messages:
    45
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hello there
    We have many users on our server and sometimes when a user is hiJacked we will experience high amount of SPAMS.

    We can suspend the whole account but it will result in suspend all of the services (Web, Email, MySQL,...)
    We can also disable only MAIL SERVICE of the specific user using blockdomains file for EXIM.

    Ok! Using blockdomains will work but the user is still able to send email programmatically from CODE inside his website using the DEFAULT EMAIL ACCOUNT of his mail service.

    How we should disable the DEFAULT EMAIL ACCOUNT as well.

    I want to avoid any outgoing message from mail domain example.com using available mailbox and either DEFAULT EMAIL ACCOUNT.

    Could you please give me some solution?
    Thank you for your kind attention.
     
  2. armin654

    armin654 Well-Known Member

    Joined:
    Feb 12, 2014
    Messages:
    45
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Dear Michael!
    I already read those topics but they went off-topic and there is no final reply.
    My final question is how to completely disable a Mail Domain plus its Default account.
    So client is not able to send email using Default Account via code and using webmail and authenticated users.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    There are no native methods to disable email completely for an account without manual/custom modifications to the Exim configuration. The thread I referenced offers a link in one of the posts to another thread that might offer a solution you are looking for:

    Block one domain name from sending email

    I referenced the original thread because it also mentions the open feature request for this.

    Thank you.
     
Loading...

Share This Page