Results 1 to 3 of 3

Thread: How reliably stop dovecot?

  1. #1
    Join Date
    Nov 2009
    Posts
    5

    How reliably stop dovecot?

    Hi guys, I moved to google small business mail (updated MX records, so that all email which comes to my server now is redirected reliably to google by using DNS records and my server doesn't handle the emails anymore. That's all works great and perfect, but I assume I have to disable dovecot because I don't use it.
    Whatever command I tried, dovecot appears again. Looks like directadmin or something else monitors the service and if it is down, directadmin starts up it again. I wouldn't like to uninstall it because may be later in a year I'll need it again, but how can I disable it?

    I tried:
    service dovecot stop
    and it shows [OK] but in 10-20 seconds I see it again in ps aux | grep dovecot .
    I also tried to use kill, but dovecot resurrects again anyway.
    How can I reliably disable it so that it wouldn't start again? Thanks.

  2. #2
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    11,023
    On CentOS do the following:

    Code:
    # service dovecot stop
    # chkconfig dovecot off
    # cd /usr/local/directadmin/data/admin/
    # perl -pi -e 's/dovecot=ON/dovecot=OFF/' services.status
    # service directadmin restart
    With regards, Alex.

    Professional Server Management for web hosting companies and individuals
    Hourly Support, Disaster Recovery, Server Hardening, Monthly Subscription
    Directadmin installation and optimization

    Click here if you need a Linux Admin

  3. #3
    Join Date
    Apr 2008
    Posts
    2
    Quote Originally Posted by zEitEr View Post
    On CentOS do the following:

    Code:
    # service dovecot stop
    # chkconfig dovecot off
    # cd /usr/local/directadmin/data/admin/
    # perl -pi -e 's/dovecot=ON/dovecot=OFF/' services.status
    # service directadmin restart
    Very Good

Similar Threads

  1. Replies: 7
    Last Post: 02-13-2011, 11:01 AM
  2. stop the spam- stop mail
    By tza in forum E-Mail
    Replies: 3
    Last Post: 05-27-2010, 12:25 PM
  3. How can I stop dovecot service?
    By phpwinder in forum Dovecot
    Replies: 3
    Last Post: 10-16-2009, 05:55 AM
  4. Stop exim and/or dovecot from running at startup
    By ioor in forum General Technical Discussion & Troubleshooting
    Replies: 9
    Last Post: 04-05-2009, 09:37 AM
  5. Urgent: dovecot problem dovecot[3163]:
    By elegance in forum E-Mail
    Replies: 4
    Last Post: 02-26-2008, 04:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •