1

Topic: Add spam score based on TLD.

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version:  1.3.2
- Deployed with:  downloadable
- Linux/BSD distribution name and version: CentOS 7
- Store mail accounts  backend:  MySQL - MariaDB
- Web server (Apache or Nginx): Nginx
====

I receive a lot of spam from a specific .TLD   and very few good mails.

I don't want to block the entire top level domain ( *.br in this case) but would help adding some point of score in spamassassin.

Is it possible to create a rule to add 2/3 points of score to all messages coming from  *.tld ?
Thanks.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Add spam score based on TLD.

Sure you can add your own custom rule and scores in SpamAssassin config file /etc/mail/spamassassin/local.cf. There're some sample rules in it but commented out, you can also check document: http://wiki.apache.org/spamassassin/WritingRules