How to disable antivirus completely when low on memory?

Discussion in 'Tips/Tricks/Mods' started by hotmifi, May 27, 2022.

  1. hotmifi

    hotmifi New Member HowtoForge Supporter

    This is how I managed:
    nano /etc/postfix/main.cf
    comment out:
    #smtpd_milters = inet:localhost:11332
    #non_smtpd_milters = inet:localhost:11332

    systemctl disable --now clamav-daemon.service
    systemctl disable --now clamav-freshclam.service
    systemctl disable --now rspamd.service
    systemctl restart postfix dovecot
    Anything else I should be aware of?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You disabled also spam scanning and Dkim signing of emails with these steps.
     
  3. hotmifi

    hotmifi New Member HowtoForge Supporter

    This is okay, I am setting up just a relay server. Only for handing over. The originating server does all the virus and spam checking and the big email vendors happily receive such relayed messages: Gmail, Yahoo, Outlook, GMX and even T-Online.
     

Share This Page