|
|
|
@ -1,4 +1,4 @@ |
|
|
|
|
%define version 0.1.2 |
|
|
|
|
%define version 0.1.3 |
|
|
|
|
%define release 1 |
|
|
|
|
%define name smeserver-dovecot-extras |
|
|
|
|
|
|
|
|
@ -24,6 +24,11 @@ Requires: acl |
|
|
|
|
Add IMAP acl (sharedmailbox) and sieve capabilities to the IMAP server |
|
|
|
|
|
|
|
|
|
%changelog |
|
|
|
|
* Thu Jun 8 2017 Daniel Berteaud <daniel@firewall-services.com> - 0.1.3-1 |
|
|
|
|
- Add support for public mailboxes (patch from John H. Bennett III |
|
|
|
|
<bennettj@thebennetthome.com>) |
|
|
|
|
- Ignore moves from junkmail to Éléments supprimés |
|
|
|
|
|
|
|
|
|
* Mon Mar 6 2017 Daniel Berteaud <daniel@firewall-services.com> - 0.1.2-1 |
|
|
|
|
- Support spam learning by moving to/from junkmail or Junk |
|
|
|
|
|
|
|
|
@ -43,6 +48,7 @@ Add IMAP acl (sharedmailbox) and sieve capabilities to the IMAP server |
|
|
|
|
%build |
|
|
|
|
perl createlinks |
|
|
|
|
mkdir -p root/home/e-smith/db/dovecot |
|
|
|
|
mkdir -p root/home/e-smith/files/public/{cur,new,tmp} |
|
|
|
|
|
|
|
|
|
%install |
|
|
|
|
/bin/rm -rf $RPM_BUILD_ROOT |
|
|
|
@ -50,6 +56,10 @@ mkdir -p root/home/e-smith/db/dovecot |
|
|
|
|
/bin/rm -f %{name}-%{version}-filelist |
|
|
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
|
|
|
|
--dir /home/e-smith/db/dovecot 'attr(2770,root,sharedmailbox)' \ |
|
|
|
|
--dir /home/e-smith/files/public 'attr(2770,root,sharedmailbox)' \ |
|
|
|
|
--dir /home/e-smith/files/public/cur 'attr(2770,root,sharedmailbox)' \ |
|
|
|
|
--dir /home/e-smith/files/public/new 'attr(2770,root,sharedmailbox)' \ |
|
|
|
|
--dir /home/e-smith/files/public/tmp '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)' \ |
|
|
|
|