![]() ![]() Alternatively, you may want to scan all mail but tweak your rules so that administrative and mailing list messages have to meet a higher threshold (X-Spam-Level) before they are treated as spam. To minimize the chance of false positives, especially if you are using Bayes training, you may want to put these rules after any other rules which handle mail you don't want scanned, such as legitimate administrative and mailing list traffic. procmailrc file, add the above lines to it. LOG="*** Dropped F off From_ header! Fixing up. # NOTE: This is probably NOT needed in recent versions of procmail # Work around procmail bug: any output on stderr will cause the "F" in "From" with a score higher than the set threshold) ![]() ![]() # false positives according to rules/STATISTICS.txt). # Mails with a score of 15 or higher are almost certainly spam (with 0.05% In Ubuntu Server, I switched to the root user and installed Spamassassin: 1 2 sudo su apt-get install spamassassin spamc During installation, the user debian-spamd was automatically created. # The lock file ensures that only 1 spamassassin invocation happens Configuring Spamassassin + Postfix Vyacheslav Leave a comment I’ll give an example of installing and configuring Spamassassin to filter spam. # isn't bigger than a few k and working with big messages can bring # (500 * 1024 = 512000 bytes) are processed by SpamAssassin. # The condition line ensures that only messages smaller than 500 kB From the look of your question, you are probably a backscatter source. # if you use the spamc/spamd combination) spamassassin package can also be integrated into a Mail Transport Agent such as postfix. If you are using SpamAssassin as an after-queue filter in Postfix (the usual way of running it), you need to either tag-and-deliver (and filter with client-side rules) or quarantine the mail without notifying the sender. Included is an option to filter spam with Spamassassin. It will support large numbers of users from multiple domains. Spamassassin postfix how to## Pipe the mail through spamassassin (replace 'spamassassin' with 'spamc' provides step-by-step instructions on how to install the popular open-source Postfix mail server with Courier for POP email, SASL for authentication and MySQL for configuration and administration. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |