1 |
%define name smeserver-geoip |
%define name smeserver-geoip |
2 |
%define version 1.2 |
%define version 1.2 |
3 |
%define release 6 |
%define release 7 |
4 |
|
|
5 |
Summary: SME Server geoip plugin |
Summary: SME Server geoip plugin |
6 |
Name: %{name} |
Name: %{name} |
17 |
Patch0: smeserver-geoip-conf-typo.patch |
Patch0: smeserver-geoip-conf-typo.patch |
18 |
Patch1: smeserver-geoip-fix-city-createlinks.patch |
Patch1: smeserver-geoip-fix-city-createlinks.patch |
19 |
Patch2: smeserver-geoip-1.2-check_badcountries.patch |
Patch2: smeserver-geoip-1.2-check_badcountries.patch |
20 |
|
Patch3: smeserver-geoip-1.2-check_badcountries-mailstats.patch |
21 |
|
|
22 |
%description |
%description |
23 |
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. |
57 |
#---------------------------------------------------- |
#---------------------------------------------------- |
58 |
|
|
59 |
%changelog |
%changelog |
60 |
|
* Tue Jan 15 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2-7.sme |
61 |
|
- Update check_badcountries to work with mailstats |
62 |
|
|
63 |
* Sat Jan 05 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.2-6.sme |
* Sat Jan 05 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.2-6.sme |
64 |
- remove crontab fragment for v1 [SME: 10691] |
- remove crontab fragment for v1 [SME: 10691] |
65 |
|
|
127 |
%patch0 -p1 |
%patch0 -p1 |
128 |
%patch1 -p1 |
%patch1 -p1 |
129 |
%patch2 -p1 |
%patch2 -p1 |
130 |
|
%patch3 -p1 |
131 |
|
|
132 |
%build |
%build |
133 |
%{__mkdir_p} root/var/lib/GeoIP |
%{__mkdir_p} root/var/lib/GeoIP |