1 |
# $Id: smeserver-qpsmtpd.spec,v 1.14 2016/05/06 20:15:18 vip-ire Exp $ |
# $Id: smeserver-qpsmtpd.spec,v 1.25 2016/05/06 22:53:19 vip-ire Exp $ |
2 |
|
|
3 |
Summary: SME Server qpsmtpd module |
Summary: SME Server qpsmtpd module |
4 |
%define name smeserver-qpsmtpd |
%define name smeserver-qpsmtpd |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.4.0 |
%define version 2.4.0 |
7 |
%define release 16 |
%define release 25 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
25 |
Patch13: smeserver-qpsmtpd-2.4.0-remove_obsolete_badrcptto_pattern_conf.patch |
Patch13: smeserver-qpsmtpd-2.4.0-remove_obsolete_badrcptto_pattern_conf.patch |
26 |
Patch14: smeserver-qpsmtpd-2.4.0-dhparam.patch |
Patch14: smeserver-qpsmtpd-2.4.0-dhparam.patch |
27 |
Patch15: smeserver-qpsmtpd-2.4.0-karma.patch |
Patch15: smeserver-qpsmtpd-2.4.0-karma.patch |
28 |
|
Patch16: smeserver-qpsmtpd-2.4.0-loadcheck.patch |
29 |
|
Patch17: smeserver-qpsmtpd-2.4.0-use_clamdscan_plugin.patch |
30 |
|
Patch18: smeserver-qpsmtpd-2.4.0-change_rbl_sbl_list_separator.patch |
31 |
|
Patch19: smeserver-qpsmtpd-2.4.0-add_uribl_support.patch |
32 |
|
Patch20: smeserver-qpsmtpd-2.4.0-use_naughty_plugin.patch |
33 |
|
Patch21: smeserver-qpsmtpd-2.4.0-bogus_bounce.patch |
34 |
|
Patch22: smeserver-qpsmtpd-2.4.0-external_badrcptto.patch |
35 |
|
Patch23: smeserver-qpsmtpd-2.4.0-inbound_spf.patch |
36 |
|
Patch24: smeserver-qpsmtpd-2.4.0-inbound_dkim.patch |
37 |
|
Patch25: smeserver-qpsmtpd-2.4.0-inbound_dmarc.patch |
38 |
|
Patch26: smeserver-qpsmtpd-2.4.0-dkim_signing.patch |
39 |
|
Patch27: smeserver-qpsmtpd-2.4.0-init_dmarc_report_db.patch |
40 |
|
Patch28: smeserver-qpsmtpd-2.4.0-dmarc_settings_bool.patch |
41 |
|
Patch29: smeserver-qpsmtpd-2.4.0-dmarc_reporting.patch |
42 |
|
Patch30: smeserver-qpsmtpd-2.4.0-spf_reject_policy.patch |
43 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
44 |
Requires: qpsmtpd >= 0.96 |
Requires: qpsmtpd >= 0.96 |
45 |
|
Requires: perl(ClamAV::Client) |
46 |
Requires: perl(Mail::DKIM) |
Requires: perl(Mail::DKIM) |
47 |
Requires: perl(Mail::DKIM::DkSignature) |
Requires: perl(Mail::DKIM::DkSignature) |
48 |
|
Requires: perl(Mail::DMARC) |
49 |
|
Requires: perl(DBD::SQLite) |
50 |
Requires: daemontools |
Requires: daemontools |
51 |
Requires: qpsmtpd-plugins >= 0.0.1-sme04 |
Requires: qpsmtpd-plugins >= 0.0.1-sme04 |
52 |
Requires: ipsvd |
Requires: ipsvd |
74 |
SME Server qpsmtpd smtpd module |
SME Server qpsmtpd smtpd module |
75 |
|
|
76 |
%changelog |
%changelog |
77 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-25.sme |
78 |
|
- Add missing patch for DKIM signing [SME: 9506] |
79 |
|
|
80 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-24.sme |
81 |
|
- Check SPF for inbound emails [SME: 9505] |
82 |
|
- Check DKIM for inbound emails [SME: 9504] |
83 |
|
- Check DMARC for inbound emails (based on the previous SPF and DKIM checks) |
84 |
|
[SME: 9507] |
85 |
|
- Store and send DMARC aggregate reports [SME: 9507] |
86 |
|
- Support DKIM signing for outbound emails [SME: 9506] |
87 |
|
|
88 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-23.sme |
89 |
|
- Use an additional badrcptto file list for external connections so |
90 |
|
local only pseudonymes work as expected [SME: 9503] |
91 |
|
|
92 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-22.sme |
93 |
|
- Enable the bogus_bounce plugin [SME: 9501] |
94 |
|
|
95 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-21.sme |
96 |
|
- Use the naughty plugin to defer rejections, leaving users an opportunity |
97 |
|
to authenticate [SME: 9500] |
98 |
|
|
99 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-20.sme |
100 |
|
- Add support for the uribl plugin [SME: 9499] |
101 |
|
|
102 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-19.sme |
103 |
|
- Change separator for SBList and RBLlist from : to , [SME: 9498] |
104 |
|
|
105 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-18.sme |
106 |
|
- Switch to the clamdscan plugin [SME: 9497] |
107 |
|
|
108 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-17.sme |
109 |
|
- Enabe the loadcheck plugin [SME: 9508] |
110 |
|
|
111 |
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-16.sme |
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-16.sme |
112 |
- Add support for the karma plugin [SME: 9502] |
- Add support for the karma plugin [SME: 9502] |
113 |
|
|
811 |
%patch13 -p1 |
%patch13 -p1 |
812 |
%patch14 -p1 |
%patch14 -p1 |
813 |
%patch15 -p1 |
%patch15 -p1 |
814 |
|
%patch16 -p1 |
815 |
|
%patch17 -p1 |
816 |
|
%patch18 -p1 |
817 |
|
%patch19 -p1 |
818 |
|
%patch20 -p1 |
819 |
|
%patch21 -p1 |
820 |
|
%patch22 -p1 |
821 |
|
%patch23 -p1 |
822 |
|
%patch24 -p1 |
823 |
|
%patch25 -p1 |
824 |
|
%patch26 -p1 |
825 |
|
%patch27 -p1 |
826 |
|
%patch28 -p1 |
827 |
|
%patch29 -p1 |
828 |
|
%patch30 -p1 |
829 |
|
|
830 |
%build |
%build |
831 |
perl createlinks |
perl createlinks |
832 |
|
|
833 |
|
mkdir -p root/var/lib/qpsmtpd/karma |
834 |
|
mkdir -p root/var/lib/qpsmtpd/dmarc |
835 |
|
mkdir -p root/home/e-smith/dkim_keys/default |
836 |
|
mkdir -p root/var/service/qpsmtpd/config/dkim |
837 |
|
|
838 |
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
839 |
mkdir -p $PEERS_CONFIG/0 |
mkdir -p $PEERS_CONFIG/0 |
840 |
mkdir -p $PEERS_CONFIG/local |
mkdir -p $PEERS_CONFIG/local |
845 |
12count_unrecognized_commands |
12count_unrecognized_commands |
846 |
15helo |
15helo |
847 |
16resolvable_fromhost |
16resolvable_fromhost |
848 |
|
19loadcheck |
849 |
20rhsbl |
20rhsbl |
850 |
22dnsbl |
22dnsbl |
851 |
|
221spf |
852 |
|
223dmarc |
853 |
|
34badrcptto_ext |
854 |
70spamassassin |
70spamassassin |
855 |
" |
" |
856 |
|
|
860 |
done |
done |
861 |
|
|
862 |
DISABLE_EXTERNAL=" |
DISABLE_EXTERNAL=" |
863 |
|
34badrcptto |
864 |
65disclaimer |
65disclaimer |
865 |
" |
" |
866 |
|
|
911 |
--file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \ |
--file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \ |
912 |
--dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \ |
--dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \ |
913 |
--dir /var/lib/qpsmtpd/karma "attr(2750,qpsmtpd,qpsmtpd)" \ |
--dir /var/lib/qpsmtpd/karma "attr(2750,qpsmtpd,qpsmtpd)" \ |
914 |
|
--dir /var/lib/qpsmtpd/dmarc "attr(2750,qpsmtpd,qpsmtpd)" \ |
915 |
|
--dir /home/e-smith/dkim_keys "attr(2750,root,qpsmtpd)" \ |
916 |
|
--dir /var/service/qpsmtpd/config/dkim "attr(2750,qpsmtpd,qpsmtpd)" \ |
917 |
\ |
\ |
918 |
--file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \ |
--file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \ |
919 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |