|
|
|
@ -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 <daniel@firewall-services.com> - 0.1.2-1 |
|
|
|
|
- Support spam learning by moving to/from junkmail or Junk |
|
|
|
|
|
|
|
|
|
* Mon Jun 23 2014 Daniel Berteaud <daniel@firewall-services.com> - 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 |
|
|
|
|