![]() # URIDNSBL - look up URLs found in the message against several DNS Loadplugin Mail::SpamAssassin::Plugin::Rela圜ountry # Note: This requires the IP::Country::Fast Perl module Init.pre # Rela圜ountry - add metadata for Bayes learning, marking the countries # Set the threshold at which a message is considered spam (default: 5.0) Local.cf # Add *****SPAM***** to the Subject header of spam e-mails You can find the config files into /etc/mail/spamassassin > cd /etc/mail/spamassassin We have installed the Razor2 perl package that we will see in the next page. I had to skip the tests because of many errors. Installed prerequisites of Net::DNS: force notest install Test::More MIME::Base64 Digest::MD5 Digest::HMAC_MD5 Net::IPĬontinue installing these modules (always from CPAN): force notest install Net::Ping Net::DNS Time::HiRes Digest::SHA1 Getopt::Long Digest::Nilsimsa URI::Escape HTML::Parser HTTP::Date IO::Zlib Archive::Tar Mail::SPFįorce notest install Mail::SPF::Query Net::Ident IO::Socket::SSL Mail::DomainKeys Mail::DKIM LWP::UserAgent HTTP::Date Encode::Detect BSD::Resourceįorce notest install Storable DB_File Net::SMTP BerkeleyDBįorce notest install Geo::IP IO::Socket::IP Net::Patriciaįinally, if everything is ok install spamassassin and Razor via CPAN force notest install Mail::SpamAssassin Mail::SpamAssassin::Plugin::Razor2 perl -MCPAN -e shellįorce notest install Socket6 IO::Socket IO::Socket::INET6 LWP MD5 CPAN::DistnameInfo Mail::DKIM Reply yes if dependencies are found, install in this order and force install when needed. Some of them have dependencies as well.Īt the end this is how I have installed everything. These modules are missing and must be installed from CPAN. optional module missing: IO::Socket::IP.optional module missing: Encode::Detect.optional module missing: LWP::UserAgent.optional module missing: IO::Socket::SSL.optional module missing: IO::Socket::INET6.Then restart spamd and qmail spamdctl startĬreate the spamd user and group, prepare config and log dirs: mkdir -p /etc/mail/spamassassin /home/spamd /var/log/spamassassinįinally install spamassassin via cpan perl -MCPAN -e shell Here is how to update quickly: qmailctl stopĬpan> force notest install Mail::SpamAssassin Mail::SpamAssassin::Plugin::Razor2įinally you have to apply this modification to the txrep table, as the column count was renamed ( tx Tony Fung): ALTER TABLE `txrep` CHANGE `count` `msgcount` INT(11) NOT NULL DEFAULT '0' moved the configuration of Razor, Pyzor and Spamcop to a separate page SpamAssassin runs on a server, and filters spam before it reaches your mailbox. SpamAssassin uses a variety of mechanisms including header and text analysis, Bayesian filtering, DNS blocklists, and collaborative filtering databases. ![]() SpamAssassin is a mature, widely-deployed open source project that serves as a mail filter to identify Spam.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |