1 |
# $Id: smeserver-qpsmtpd.spec,v 1.11 2016/01/07 18:09:43 vip-ire Exp $ |
# $Id: smeserver-qpsmtpd.spec,v 1.29 2016/05/07 06:52:02 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 13 |
%define release 28 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
20 |
Patch8: smeserver-qpsmtpd-2.4.0-add_domain_to_bcc_user.patch |
Patch8: smeserver-qpsmtpd-2.4.0-add_domain_to_bcc_user.patch |
21 |
Patch9: smeserver-qpsmtpd-2.4.0-ssl_proto_from_db.patch |
Patch9: smeserver-qpsmtpd-2.4.0-ssl_proto_from_db.patch |
22 |
Patch10: smeserver-qpsmtpd-2.4.0-ssl_update.patch |
Patch10: smeserver-qpsmtpd-2.4.0-ssl_update.patch |
23 |
|
Patch11: smeserver-qpsmtpd-2.4.0-compat_with_0.96.patch |
24 |
|
Patch12: smeserver-qpsmtpd-2.4.0-helo_default_to_rfc.patch |
25 |
|
Patch13: smeserver-qpsmtpd-2.4.0-remove_obsolete_badrcptto_pattern_conf.patch |
26 |
|
Patch14: smeserver-qpsmtpd-2.4.0-dhparam.patch |
27 |
|
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 |
|
Patch31: smeserver-qpsmtpd-2.4.0-PERMS.patch |
44 |
|
Patch32: smeserver-qpsmtpd-2.4.0-fix_syntax_in_print_dns.patch |
45 |
|
Patch33: smeserver-qpsmtpd-2.4.0-set_dkim_option_after_key.patch |
46 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
47 |
Requires: qpsmtpd >= 0.83 |
Requires: qpsmtpd >= 0.96 |
48 |
|
Requires: perl(ClamAV::Client) |
49 |
Requires: perl(Mail::DKIM) |
Requires: perl(Mail::DKIM) |
50 |
Requires: perl(Mail::DKIM::DkSignature) |
Requires: perl(Mail::DKIM::DkSignature) |
51 |
|
Requires: perl(Mail::DMARC) |
52 |
|
Requires: perl(DBD::SQLite) |
53 |
Requires: daemontools |
Requires: daemontools |
54 |
Requires: qpsmtpd-plugins >= 0.0.1-sme04 |
Requires: qpsmtpd-plugins >= 0.0.1-sme04 |
55 |
Requires: ipsvd |
Requires: ipsvd |
77 |
SME Server qpsmtpd smtpd module |
SME Server qpsmtpd smtpd module |
78 |
|
|
79 |
%changelog |
%changelog |
80 |
|
* Mon May 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-28.sme |
81 |
|
- In qpsmtpd-print-dns set DKIM options after the public key so the string |
82 |
|
will still be splitted correctly [SME: 9506] |
83 |
|
|
84 |
|
* Sat May 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-27.sme |
85 |
|
- Fix a syntax error in the qpsmtpd-print-dns script [SME: 9507] |
86 |
|
|
87 |
|
* Sat May 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-26.sme |
88 |
|
- Remove warning about spool dir permission on startup [SME: 9511] |
89 |
|
|
90 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-25.sme |
91 |
|
- Add missing patch for DKIM signing [SME: 9506] |
92 |
|
- Create needed directories [SME: 9507] |
93 |
|
- Add missing run time dependency on perl(DBD::SQLite) [SME: 9507] |
94 |
|
|
95 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-24.sme |
96 |
|
- Check SPF for inbound emails [SME: 9505] |
97 |
|
- Check DKIM for inbound emails [SME: 9504] |
98 |
|
- Check DMARC for inbound emails (based on the previous SPF and DKIM checks) |
99 |
|
[SME: 9507] |
100 |
|
- Store and send DMARC aggregate reports [SME: 9507] |
101 |
|
- Support DKIM signing for outbound emails [SME: 9506] |
102 |
|
|
103 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-23.sme |
104 |
|
- Use an additional badrcptto file list for external connections so |
105 |
|
local only pseudonymes work as expected [SME: 9503] |
106 |
|
|
107 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-22.sme |
108 |
|
- Enable the bogus_bounce plugin [SME: 9501] |
109 |
|
|
110 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-21.sme |
111 |
|
- Use the naughty plugin to defer rejections, leaving users an opportunity |
112 |
|
to authenticate [SME: 9500] |
113 |
|
|
114 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-20.sme |
115 |
|
- Add support for the uribl plugin [SME: 9499] |
116 |
|
|
117 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-19.sme |
118 |
|
- Change separator for SBList and RBLlist from : to , [SME: 9498] |
119 |
|
|
120 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-18.sme |
121 |
|
- Switch to the clamdscan plugin [SME: 9497] |
122 |
|
|
123 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-17.sme |
124 |
|
- Enabe the loadcheck plugin [SME: 9508] |
125 |
|
|
126 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-16.sme |
127 |
|
- Add support for the karma plugin [SME: 9502] |
128 |
|
|
129 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-15.sme |
130 |
|
- Work with qpsmtpd 0.96 [SME: 8861] |
131 |
|
|
132 |
|
* Wed Jan 13 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-14.sme |
133 |
|
- Expand all ssl related conf in ssl-update [SME: 9152] |
134 |
|
|
135 |
* Tue Jan 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-13.sme |
* Tue Jan 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-13.sme |
136 |
- Hook into a new ssl-update event [SME: 9152] |
- Hook into a new ssl-update event [SME: 9152] |
137 |
|
|
821 |
%patch8 -p1 |
%patch8 -p1 |
822 |
%patch9 -p1 |
%patch9 -p1 |
823 |
%patch10 -p1 |
%patch10 -p1 |
824 |
|
%patch11 -p1 |
825 |
|
%patch12 -p1 |
826 |
|
%patch13 -p1 |
827 |
|
%patch14 -p1 |
828 |
|
%patch15 -p1 |
829 |
|
%patch16 -p1 |
830 |
|
%patch17 -p1 |
831 |
|
%patch18 -p1 |
832 |
|
%patch19 -p1 |
833 |
|
%patch20 -p1 |
834 |
|
%patch21 -p1 |
835 |
|
%patch22 -p1 |
836 |
|
%patch23 -p1 |
837 |
|
%patch24 -p1 |
838 |
|
%patch25 -p1 |
839 |
|
%patch26 -p1 |
840 |
|
%patch27 -p1 |
841 |
|
%patch28 -p1 |
842 |
|
%patch29 -p1 |
843 |
|
%patch30 -p1 |
844 |
|
%patch31 -p1 |
845 |
|
%patch32 -p1 |
846 |
|
%patch33 -p1 |
847 |
|
|
848 |
%build |
%build |
849 |
perl createlinks |
perl createlinks |
850 |
|
|
851 |
|
mkdir -p root/var/lib/qpsmtpd/karma |
852 |
|
mkdir -p root/var/lib/qpsmtpd/dmarc |
853 |
|
mkdir -p root/home/e-smith/dkim_keys/default |
854 |
|
mkdir -p root/var/service/qpsmtpd/config/dkim |
855 |
|
|
856 |
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
857 |
mkdir -p $PEERS_CONFIG/0 |
mkdir -p $PEERS_CONFIG/0 |
858 |
mkdir -p $PEERS_CONFIG/local |
mkdir -p $PEERS_CONFIG/local |
859 |
|
|
860 |
DISABLE_LOCAL=" |
DISABLE_LOCAL=" |
861 |
10check_earlytalker |
09karma |
862 |
|
10earlytalker |
863 |
12count_unrecognized_commands |
12count_unrecognized_commands |
864 |
16require_resolvable_fromhost |
15helo |
865 |
|
16resolvable_fromhost |
866 |
|
19loadcheck |
867 |
20rhsbl |
20rhsbl |
868 |
22dnsbl |
22dnsbl |
869 |
|
221spf |
870 |
|
223dmarc |
871 |
|
34badrcptto_ext |
872 |
70spamassassin |
70spamassassin |
873 |
" |
" |
874 |
|
|
878 |
done |
done |
879 |
|
|
880 |
DISABLE_EXTERNAL=" |
DISABLE_EXTERNAL=" |
881 |
|
34badrcptto |
882 |
65disclaimer |
65disclaimer |
883 |
" |
" |
884 |
|
|
928 |
\ |
\ |
929 |
--file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \ |
--file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \ |
930 |
--dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \ |
--dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \ |
931 |
|
--dir /var/lib/qpsmtpd/karma "attr(2750,qpsmtpd,qpsmtpd)" \ |
932 |
|
--dir /var/lib/qpsmtpd/dmarc "attr(2750,qpsmtpd,qpsmtpd)" \ |
933 |
|
--dir /home/e-smith/dkim_keys "attr(2750,root,qpsmtpd)" \ |
934 |
|
--dir /var/service/qpsmtpd/config/dkim "attr(2750,qpsmtpd,qpsmtpd)" \ |
935 |
\ |
\ |
936 |
--file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \ |
--file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \ |
937 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |