# $Id: smeserver-learn.spec,v 1.0 2016/03/07 13:40:22 unnilennium Exp $ # Authority: unnilennium # Name: Jean-Philippe Pialasse. %define name smeserver-learn %define version 1.0 %define release 3 Summary: SME Server Mails Learning script Name: %{name} Version: %{version} Release: %{release}%{?dist} License: GPL Group: Networking/Daemons Source: %{name}-%{version}.tar.gz Patch0: smeserver-learn-1.0-event.patch Packager: JP Pialasse BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch Requires: perl-Email-Simple BuildRequires: e-smith-devtools >= 1.13.1-03 %description Scripts which allows users to interact with spamassassin rules simply by droping mail in special folders of their mailbox (working only with imap) - Learn mail as spam - Learn mail as ham - Whitelist the sender so his mails won't be taged as spam again %changelog * Tue Mar 08 2016 JP Pialasse 1.0-3.sme - new version SME8 and SME9 - fix wrong default db key DeleteAfterLearn [SME: 7083] - added inspection of temp and new subdir [SME: 6862] - moved default db keys as file outside of spec - new db properties: (LearnAsHam,LearnInWL)RemoveSPAMTag, (*)LeanNew,(*)Uniq,(LearnAsSpam)SpamLinks - new account db property for user: SpamLinks - import to buildsys [SME: 4423] - use sa-learn per dir and not per message [SME: 1701] - merge enhancements [SME: 4423] [SME: 1701] - NFR: create links - NFR: filter out SPAM tag from HAM and InWL mails - NFR: added auto create folders if multiple folder disabled - NFR: create db key for multiple folder to inspect - enhanced move to junkmail or inbox - moving job from crontab to /etc/cron.d/Learn - fixed typo in event email-update * Wed Jun 25 2008 Emmmanuel JOORIS 0.0.1-3 - add dependencies to spec file * Mon Jun 23 2008 Daniel B. 0.0.1-2 - add spaces after the tags * Wed Jun 18 2008 Daniel B. 0.0.1-1 - full path for Learn script in crontab templates - rename to smeserver-learn - Fix default tag for Ham mail to [HAM] - Lean.pl will be executed daily by default * Wed Jun 11 2008 Emmanuel JOORIS - 0.0.1-0 - Original version %prep %setup %patch0 -p1 %build perl createlinks %install rm -rf $RPM_BUILD_ROOT (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) rm -f %{name}-%{version}-filelist /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist %clean rm -rf $RPM_BUILD_ROOT %post %postun %files -f %{name}-%{version}-filelist %defattr(-,root,root)