1 |
# $Id: smeserver-email-management.spec,v 1.2 2020/10/30 09:20:32 brianr Exp $ |
2 |
# Authority: dungog |
3 |
# Name: Stephen Noble |
4 |
|
5 |
Summary: modify and monitor maildelivery for all users |
6 |
%define name smeserver-email-management |
7 |
Name: %{name} |
8 |
%define version 1.3 |
9 |
%define release 5 |
10 |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
12 |
License: GPL |
13 |
URL: http://www.dungog.net/sme |
14 |
Group: SMEserver/addon |
15 |
Source: %{name}-%{version}.tgz |
16 |
Patch0: smeserver-email-management-1.3.bz9737.handleAdmin.patch |
17 |
Patch1: smeserver-email-management-1.3.bz10731.user-log-display.patch |
18 |
Patch2: smeserver-email-management-1.3-bz11373.patch |
19 |
|
20 |
BuildArchitectures: noarch |
21 |
BuildRoot: /var/tmp/%{name}-%{version} |
22 |
Provides: dungog-email = %{version}-%{release} |
23 |
Requires: e-smith-release >= 9.0, |
24 |
Requires: smeserver-vacation |
25 |
Requires: smeserver-mailsorting |
26 |
#Requires: smeserver-userpanel, userpanel causes endless problems |
27 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
28 |
AutoReqProv: no |
29 |
|
30 |
%description |
31 |
SME Server panel to allow admin to enable and configure procmail, |
32 |
maildrop, vacation or forwarding for users, |
33 |
see all users mail delivery methods in a table. |
34 |
Admin can add global rules and apply them to all users, |
35 |
set advanced mail properties. |
36 |
Original work of Stephen Noble dungog.net. |
37 |
|
38 |
%prep |
39 |
%setup |
40 |
%patch0 -p1 |
41 |
%patch1 -p1 |
42 |
mkdir -p root/etc/e-smith/events/smeserver-email-management-update |
43 |
%patch2 -p1 |
44 |
|
45 |
%build |
46 |
perl createlinks |
47 |
|
48 |
#LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f ) |
49 |
#for lexicon in $LEXICONS |
50 |
#do |
51 |
# /sbin/e-smith/validate-lexicon $lexicon |
52 |
#done |
53 |
|
54 |
%install |
55 |
rm -rf $RPM_BUILD_ROOT |
56 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
57 |
rm -f %{name}-%{version}-filelist |
58 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
59 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
60 |
|
61 |
%clean |
62 |
%pre |
63 |
%preun |
64 |
%post |
65 |
%postun |
66 |
|
67 |
%files -f %{name}-%{version}-filelist |
68 |
%defattr(-,root,root) |
69 |
|
70 |
%changelog |
71 |
* Mon Feb 22 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.3-5.sme |
72 |
- fix wrong link in function [SME: 11373] |
73 |
- add event to avoid reboot [SME: 10951] |
74 |
|
75 |
* Fri Oct 23 2020 Brian Read <brianr@bjsystems.co.uk> 1.3-4.sme |
76 |
- Initial import to SME10 tree [SME: 10951] |
77 |
|
78 |
* Sat Feb 02 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.3-3.sme |
79 |
- fix not able to display log and config files for users [SME: 10731] |
80 |
|
81 |
* Mon May 29 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.3-2.sme |
82 |
- add support for admin account [SME: 9737] |
83 |
|
84 |
* Mon Aug 08 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.3-1.sme |
85 |
- initial import to SME 9 |
86 |
|
87 |
* Wed Jul 21 2010 Stephen Noble <support@dungog.net> 1.2-12 |
88 |
- fix remember destination when modifying |
89 |
|
90 |
* Tue Jun 09 2009 Stephen Noble <support@dungog.net> 1.2-11 |
91 |
- fix path for ssl template expansion |
92 |
|
93 |
* Sat Mar 07 2009 Stephen Noble <support@dungog.net> 1.2-10 |
94 |
- Configure user settings for zarafa |
95 |
|
96 |
* Tue Oct 31 2006 Stephen Noble <support@dungog.net> 1.2-9 |
97 |
- MaxScannerSize added |
98 |
|
99 |
* Tue Oct 31 2006 Stephen Noble <support@dungog.net> 1.2-8 |
100 |
- qmail settings added |
101 |
|
102 |
* Mon Oct 30 2006 Stephen Noble <support@dungog.net> |
103 |
- qpsmtpd settings available in globals page |
104 |
- [1.2-7] |
105 |
|
106 |
* Sat Oct 28 2006 Stephen Noble <support@dungog.net> |
107 |
- review domain mailserver delegation |
108 |
- review group Visible property |
109 |
- set qpsmtpd Bcc setting for mail archiving |
110 |
- [1.2-6] |
111 |
|
112 |
* Wed Aug 23 2006 Stephen Noble <support@dungog.net> |
113 |
- remove strict check on mailrule criterion |
114 |
- [1.2-5] |
115 |
|
116 |
* Thu May 04 2006 Stephen Noble <support@dungog.net> |
117 |
- TMDA support added |
118 |
- [1.2-4] |
119 |
|
120 |
* Wed Apr 05 2006 Stephen Noble <support@dungog.net> |
121 |
- cosmetic, comment fixed |
122 |
- [1.2-3] |
123 |
|
124 |
* Fri Mar 24 2006 Stephen Noble <support@dungog.net> |
125 |
- maildrop forwarding note added |
126 |
- vacation system call changed to actions/qmail-update-user |
127 |
- spamboss note added |
128 |
- [1.2-2] |
129 |
|
130 |
* Thu Sep 22 2005 Stephen Noble <support@dungog.net> |
131 |
- simplified and updated for sme7 |
132 |
- [1.2-1] |
133 |
|
134 |
* Fri Jul 01 2005 Stephen Noble <support@dungog.net> |
135 |
- removed requirement for perl-Unicode-IMAPUtf7 |
136 |
- [1.0-6] |
137 |
|
138 |
* Tue Apr 26 2005 Stephen Noble <support@dungog.net> |
139 |
- removed junkfilter option for simplification |
140 |
- corrected messages due to changes in other rpms |
141 |
- mailblocking and pattern matching msg removed |
142 |
- [1.0-5] |
143 |
|
144 |
* Sat Jan 29 2005 Stephen Noble <support@dungog.net> |
145 |
- supports spamassassin ver.3 / sme-spamfilter |
146 |
- fixed global systemdefault spam sorting |
147 |
- modify user TMDA usage |
148 |
- [1.0-4] |
149 |
|
150 |
* Tue Dec 07 2004 Stephen Noble <support@dungog.net> |
151 |
- shows TMDA usage |
152 |
- [1.0-3] |
153 |
|
154 |
* Mon Oct 18 2004 Stephen Noble <support@dungog.net> |
155 |
- cosmetic changes, refreshes correctly, log filter rblsd changed to rbls |
156 |
- [1.0-2] |
157 |
|
158 |
* Thu Aug 12 2004 Stephen Noble <support@dungog.net> |
159 |
- rpm renamed dungog-email |
160 |
- function processmail renamed dungog-email, will affect any userpanel delegations |
161 |
- display users MailDomains & MailLocal settings from dungog-mailblocking |
162 |
- display each users pseudonyms, option to hide . and _ versions |
163 |
- display 'virtual domain' pseudonyms and domain delegations from dungog-vdomain |
164 |
- display admin in user table |
165 |
- antivirus and filtering status consolidated into one sub panel |
166 |
- make admin aware of the pattern matching rpms |
167 |
- junkfilter userpanel removed |
168 |
- [1.0-1] |
169 |
|
170 |
* Wed Jul 28 2004 Stephen Noble <support@dungog.net> |
171 |
- removed tmda |
172 |
- you now modify junkfilter rules from the command line |
173 |
- [0.2-11] |
174 |
|
175 |
* Wed Jul 28 2004 Stephen Noble <support@dungog.net> |
176 |
- cosmetic, altered comment about spamassassin |
177 |
- [0.2-10] |
178 |
|
179 |
* Wed Apr 07 2004 Stephen Noble <support@dungog.net> |
180 |
- smtp/rbls settings saved correctly |
181 |
- individual email forwarding address shown on summary page |
182 |
- [0.2-9] |
183 |
|
184 |
* Sun Mar 28 2004 Stephen Noble <support@dungog.net> |
185 |
- requires sme 6.0 |
186 |
- smtp settings added |
187 |
rbls, max message size |
188 |
- updates userpanel panel links on install and uninstall |
189 |
- [0.2-8] |
190 |
|
191 |
* Fri Mar 05 2004 Stephen Noble <support@dungog.net> |
192 |
- procmail forward to user fixed |
193 |
- procmail says folder not in correct format fixed |
194 |
- userpanel-procmail-pro moved to GPL userpanel |
195 |
- [0.2-7] |
196 |
|
197 |
* Thu Dec 04 2003 Stephen Noble <support@dungog.net> |
198 |
- individual setting = systemdefault unless set otherwise |
199 |
- dovecoat imap folders fixed in procmail dropdown lists |
200 |
- rbls only works on 5.6, custom fragments added |
201 |
requires e-smith-mailfront-1.0.0-02rbl.noarch.rpm |
202 |
- spamassasin sme5/sme6 differences added |
203 |
|
204 |
- [0.2-7] |
205 |
|
206 |
* Thu Dec 04 2003 Stephen Noble <support@dungog.net> |
207 |
- individual setting = systemdefault unless set otherwise |
208 |
- dovecoat imap folders fixed in procmail dropdown lists |
209 |
- rbls only works on 5.6, custom fragments added |
210 |
requires e-smith-mailfront-1.0.0-02rbl.noarch.rpm |
211 |
- spamassasin sme5/sme6 differences added |
212 |
- [0.2-6] |
213 |
|
214 |
* Mon Sep 08 2003 Stephen Noble <support@dungog.net> |
215 |
- larger text field for rbls entry |
216 |
- logic improved deciding between individual and global delivery |
217 |
will use individual setting until individual setting is systemdefault |
218 |
- logic improved in creating .procmailrc |
219 |
if you have both junkfilter and spamassassin installed |
220 |
- [0.2-5] |
221 |
|
222 |
* Thu Aug 21 2003 Stephen Noble <support@dungog.net> |
223 |
- SME 6.0 support, servermanager navigation & shows tables correctly |
224 |
- minor bug fixes |
225 |
- [0.2-4] |
226 |
|
227 |
* Sun Aug 03 2003 Stephen Noble <support@dungog.net> |
228 |
- mail sent with offline dialup server with rbls installed but off is not delayed |
229 |
- new delivery action option, tag spam but leave for mail client to sort |
230 |
- [0.2-3] |
231 |
|
232 |
* Mon Jun 02 2003 Stephen Noble <support@dungog.net> |
233 |
- added notes, where to get spamassassin, contibs.org |
234 |
- a filtering spamboss needs this procmail rule 'custom headers' "spamboss@" > 'spamfolder' |
235 |
- [0.2-2] |
236 |
|
237 |
* Thu May 29 2003 Stephen Noble <support@dungog.net> |
238 |
- lots of changes, test before using on production machine |
239 |
- improved display on dungog > emailfiltering panel |
240 |
shows individual override on spamfilter |
241 |
shows which global spamfilter and the sort/delete/fwd action |
242 |
- uses tmda-0.78, |
243 |
and tmda-cgi-0.9 for user interface, NB tmda-cgi-0.9 is later than 0.71 |
244 |
www.servername/tmda, authenticates against users system password |
245 |
admin or user still has to enable tmda with panels |
246 |
- adds userpanel-procmail-pro, |
247 |
adds second test for procmail, if x & if y then... |
248 |
restricts characters in criterion to avoid broken rules, it may be too strict |
249 |
email characters you want added to the allowed list |
250 |
- incorporates better notification and seperate control of spamassassin |
251 |
deliver tagged spamassassin spam to folder/spammboss/delete it |
252 |
junkfilter spam folder changed to junkmail to be consistant with spamassassin |
253 |
- server-manager > emailfiltering > global > filters |
254 |
choose between junkfilter or spammassassin or use both |
255 |
tmda runs before/without procmail and stops 99.9%% |
256 |
function added to reset individual overrides to null |
257 |
the default in now 'null' but was 'disabled' |
258 |
this was a bug as the individual setting overrides the global setting |
259 |
userpanel-procmail-pro is fixed, userpanel-procmail will be in userpanel.v12 |
260 |
- [0.2-1] |
261 |
|
262 |
* Tue Jul 23 2002 Stephen Noble <support@dungog.net> |
263 |
- initial release |
264 |
- [0.1-1] |
265 |
|