@unexec if service sa-spamd status | grep -q "spamd is running"; then service sa-spamd stop; fi bin/sa-awl bin/sa-check_spamd bin/sa-compile bin/sa-learn bin/sa-update bin/spamassassin bin/spamc bin/spamd @preunexec rm -rf %D/%%ETCDIR%%/sa-update-keys 2>&1 >/dev/null || true @sample %%ETCDIR%%/local.cf.sample @sample %%ETCDIR%%/init.pre.sample @sample %%ETCDIR%%/v310.pre.sample @sample %%ETCDIR%%/v312.pre.sample @sample %%ETCDIR%%/v320.pre.sample @sample %%ETCDIR%%/v330.pre.sample @sample %%ETCDIR%%/v340.pre.sample @sample %%ETCDIR%%/v341.pre.sample include/libspamc.h lib/libspamc.so lib/libspamc.so.0 %%SSL%%lib/libsslspamc.so %%SSL%%lib/libsslspamc.so.0 %%SITE_PERL%%/Mail/SpamAssassin.pm %%SITE_PERL%%/Mail/SpamAssassin/AICache.pm %%SITE_PERL%%/Mail/SpamAssassin/ArchiveIterator.pm %%SITE_PERL%%/Mail/SpamAssassin/AsyncLoop.pm %%SITE_PERL%%/Mail/SpamAssassin/AutoWhitelist.pm %%SITE_PERL%%/Mail/SpamAssassin/Bayes.pm %%SITE_PERL%%/Mail/SpamAssassin/Bayes/CombineChi.pm %%SITE_PERL%%/Mail/SpamAssassin/Bayes/CombineNaiveBayes.pm %%SITE_PERL%%/Mail/SpamAssassin/BayesStore.pm %%SITE_PERL%%/Mail/SpamAssassin/BayesStore/BDB.pm %%SITE_PERL%%/Mail/SpamAssassin/BayesStore/DBM.pm %%SITE_PERL%%/Mail/SpamAssassin/BayesStore/MySQL.pm %%SITE_PERL%%/Mail/SpamAssassin/BayesStore/PgSQL.pm %%SITE_PERL%%/Mail/SpamAssassin/BayesStore/Redis.pm %%SITE_PERL%%/Mail/SpamAssassin/BayesStore/SDBM.pm %%SITE_PERL%%/Mail/SpamAssassin/BayesStore/SQL.pm %%SITE_PERL%%/Mail/SpamAssassin/Client.pm %%SITE_PERL%%/Mail/SpamAssassin/Conf.pm %%SITE_PERL%%/Mail/SpamAssassin/Conf/LDAP.pm %%SITE_PERL%%/Mail/SpamAssassin/Conf/Parser.pm %%SITE_PERL%%/Mail/SpamAssassin/Conf/SQL.pm %%SITE_PERL%%/Mail/SpamAssassin/Constants.pm %%SITE_PERL%%/Mail/SpamAssassin/DBBasedAddrList.pm %%SITE_PERL%%/Mail/SpamAssassin/Dns.pm %%SITE_PERL%%/Mail/SpamAssassin/DnsResolver.pm %%SITE_PERL%%/Mail/SpamAssassin/HTML.pm %%SITE_PERL%%/Mail/SpamAssassin/Locales.pm %%SITE_PERL%%/Mail/SpamAssassin/Locker.pm %%SITE_PERL%%/Mail/SpamAssassin/Locker/Flock.pm %%SITE_PERL%%/Mail/SpamAssassin/Locker/UnixNFSSafe.pm %%SITE_PERL%%/Mail/SpamAssassin/Locker/Win32.pm %%SITE_PERL%%/Mail/SpamAssassin/Logger.pm %%SITE_PERL%%/Mail/SpamAssassin/Logger/File.pm %%SITE_PERL%%/Mail/SpamAssassin/Logger/Stderr.pm %%SITE_PERL%%/Mail/SpamAssassin/Logger/Syslog.pm %%SITE_PERL%%/Mail/SpamAssassin/MailingList.pm %%SITE_PERL%%/Mail/SpamAssassin/Message.pm %%SITE_PERL%%/Mail/SpamAssassin/Message/Metadata.pm %%SITE_PERL%%/Mail/SpamAssassin/Message/Metadata/Received.pm %%SITE_PERL%%/Mail/SpamAssassin/Message/Node.pm %%SITE_PERL%%/Mail/SpamAssassin/NetSet.pm %%SITE_PERL%%/Mail/SpamAssassin/PerMsgLearner.pm %%SITE_PERL%%/Mail/SpamAssassin/PerMsgStatus.pm %%SITE_PERL%%/Mail/SpamAssassin/PersistentAddrList.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/ASN.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/AWL.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/AccessDB.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/AntiVirus.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/AskDNS.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/AutoLearnThreshold.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/Bayes.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/BodyEval.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/BodyRuleBaseExtractor.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/Check.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/DCC.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/DKIM.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/DNSEval.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/FreeMail.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/HTMLEval.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/HTTPSMismatch.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/Hashcash.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/HeaderEval.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/ImageInfo.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/MIMEEval.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/MIMEHeader.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/OneLineBodyRuleType.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/PDFInfo.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/PhishTag.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/Pyzor.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/Razor2.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/RelayCountry.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/RelayEval.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/ReplaceTags.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/Reuse.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/Rule2XSBody.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/SPF.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/Shortcircuit.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/SpamCop.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/Test.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/TextCat.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/TxRep.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/URIDNSBL.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/URIDetail.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/URIEval.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/URILocalBL.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/VBounce.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/WLBLEval.pm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/WhiteListSubject.pm %%SITE_PERL%%/Mail/SpamAssassin/PluginHandler.pm %%SITE_PERL%%/Mail/SpamAssassin/RegistryBoundaries.pm %%SITE_PERL%%/Mail/SpamAssassin/Reporter.pm %%SITE_PERL%%/Mail/SpamAssassin/SQLBasedAddrList.pm %%SITE_PERL%%/Mail/SpamAssassin/SpamdForkScaling.pm %%SITE_PERL%%/Mail/SpamAssassin/SubProcBackChannel.pm %%SITE_PERL%%/Mail/SpamAssassin/Timeout.pm %%SITE_PERL%%/Mail/SpamAssassin/Util.pm %%SITE_PERL%%/Mail/SpamAssassin/Util/DependencyInfo.pm %%SITE_PERL%%/Mail/SpamAssassin/Util/Progress.pm %%SITE_PERL%%/Mail/SpamAssassin/Util/RegistrarBoundaries.pm %%SITE_PERL%%/Mail/SpamAssassin/Util/ScopedTimer.pm %%SITE_PERL%%/Mail/SpamAssassin/Util/TieOneStringHash.pm %%SITE_PERL%%/Mail/SpamAssassin/Util/TinyRedis.pm %%SITE_PERL%%/spamassassin-run.pod %%PERL5_MAN3%%/Mail::SpamAssassin.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::AICache.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::ArchiveIterator.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::AsyncLoop.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::AutoWhitelist.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Bayes.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::BayesStore.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::BayesStore::BDB.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::BayesStore::MySQL.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::BayesStore::PgSQL.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::BayesStore::Redis.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::BayesStore::SQL.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Client.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Conf.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Conf::LDAP.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Conf::Parser.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Conf::SQL.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::DnsResolver.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Logger.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Logger::File.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Logger::Stderr.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Logger::Syslog.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Message.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Message::Metadata.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Message::Node.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::PerMsgLearner.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::PerMsgStatus.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::PersistentAddrList.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Plugin.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::ASN.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::AWL.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::AccessDB.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::AntiVirus.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::AskDNS.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::AutoLearnThreshold.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::Bayes.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::BodyRuleBaseExtractor.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::Check.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::DCC.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::DKIM.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::DNSEval.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::Hashcash.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::MIMEEval.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::MIMEHeader.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::OneLineBodyRuleType.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::PDFInfo.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::PhishTag.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::Pyzor.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::Razor2.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::RelayCountry.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::ReplaceTags.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::Reuse.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::Rule2XSBody.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::SPF.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::Shortcircuit.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::SpamCop.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::Test.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::TextCat.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::TxRep.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::URIDNSBL.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::URIDetail.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::URILocalBL.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::VBounce.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::WhiteListSubject.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::PluginHandler.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::RegistryBoundaries.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::SQLBasedAddrList.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::SubProcBackChannel.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Timeout.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Util.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Util::DependencyInfo.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Util::Progress.3.gz %%PERL5_MAN3%%/Mail::SpamAssassin::Util::RegistrarBoundaries.3.gz %%PERL5_MAN3%%/spamassassin-run.3.gz %%PERL5_MAN1%%/sa-awl.1.gz %%PERL5_MAN1%%/sa-compile.1.gz %%PERL5_MAN1%%/sa-learn.1.gz %%PERL5_MAN1%%/sa-update.1.gz %%PERL5_MAN1%%/spamassassin-run.1.gz %%PERL5_MAN1%%/spamassassin.1.gz %%PERL5_MAN1%%/spamc.1.gz %%PERL5_MAN1%%/spamd.1.gz %%DATADIR%%/languages %%DATADIR%%/sa-update-pubkey.txt %%DATADIR%%/user_prefs.template @comment ################################################################## @postunexec rm -rf /var/lib/spamassassin/2* 2>&1 >/dev/null || true @dir /var/lib/spamassassin @dir /var/lib @dir /var/db/spamassassin @dir(%%USER%%,%%GROUP%%,) /var/run/spamd @comment ################################################################## @postunexec [ -d /var/db/spamassassin ] && echo "If you are no longer using SpamAssassin, remove /var/db/spamassassin" @postunexec pw usershow "%%USER%%" 2>/dev/null 1>&2 && echo "To delete %%USER%% permanently, 'rmuser %%USER%%'" @postunexec pw usershow "%%USER%%" 2>/dev/null 1>&2 && [ -d /var/spool/spamd ] && echo " Note that this will remove /var/spool/spamd" @comment ################################################################## @postexec if [ "%%UPDATE_ON_INSTALL%%" = "yes" ]; then echo "====> Downloading SpamAssassin rulesets"; %%PREFIX%%/bin/spamassassin -x -L --lint; %%PREFIX%%/bin/sa-update || true; fi @postexec if [ "%%UPDATE_ON_INSTALL%%" = "yes" ]; then echo "====> Compiling SpamAssassin rulesets"; %%PREFIX%%/bin/spamassassin -x -L --lint; %%PREFIX%%/bin/sa-compile || true; fi