1 |
%define name smeserver-geoip |
%define name smeserver-geoip |
2 |
%define version 1.1.2 |
%define version 1.1.2 |
3 |
%define release 4 |
%define release 5 |
4 |
|
|
5 |
Summary: SME Server geoip plugin |
Summary: SME Server geoip plugin |
6 |
Name: %{name} |
Name: %{name} |
16 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
17 |
Patch0 : smeserver-geoip-remove-createlink-add-geoip-download-actions.patch |
Patch0 : smeserver-geoip-remove-createlink-add-geoip-download-actions.patch |
18 |
Patch1: smeserver-geoip-1.1.2.geoip-update-event.patch |
Patch1: smeserver-geoip-1.1.2.geoip-update-event.patch |
19 |
|
Patch2: smeserver-geoip-whitelist_by_IP.patch |
20 |
%description |
%description |
21 |
The GEOIP plugin lets us know which country our mail server is receiving mail from. If we're receiving too much spam from a particular country, this will help track it down and then use that info to reject connections from that country. This ends up taking the load off our servers. |
The GEOIP plugin lets us know which country our mail server is receiving mail from. If we're receiving too much spam from a particular country, this will help track it down and then use that info to reject connections from that country. This ends up taking the load off our servers. |
22 |
|
|
24 |
SIGNAL EVENT: signal-event email-update |
SIGNAL EVENT: signal-event email-update |
25 |
|
|
26 |
%changelog |
%changelog |
27 |
|
* Wed Sep 23 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 1.1.2-5 |
28 |
|
- Add ability to whitelist an IP |
29 |
|
|
30 |
* Tue Sep 22 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1.2-4 |
* Tue Sep 22 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1.2-4 |
31 |
- the event geoip-update download the geoip database |
- the event geoip-update download the geoip database |
32 |
- added smeserver-geoip-1.1.2.geoip-update-event.patch |
- added smeserver-geoip-1.1.2.geoip-update-event.patch |
61 |
%setup |
%setup |
62 |
%patch0 -p1 |
%patch0 -p1 |
63 |
%patch1 -p1 |
%patch1 -p1 |
64 |
|
%patch2 -p1 |
65 |
|
|
66 |
%build |
%build |
67 |
%{__mkdir_p} root/var/lib/GeoIP |
%{__mkdir_p} root/var/lib/GeoIP |