how can I disable rspamd daemon?

Discussion in 'General' started by calbasi, Nov 12, 2021.

Tags:
  1. calbasi

    calbasi Member HowtoForge Supporter

    Hi, how can I disable rspamd daemon? I have a server with no mail mailboxes, just messages send by my websites php mailer, so I don't need it...
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Do not install it?
    Just to disable:
    Code:
    systemctl stop rspamd.service
    systemctl disable rspamd.service 
    I have not tried those, so do not know what side effects there are from disabling rspamd.
     
    calbasi likes this.
  3. calbasi

    calbasi Member HowtoForge Supporter

    (I think) I've not installed it! :) My Ispconfig on this server has installed several years ago! Not sure if has been installed when upgrading ispconfig, some days ago, but the daemon start to overload my system after a debian upgrade:

    (Debian Stretch) ISPConfig 3.2.7p1

    > I have not tried those, so do not know what side effects there are from disabling

    That's what I'm trying to guess ;-) I supose I can test it and, if anything goes wrong, re-enable rspamd.service again, can't I?

    In my servers, except the one I have my mailserver, I use to disable amavis/spamassassin. But I have to do it again and again when I upgrade IspConfig. Maybe, it is better when I install a new IspConfig on a new brand system just to discard email server service? Like I do with DNS name service?? Is there any problem when the websites hosted there try to send mail (I think drupal uses php mail() function by default)
     
  4. calbasi

    calbasi Member HowtoForge Supporter

    Right now I've just add to the root crontab:

    35 3 * * * systemctl stop rspamd.service

    If server restart (it's not usual), it won't be more then 24 with rspand on.
    It's not a great solution, but I'm going to migrate the websites there to a new server, because of debian 9 is unsupported right now.
     
  5. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    Yes, if you have a multi-server install, disable services on each server which they are not used for. If you have a single mail server, disable 'mail' on all the others, etc.
     
  6. calbasi

    calbasi Member HowtoForge Supporter

    I don't have a multi-server install. Just some "alone" servers doing their job. One of them manage some mail domains, the others just some website hosting (but websites need to send mail: Moodle, drupal).
     

Share This Page