/[smeserver]/rpms/smeserver-qpsmtpd/sme9/smeserver-qpsmtpd.spec
ViewVC logotype

Diff of /rpms/smeserver-qpsmtpd/sme9/smeserver-qpsmtpd.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.3 by vip-ire, Wed Apr 24 18:04:44 2013 UTC Revision 1.41 by jpp, Sun Mar 11 06:13:40 2018 UTC
# Line 1  Line 1 
1  # $Id: smeserver-qpsmtpd.spec,v 1.2 2013/04/10 19:29:02 vip-ire Exp $  # $Id: smeserver-qpsmtpd.spec,v 1.40 2017/08/03 13:50:08 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 3  %define release 39
8  Version: %{version}  Version: %{version}
9  Release: %{release}%{?dist}  Release: %{release}%{?dist}
10  License: GPL  License: GPL
11  Group: Networking/Daemons  Group: Networking/Daemons
12  Source: %{name}-%{version}.tar.xz  Source: %{name}-%{version}.tar.xz
13  Patch1: smeserver-qpsmtpd-2.4.0-spamassassin_size_limit.patch  Patch1: smeserver-qpsmtpd-2.4.0-spamassassin_size_limit.patch
14    Patch2: smeserver-qpsmtpd-2.4.0-initialize_size.patch
15    Patch3: smeserver-qpsmtpd-2.4.0-ciphers-update.patch
16    Patch4: smeserver-qpsmtpd-2.4.0-RBLSBLupdate.patch
17    Patch5: smeserver-qpsmtpd-2.4.0-remove_databytes.patch
18    Patch6: smeserver-qpsmtpd-2.4.0-ahbl-patch
19    Patch7: smeserver-qpsmtpd-2.4.0-allow_relayclients_wo_authentications.patch
20    Patch8: smeserver-qpsmtpd-2.4.0-add_domain_to_bcc_user.patch
21    Patch9: smeserver-qpsmtpd-2.4.0-ssl_proto_from_db.patch
22    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    Patch34: smeserver-qpsmtpd-2.4.0-remove_o_and_r_dkim_fields.patch
47    Patch35: smeserver-qpsmtpd-2.4.0-fix_disabling_dmarc_reports.patch
48    Patch36: smeserver-qpsmtpd-2.4.0-spf_and_dmarc_reject_off.patch
49    Patch37: smeserver-qpsmtpd-2.4.0-default_helo_policy_lenient.patch
50    Patch38: smeserver-qpsmtpd-2.6.0-disable_dmarc_report.patch
51    Patch39: smeserver-qpsmtpd-2.6.0-log_dmarc_send_reports_output.patch
52    Patch40: smeserver-qpsmtpd-2.4.0-bz10290-forcespamcheck.patch
53  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
54  Requires: qpsmtpd >= 0.83  Requires: qpsmtpd >= 0.96-11
55    Requires: perl(ClamAV::Client)
56  Requires: perl(Mail::DKIM)  Requires: perl(Mail::DKIM)
57  Requires: perl(Mail::DKIM::DkSignature)  Requires: perl(Mail::DKIM::DkSignature)
58    Requires: perl(Mail::DMARC)
59    Requires: perl(DBD::SQLite)
60  Requires: daemontools  Requires: daemontools
61  Requires: qpsmtpd-plugins >= 0.0.1-sme04  Requires: qpsmtpd-plugins >= 0.0.1-sme04
62  Requires: ipsvd  Requires: ipsvd
# Line 34  Requires: perl-Convert-TNEF Line 76  Requires: perl-Convert-TNEF
76  Requires: perl-IO-stringy  Requires: perl-IO-stringy
77  Requires: perl-File-MMagic  Requires: perl-File-MMagic
78  Requires: perl-MIME-tools  Requires: perl-MIME-tools
79    Conflicts: smeserver-wbl < 0.3.0-14
80  BuildArchitectures: noarch  BuildArchitectures: noarch
81  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
82  AutoReqProv: no  AutoReqProv: no
# Line 42  AutoReqProv: no Line 85  AutoReqProv: no
85  SME Server qpsmtpd smtpd module  SME Server qpsmtpd smtpd module
86    
87  %changelog  %changelog
88    * Sun Mar 11 2018 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-39.sme
89    - add forcespamcheck support for fetchmail [SME: 10290]
90    
91    * Thu Aug 3 2017 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-38.sme
92    - Log DMARC reporting in syslog instead of sending email to the admin.
93      Also suppress SSL connection failed warnings [SME: 10401]
94    
95    * Sat May 20 2017 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-37.sme
96    - Turn DMARC reporting off by default [SME: 10320]
97    
98    * Sat May 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-36.sme
99    - prevent incoming email to stop if smeserver-wbl is installed and not updated [SME: 10276]
100    
101    * Mon Feb 27 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-34.sme
102    - updated regex for SBList in smeserver-qpsmtpd-2.4.0-change_rbl_sbl_list_separator.patch
103    - to take into account list using a subdomain [SME: 10116]
104    - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
105      by assuming the date is correct and changing the weekday.
106      Thu May 11 2005 --> Thu May 05 2005 or Wed May 11 2005 or Thu May 12 2005 or ....
107      Sun Sep 25 2010 --> Sun Sep 19 2010 or Sat Sep 25 2010 or Sun Sep 26 2010 or ....
108    
109    * Tue Sep 13 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-32.sme
110    - Set the default helo policy to lenient [SME: 9767]
111    
112    * Tue Jul 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-31.sme
113    - Turn SPF and DMARC rejects off by default [SME: 9654]
114    
115    * Fri Jun 17 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-30.sme
116    - Fix disabling DMARC reporting [SME: 9507]
117    
118    * Tue May 24 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-29.sme
119    - Remove o and r DKIM fields as they are not standard [SME: 9506]
120    
121    * Mon May 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-28.sme
122    - In qpsmtpd-print-dns set DKIM options after the public key so the string
123      will still be splitted correctly [SME: 9506]
124    
125    * Sat May 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-27.sme
126    - Fix a syntax error in the qpsmtpd-print-dns script [SME: 9507]
127    
128    * Sat May 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-26.sme
129    - Remove warning about spool dir permission on startup [SME: 9511]
130    
131    * Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-25.sme
132    - Add missing patch for DKIM signing [SME: 9506]
133    - Create needed directories [SME: 9507]
134    - Add missing run time dependency on perl(DBD::SQLite) [SME: 9507]
135    
136    * Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-24.sme
137    - Check SPF for inbound emails [SME: 9505]
138    - Check DKIM for inbound emails [SME: 9504]
139    - Check DMARC for inbound emails (based on the previous SPF and DKIM checks)
140      [SME: 9507]
141    - Store and send DMARC aggregate reports [SME: 9507]
142    - Support DKIM signing for outbound emails [SME: 9506]
143    
144    * Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-23.sme
145    - Use an additional badrcptto file list for external connections so
146      local only pseudonymes work as expected [SME: 9503]
147    
148    * Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-22.sme
149    - Enable the bogus_bounce plugin [SME: 9501]
150    
151    * Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-21.sme
152    - Use the naughty plugin to defer rejections, leaving users an opportunity
153      to authenticate [SME: 9500]
154    
155    * Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-20.sme
156    - Add support for the uribl plugin [SME: 9499]
157    
158    * Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-19.sme
159    - Change separator for SBList and RBLlist from : to , [SME: 9498]
160    
161    * Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-18.sme
162    - Switch to the clamdscan plugin [SME: 9497]
163    
164    * Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-17.sme
165    - Enabe the loadcheck plugin [SME: 9508]
166    
167    * Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-16.sme
168    - Add support for the karma plugin [SME: 9502]
169    
170    * Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-15.sme
171    - Work with qpsmtpd 0.96 [SME: 8861]
172    
173    * Wed Jan 13 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-14.sme
174    - Expand all ssl related conf in ssl-update [SME: 9152]
175    
176    * Tue Jan 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-13.sme
177    - Hook into a new ssl-update event [SME: 9152]
178    
179    * Thu Jan 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-12.sme
180    - Allow setting SSL protocols from DB [SME: 9162]
181    
182    * Thu Aug 6 2015 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-11.sme
183    - Add domain part to bcc user if missing [SME: 8990]
184    
185    * Wed Dec 3 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-10.sme
186    - allow IP relayclient stored by DB [SME: 8704]
187    - Code from Stefano ZAmboni <zamboni@mind-at-work.it>
188    - & Charlie Brady <charlieb-contribs-bugzilla@budge.apana.org.au>
189    
190    * Tue Dec 2 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-9.sme
191    - allow IP relayclient stored by DB [SME: 8704]
192    - Code from Stefano ZAmboni <zamboni@mind-at-work.it>
193    
194    * Tue May 6 2014 Ian Wells <esmith@wellsi.com> 2.4.0-8.sme
195    - Remove dnsbl.ahbl.org RBL List [SME: 8368]
196    
197    * Tue Apr 15 2014 Ian Wells <esmith@wellsi.com> 2.4.0-7.sme
198    - Remove the databytes file from qpsmtpd config [SME: 8329]
199    
200    * Tue Apr 15 2014 Ian Wells <esmith@wellsi.com> 2.4.0-6.sme
201    - Update SBL and RBL Lists [SME: 8236]
202    
203    * Tue Jan 28 2014 Ian Wells <esmith@wellsi.com> 2.4.0-5.sme
204    - Remove insecure ciphers [SME: 8138]
205    
206    * Fri Jun 14 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-4
207    - Fix size_limit initialization [SME: 7671]
208    
209  * Wed Apr 24 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-3  * Wed Apr 24 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-3
210  - reads MaxMessageSize prop of spamassassin and adds it  - reads MaxMessageSize prop of spamassassin and adds it
211    to the arguments of the plugin if defined [SME: 7559]    to the arguments of the plugin if defined [SME: 7559]
# Line 70  SME Server qpsmtpd smtpd module Line 234  SME Server qpsmtpd smtpd module
234  * Fri Oct 1 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-10.sme  * Fri Oct 1 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-10.sme
235  - Fix RelayRequiresAuth for local network [SME: 5575]  - Fix RelayRequiresAuth for local network [SME: 5575]
236    
237  * Sun Sep 25 2010 Shad L. Lords <slords@mail.com> 2.2.0-9.sme  * Sat Sep 25 2010 Shad L. Lords <slords@mail.com> 2.2.0-9.sme
238      Sun Sep 25 2010 --> Sun Sep 19 2010 or Sat Sep 25 2010 or Sun Sep 26 2010 or ....
239  - Make tls ciphers configurable [SME: 6241]  - Make tls ciphers configurable [SME: 6241]
240    
241  * Sun Sep 25 2010 Shad L. Lords <slords@mail.com> 2.2.0-8.sme  * Sat Sep 25 2010 Shad L. Lords <slords@mail.com> 2.2.0-8.sme
242      Sun Sep 25 2010 --> Sun Sep 19 2010 or Sat Sep 25 2010 or Sun Sep 26 2010 or ....
243  - Require auth for all relays (local too) [SME: 5575]  - Require auth for all relays (local too) [SME: 5575]
244    
245  * Sat Jun 5 2010 Ian Wells <esmith@wellsi.com> 2.2.0-7.sme  * Sat Jun 5 2010 Ian Wells <esmith@wellsi.com> 2.2.0-7.sme
# Line 577  SME Server qpsmtpd smtpd module Line 743  SME Server qpsmtpd smtpd module
743  - Make sure that empty templates-begin files exist in peers/{0,local}  - Make sure that empty templates-begin files exist in peers/{0,local}
744    templates directories.    templates directories.
745    
746  * Thu May 11 2005 Gordon Rowell <gordonr@gormand.com.au>  * Wed May 11 2005 Gordon Rowell <gordonr@gormand.com.au>
747      Thu May 11 2005 --> Thu May 05 2005 or Wed May 11 2005 or Thu May 12 2005 or ....
748  - [0.0.4-12]  - [0.0.4-12]
749  - Fix up config/relayclients - need a dot after network blocks  - Fix up config/relayclients - need a dot after network blocks
750    
751  * Thu May 11 2005 Gordon Rowell <gordonr@gormand.com.au>  * Wed May 11 2005 Gordon Rowell <gordonr@gormand.com.au>
752      Thu May 11 2005 --> Thu May 05 2005 or Wed May 11 2005 or Thu May 12 2005 or ....
753  - [0.0.4-11]  - [0.0.4-11]
754  - Also regenerate goodrcptto in {user,pseudonym}-modify, since  - Also regenerate goodrcptto in {user,pseudonym}-modify, since
755    details about the account may have changed    details about the account may have changed
756    
757  * Thu May 11 2005 Gordon Rowell <gordonr@gormand.com.au>  * Wed May 11 2005 Gordon Rowell <gordonr@gormand.com.au>
758      Thu May 11 2005 --> Thu May 05 2005 or Wed May 11 2005 or Thu May 12 2005 or ....
759  - [0.0.4-10]  - [0.0.4-10]
760  - Actually regenerate goodrcptto in the events mentioned in  - Actually regenerate goodrcptto in the events mentioned in
761    0.0.3-01 (typo in createlinks)    0.0.3-01 (typo in createlinks)
# Line 689  SME Server qpsmtpd smtpd module Line 858  SME Server qpsmtpd smtpd module
858  %prep  %prep
859  %setup  %setup
860  %patch1 -p1  %patch1 -p1
861    %patch2 -p1
862    %patch3 -p1
863    %patch4 -p1
864    %patch5 -p1
865    %patch6 -p1
866    %patch7 -p1
867    %patch8 -p1
868    %patch9 -p1
869    %patch10 -p1
870    %patch11 -p1
871    %patch12 -p1
872    %patch13 -p1
873    %patch14 -p1
874    %patch15 -p1
875    %patch16 -p1
876    %patch17 -p1
877    %patch18 -p1
878    %patch19 -p1
879    %patch20 -p1
880    %patch21 -p1
881    %patch22 -p1
882    %patch23 -p1
883    %patch24 -p1
884    %patch25 -p1
885    %patch26 -p1
886    %patch27 -p1
887    %patch28 -p1
888    %patch29 -p1
889    %patch30 -p1
890    %patch31 -p1
891    %patch32 -p1
892    %patch33 -p1
893    %patch34 -p1
894    %patch35 -p1
895    %patch36 -p1
896    %patch37 -p1
897    %patch38 -p1
898    %patch39 -p1
899    %patch40 -p1
900    
901  %build  %build
902  perl createlinks  perl createlinks
903    
904    mkdir -p root/var/lib/qpsmtpd/karma
905    mkdir -p root/var/lib/qpsmtpd/dmarc
906    mkdir -p root/home/e-smith/dkim_keys/default
907    mkdir -p root/var/service/qpsmtpd/config/dkim
908    
909  PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers  PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers
910  mkdir -p $PEERS_CONFIG/0  mkdir -p $PEERS_CONFIG/0
911  mkdir -p $PEERS_CONFIG/local  mkdir -p $PEERS_CONFIG/local
912    
913  DISABLE_LOCAL="  DISABLE_LOCAL="
914  10check_earlytalker  09karma
915    10earlytalker
916  12count_unrecognized_commands  12count_unrecognized_commands
917  16require_resolvable_fromhost  15helo
918    16resolvable_fromhost
919    19loadcheck
920  20rhsbl  20rhsbl
921  22dnsbl  22dnsbl
922    221spf
923    223dmarc
924    34badrcptto_ext
925  70spamassassin  70spamassassin
926  "  "
927    
# Line 712  do Line 931  do
931  done  done
932    
933  DISABLE_EXTERNAL="  DISABLE_EXTERNAL="
934    34badrcptto
935  65disclaimer  65disclaimer
936  "  "
937    
# Line 761  rm -f %{name}-%{version}-%{release}-file Line 981  rm -f %{name}-%{version}-%{release}-file
981          \          \
982      --file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \      --file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \
983      --dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \      --dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \
984        --dir /var/lib/qpsmtpd/karma "attr(2750,qpsmtpd,qpsmtpd)" \
985        --dir /var/lib/qpsmtpd/dmarc "attr(2750,qpsmtpd,qpsmtpd)" \
986        --dir /home/e-smith/dkim_keys "attr(2750,root,qpsmtpd)" \
987        --dir /var/service/qpsmtpd/config/dkim "attr(2750,qpsmtpd,qpsmtpd)" \
988          \          \
989      --file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \      --file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \
990      > %{name}-%{version}-%{release}-filelist      > %{name}-%{version}-%{release}-filelist


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed