Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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 Exim don't work?

Discussion in 'General Discussion' started by OooLong, Apr 12, 2017.

  1. OooLong

    OooLong Well-Known Member

    Joined:
    Mar 16, 2011
    Messages:
    89
    Likes Received:
    0
    Trophy Points:
    56
    cPanel Access Level:
    Website Owner
    So I disable exim in Service Manager Exim Mail Server

    Testing exim with /etc/init.d/exim status

    exim (pid 63048) is running...

    I thought it was supposed to be off? Does anyone know how to turn exim off permanently? Thanks.
     
  2. Eminds

    Eminds Well-Known Member

    Joined:
    Nov 10, 2016
    Messages:
    211
    Likes Received:
    13
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Login to your server with root and use the below command to stop the exim

    /etc/init.d/exim stop or service exim stop and to make sure no exim process running use command

    killall exim
     
  3. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    568
    Likes Received:
    40
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Go to "Service Manager" in WHM, uncheck exim. Save your changes. Log onto SSH and stop exim using below command

    service exim stop

    Once you have disabled in Service Manager, chkservd won't restart it
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I'm unable to reproduce the issue you have described on a test system. I disabled Exim via "WHM >> Service Manager" and confirmed it was no longer running:

    Code:
    # /scripts/restartsrv_exim --status
    (XID afy6hq) The “exim” service is disabled.
    # ps aux|grep exim
    root     24568  0.0  0.1 112656  2256 pts/0    S+   09:44   0:00 grep --color=auto exim
    You can kill the Exim process with the "kill -9 PID" command if the process is hanging.

    Thank you.
     
Loading...

Share This Page