1 |
# $Id: smeserver-learn.spec,v 1.0 2016/03/07 13:40:22 unnilennium Exp $ |
2 |
# Authority: unnilennium |
3 |
# Name: Jean-Philippe Pialasse. |
4 |
%define name smeserver-learn |
5 |
%define version 1.0 |
6 |
%define release 2 |
7 |
|
8 |
Summary: SME Server Mails Learning script |
9 |
Name: %{name} |
10 |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
12 |
License: GPL |
13 |
Group: Networking/Daemons |
14 |
Source: %{name}-%{version}.tar.gz |
15 |
Packager: JP Pialasse <tests@pialasse.com> |
16 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
17 |
BuildArchitectures: noarch |
18 |
Requires: perl-Email-Simple |
19 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
20 |
|
21 |
%description |
22 |
Scripts which allows users to interact with spamassassin rules simply |
23 |
by droping mail in special folders of their mailbox (working only with imap) |
24 |
- Learn mail as spam |
25 |
- Learn mail as ham |
26 |
- Whitelist the sender so his mails won't be taged as spam again |
27 |
|
28 |
%changelog |
29 |
* Mon Mar 07 2016 JP Pialasse <tests@pialasse.com> 1.0-2.sme |
30 |
- new version SME8 and SME9 |
31 |
- fix wrong default db key DeleteAfterLearn [SME: 7083] |
32 |
- added inspection of temp and new subdir [SME: 6862] |
33 |
- moved default db keys as file outside of spec |
34 |
- new db properties: (LearnAsHam,LearnInWL)RemoveSPAMTag, (*)LeanNew,(*)Uniq,(LearnAsSpam)SpamLinks |
35 |
- new account db property for user: SpamLinks |
36 |
- import to buildsys [SME: 4423] |
37 |
- use sa-learn per dir and not per message [SME: 1701] |
38 |
- merge enhancements [SME: 4423] [SME: 1701] |
39 |
- NFR: create links |
40 |
- NFR: filter out SPAM tag from HAM and InWL mails |
41 |
- NFR: added auto create folders if multiple folder disabled |
42 |
- NFR: create db key for multiple folder to inspect |
43 |
- enhanced move to junkmail or inbox |
44 |
- moving job from crontab to /etc/cron.d/Learn |
45 |
|
46 |
* Wed Jun 25 2008 Emmmanuel JOORIS <joorise@dot-world.net> 0.0.1-3 |
47 |
- add dependencies to spec file |
48 |
|
49 |
* Mon Jun 23 2008 Daniel B. <daniel@firewall-services.com> 0.0.1-2 |
50 |
- add spaces after the tags |
51 |
|
52 |
* Wed Jun 18 2008 Daniel B. <daniel@firewall-services.com> 0.0.1-1 |
53 |
- full path for Learn script in crontab templates |
54 |
- rename to smeserver-learn |
55 |
- Fix default tag for Ham mail to [HAM] |
56 |
- Lean.pl will be executed daily by default |
57 |
|
58 |
* Wed Jun 11 2008 Emmanuel JOORIS <joorise@dot-world.net> |
59 |
- 0.0.1-0 |
60 |
- Original version |
61 |
|
62 |
%prep |
63 |
%setup |
64 |
#%patch0 -p1 |
65 |
|
66 |
%build |
67 |
perl createlinks |
68 |
|
69 |
%install |
70 |
rm -rf $RPM_BUILD_ROOT |
71 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
72 |
rm -f %{name}-%{version}-filelist |
73 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
74 |
|
75 |
%clean |
76 |
rm -rf $RPM_BUILD_ROOT |
77 |
|
78 |
%post |
79 |
|
80 |
%postun |
81 |
|
82 |
%files -f %{name}-%{version}-filelist |
83 |
%defattr(-,root,root) |
84 |
|