
I'm not a SpamAssassin expert by any stretch, but this works for me.

Somewhat easier to manage as I can add comments and delimit sections for each account (e.g. Note the final rule shown by Barracuda: Custom. I use the rule files for both blocking and allowing things. While the SpamAssassin analysis tends to be a bit more obvious, in this case, the results are quite similar. For longer term use, I'll add them to a SpamAssassin rule file. I only use rules added globally as mine is a dedicated SMTP server to i want this to apply to all services using Spamassassin. Procedure You will want to create a custom configuration file for the change.
SPAMASSASSIN CUSTOM RULES INSTALL
One way is to install the rules globally in a 'global pref' path and the other way is to have the rules only apply for a specific user in a 'user pref' path. Apache SpamAssassin does allow the ability to customize how the server processes spam emails. For quick testing the effectiveness of a particular block, I'll put it into Admin/Spam Filter/Custom Rules. You can add custom rules to SpamAssassin in two ways. btw, in which file and location did you save your rule 14 mcpl New Member Thanks for the reply. Plesk will not generate or create a new 'local. On my Mac server, they live in /usr/local/kerio/mailserver/plugins/spamserver/spamassassin/ rules.Ī good tutorial on writing SpamAssassin rules can be found on this forum here: Custom SpamAssassin scores and rules (Write your own rules and block the crap) You can check your rules with: Code: spamassassin -lint With debug mode: Code: spamassassin -D -lint If you dont get any error then you might have to restart amavisd. even that the file ' /etc/mail/spamassassin/local.cf ' shows the mentioned text, you still should use it for custom configurations.
SPAMASSASSIN CUSTOM RULES UPDATE
While there isn't a way, from within the Connect Admin interface to do this, you could stop Connect and update the mailserver.cfg file with the needed entries, then restart Connect.Ī better way, I believe, to accomplish this is to create your own custom SpamAssassin config file. Updated Question Is it possible to create custom rules for Spam Assassin Answer Yes, you may create custom rules for Spam Assassin. Take 3 (the forum ate my first two attempts): , whitespace etc)? For example Header - From, Type - contains domain, Content - domain1, domain2, domain3. How can I make one rule for all domains for example listing them through a delimiter (i.e. But my problem is a lot of domains to add (i.e.

Quote: I want to create custom rules for spam control in Configuration > Content Filter > Spam Filter > Custom rules.
