From 6ccd9eb6c15dd8bb99127d4fff9550f464a057a1 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 8 Jun 2017 14:36:46 +0200 Subject: [PATCH] Spec file update --- smeserver-dovecot-extras.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/smeserver-dovecot-extras.spec b/smeserver-dovecot-extras.spec index 907470f..1b14387 100644 --- a/smeserver-dovecot-extras.spec +++ b/smeserver-dovecot-extras.spec @@ -1,4 +1,4 @@ -%define version 0.1.1 +%define version 0.1.2 %define release 1 %define name smeserver-dovecot-extras @@ -14,6 +14,7 @@ Source: %{name}-%{version}.tar.gz BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch BuildRequires: e-smith-devtools +BuildRequires: dovecot-pigeonhole Requires: smeserver-dovecot Requires: dovecot-pigeonhole @@ -23,6 +24,9 @@ Requires: acl Add IMAP acl (sharedmailbox) and sieve capabilities to the IMAP server %changelog +* Mon Mar 6 2017 Daniel Berteaud - 0.1.2-1 +- Support spam learning by moving to/from junkmail or Junk + * Mon Jun 23 2014 Daniel Berteaud - 0.1.1-1 - Add missing /home/e-smith/db/dovecot dir - Remove submission_host for sieve @@ -48,6 +52,8 @@ mkdir -p root/home/e-smith/db/dovecot --dir /home/e-smith/db/dovecot 'attr(2770,root,sharedmailbox)' \ --file /home/e-smith/db/dovecot/sharedmailbox.db 'attr(0660,root,sharedmailbox) %config(noreplace)' \ --file /usr/bin/imap-postlogin 'attr(0755,root,root)' \ + --file /usr/libexec/dovecot/learn-spam.sh 'attr(0755,root,root)' \ + --file /usr/libexec/dovecot/learn-ham.sh 'attr(0755,root,root)' \ > %{name}-%{version}-filelist %files -f %{name}-%{version}-filelist