
The later would be in /etc/spamassassin/local.

#Disable spamassassin install#
So either you can install your own DNS forwarder, or pay for URIBL’s service, or you can stop using the service. Now that SpamAssassin is set up and running, Users just need to enable it at their User Level -> SpamAssassin section to create their userprefs file, and email scanning should begin. Since we’re using Hetzner’s default DNS servers as most of their customers, it seems like the result is too many lookups to URIBL and in consequence URIBL blocking lookups from Hetzner’s.

Click on Apache SpamAssassin under EMAIL cPanel > EMAIL > Apache SpamAssassin 3. Log into cpanel using cPanel username and password. Spamassassin should be turned ‘On’ in Tweak Settings before doing the above steps.
#Disable spamassassin how to#
The server in question is running at Hetzner and 188.40.24.98 seems to be Hetzner’s front-end forwarding DNS server. How to Enable/Disable spamassassin through cPanel. Emails blocked due to this response are done so incorrectly. SpamAssassin is a free, open-source, flexible and powerful spam-fighting tool. # 2.0.0. descriptive text "Too many queries from 188.40.24.98. Specifically, we will see how to check email header and body with Postfix and SpamAssassin (SA) to detect spam. Then you can check whether your dns forwarder is possibly blocked by URIBL: $ host -t TXT 2.0.0.
#Disable spamassassin series#
To enable or disable the spamd daemon from the command line, run either of the following series of commands. Sudo update-rc.If Spamassassin is reporting the following: 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. To enable or disable Apache SpamAssassin, use the Enable Apache SpamAssassin spam filter setting in WHM’s Tweak Settings interface (WHM Home Server Configuration Tweak Settings). 4 On this page find the email account that you are trying to configure, and press the Set Up Mail Client link: 5 Click on Enable Spam. 3 In the Email section of the cPanel home screen, click Spam Filters. 2 Seach for Email section in the search box. Prevent AmavisD and ClamAV services from booting on reboot sudo update-rc.d -f clamav-daemon remove Enable/Disable SpamAssassin From cPanel: 1 Login to your cPanel account. Restart Postfix for the changes to take effect.ĭisable AmavisD and ClamAV services (Debian/Ubuntu) sudo /etc/init.d/clamav-daemon stop Mail::SpamAssassin::Plugin::LDAPfilter provides LDAP-based blacklist and whitelist filtering capabilities to SpamAssassin 3.x installs. If you don’t have the second line in your file, it’s not a problem.Ĭomment out the following line from Postfix config file /etc/postfix/master.cf -o content_filter=smtp-amavis::10026 Receive_override_options = no_address_mappings Since all my emails are forwarders to Gmail, I wasn’t really concerned about any spam getting through as I plan to rely on Gmail for that anyway.ĭisabiling AmavisD and ClamAV will, by extension disable SpamAssassin since iRedMail does not invoke SpamAssassin itself but rather through AmavisD.Ĭomment out the below lines in Postfix config file /etc/postfix/main.cf content_filter = smtp-amavis::10024

IRedMail will still work after removing the spam component…but it will allow spam through. Notes: If you enable this feature and a message that is not spam meets or exceeds the defined score. It will use every bit of your available memory at that level! I could barely log into SSH to maintain my server at 768MB of memory. To disable this feature, click Disable Auto-Delete Spam. So I set up a server using iRedMail and ran in to an issue: I started out with 768MB of memory and it was GONE!!! If you are going to install iRedMail and want to use all of the functionality, you need to start out with 2GB of memory at a minimum.
