![]() ![]() PKGNAME: spamass-rules Flavors: there is no flavor information for this port. NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. To install the port: cd /usr/ports/mail/spamass-rules/ & make install clean To add the package, run one of these commands: etc/mail/spamassassin/99_FVGT_Tripwire.cf.etc/mail/spamassassin/20_dnsbl_nixspam.cf.etc/mail/spamassassin/10_dnsbl_mspike.cf. ![]() etc/mail/spamassassin/99_SMF_BRACKETS_TO.cf.¦ ¦ ¦ ¦ pkg-plist: as obtained via: make generate-plist Expand this list (8 items) Collapse this list. Keep an eye on hits from the new rules toĭetermine if the scoring is right for you. Make sure to -lint the rules after loading them.Ĥ. ![]() Check to make sure that the default scores in these rules fit your Read any extra info available with the rules, including the commentsĢ. Maintainer: Port Added: 01:12:24 Last Update: 21:58:51 Commit Hash: fb16dfe People watching this port, also watch:: clamav, razor-agents, p5-Mail-Tools, nmap License: not specified in port Description: Custom rulesets for SpamAssassin which are not part of the official distro.īefore running these rules please do the following:ġ. Spamass-rules Custom rulesets for SpamAssassinĢ0190101 mail =25 20190101 Version of this port present on the latest quarterly branch. Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15) All times are UTC > On 10/10/17 16:25, Peter H.FreshPorts - mail/spamass-rules: Custom rulesets for SpamAssassinĪs an Amazon Associate I earn from qualifying purchases. > 2.There is any way to preform specific rule for specific condition like : > 1.where to put it so it can be merge to the other rule in the system > I already been there, but thank you anyway. In the example you give, there's nothing to distinguish between the two rules, so I can't tell what you're trying to accomplish.Īre you handling mail for multiple domains? If you're only accepting mail for "," then you can omit the To: part of the rule and just key on the From. Are you looking to create multiple conditions that must be met? You can use the "meta" directive for that. I'm not sure what you are asking for though. Usually that's done only to adjust the scores given to those pre-existing rules. Items in the first directory usually expand the ruleset, though you can override existing rules there as well. The SA-supplied rules are in /usr/share/spamassassin. Usually the local rules go in /etc/mail/spamassasin. Subject: Re: Adding custom rules - spamassassin ![]() Network/email Administrator, CBJ MIS Dept. Much less granular but very effective when you just want to stomp on everything from a particular user or domain.īTW, on some systems, the default spamassassin rulesets land in /var/lib/spamassassin, not /usr/share/spamassassin, depending on which distro you're using. Using MailScanner white/black lists allow you to accept or block at the username and/or domain name level. Using a spamassassin rule will let you target very specific patterns which is good if a bunch of spam messages are identical but being sent from multiple different domains, or from an email address from which you don't want to block everything. Look in the rules directory for examples. The other option is to use the whitelist or blacklist settings in nf: Then, create the rules that you need within that file. cf will be processed automatically by spamassassin. cf (MySpamRules.cf, for example) in /etc/mail/spamassassin. To create custom spamassassin rules, create a text file ending in. MailScanner will then act on them via the spam actions and spam score settings in nf (or your customizations in the conf.d directory). Both are fairly easy.Īs Peter mentions, you can create a rule in spamassassin which will add or subtract X points to messages that match. You have a couple options for black/white listing. Next message (by thread): Whitelisting code.Previous message (by thread): Adding custom rules - spamassassin.Adding custom rules - spamassassin Kevin Miller kevin.miller at ![]()
0 Comments
Leave a Reply. |