Kaynağa Gözat

postfix: version update to 3.1.0

Signed-off-by: Denis Shulyaka <Shulyaka@gmail.com>
Denis Shulyaka 9 yıl önce
ebeveyn
işleme
eadf60cf82

+ 3
- 3
mail/postfix/Makefile Dosyayı Görüntüle

@@ -10,8 +10,8 @@ include $(TOPDIR)/rules.mk
10 10
 PKG_NAME:=postfix
11 11
 PKG_RELEASE:=1
12 12
 PKG_SOURCE_URL:=ftp://ftp.porcupine.org/mirrors/postfix-release/official/
13
-PKG_VERSION:=3.0.4
14
-PKG_MD5SUM:=877365c99e1fb5d46e61da5b22df0255
13
+PKG_VERSION:=3.1.0
14
+PKG_MD5SUM:=b4a506fa74c69c6fb1875c0971268344
15 15
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 16
 PKG_MAINTAINER:=Denis Shulyaka <Shulyaka@gmail.com>
17 17
 PKG_LICENSE:=IPL-1.0
@@ -159,7 +159,7 @@ endef
159 159
 # 	postconf -d > /tmp/main.cf.new
160 160
 # 3. Transfer /tmp/main.cf.new file to the build system
161 161
 # 4. Execute the following command:
162
-# 	cat /tmp/main.cf.new | ( echo '# DO NOT EDIT THIS FILE. EDIT THE MAIN.CF FILE INSTEAD. THE'; echo '# TEXT HERE JUST SHOWS DEFAULT SETTINGS BUILT INTO POSTFIX.'; echo '#'; grep -v ^alias_maps\ = |grep -v ^alias_database\ = |grep -v ^command_directory\ = |grep -v ^config_directory\ = |grep -v ^daemon_directory\ = |grep -v ^data_directory\ = |grep -v ^default_database_type\ = |grep -v ^html_directory\ = |grep -v ^mail_spool_directory\ = |grep -v ^mailq_path\ = |grep -v ^manpage_directory\ = |grep -v ^meta_directory\ = |grep -v ^mydomain\ = |grep -v ^myhostname\ = |grep -v ^mynetworks\ = |grep -v ^mynetworks_style\ = |grep -v ^newaliases_path\ = |grep -v ^queue_directory\ = |grep -v ^readme_directory\ = |grep -v ^sample_directory\ = |grep -v ^sendmail_path\ = |grep -v ^shlib_directory\ = |grep -v ^smtputf8_enable\ = |grep -v ^virtual_maps\ = ) > files/main.cf.default
162
+# 	cat /tmp/main.cf.new | ( echo '# DO NOT EDIT THIS FILE. EDIT THE MAIN.CF FILE INSTEAD. THE'; echo '# TEXT HERE JUST SHOWS DEFAULT SETTINGS BUILT INTO POSTFIX.'; echo '#'; grep -v ^alias_maps\ = |grep -v ^alias_database\ = |grep -v ^command_directory\ = |grep -v ^config_directory\ = |grep -v ^daemon_directory\ = |grep -v ^data_directory\ = |grep -v ^default_database_type\ = |grep -v ^html_directory\ = |grep -v ^mail_spool_directory\ = |grep -v ^mailq_path\ = |grep -v ^manpage_directory\ = |grep -v ^meta_directory\ = |grep -v ^mydomain\ = |grep -v ^myhostname\ = |grep -v ^mynetworks\ = |grep -v ^mynetworks_style\ = |grep -v ^newaliases_path\ = |grep -v ^queue_directory\ = |grep -v ^readme_directory\ = |grep -v ^sample_directory\ = |grep -v ^sendmail_path\ = |grep -v ^shlib_directory\ = |grep -v ^smtputf8_enable\ = |grep -v ^virtual_maps\ = |grep -v ^process_id\ = ) > files/main.cf.default
163 163
 # 5. Done. Now you can rebuild the package with new main.cf.default.
164 164
 #
165 165
 

+ 24
- 8
mail/postfix/files/main.cf.default Dosyayı Görüntüle

@@ -11,6 +11,7 @@ address_verify_map = btree:$data_directory/verify_cache
11 11
 address_verify_negative_cache = yes
12 12
 address_verify_negative_expire_time = 3d
13 13
 address_verify_negative_refresh_time = 3h
14
+address_verify_pending_request_limit = 5000
14 15
 address_verify_poll_count = ${stress?{1}:{3}}
15 16
 address_verify_poll_delay = 3s
16 17
 address_verify_positive_expire_time = 31d
@@ -92,6 +93,7 @@ default_recipient_limit = 20000
92 93
 default_recipient_refill_delay = 5s
93 94
 default_recipient_refill_limit = 100
94 95
 default_transport = smtp
96
+default_transport_rate_delay = 0s
95 97
 default_verp_delimiters = +=
96 98
 defer_code = 450
97 99
 defer_service_name = defer
@@ -108,6 +110,7 @@ disable_mime_input_processing = no
108 110
 disable_mime_output_conversion = no
109 111
 disable_verp_bounces = no
110 112
 disable_vrfy_command = no
113
+dns_ncache_ttl_fix_enable = no
111 114
 dnsblog_reply_delay = 0s
112 115
 dnsblog_service_name = dnsblog
113 116
 dont_remove = 0
@@ -135,6 +138,7 @@ error_recipient_limit = $default_recipient_limit
135 138
 error_recipient_refill_delay = $default_recipient_refill_delay
136 139
 error_recipient_refill_limit = $default_recipient_refill_limit
137 140
 error_service_name = error
141
+error_transport_rate_delay = $default_transport_rate_delay
138 142
 execution_directory_expansion_filter = 1234567890!@%-_=+:,./abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
139 143
 expand_owner_alias = no
140 144
 export_environment = TZ MAIL_CONFIG LANG
@@ -205,6 +209,7 @@ lmtp_dns_resolver_options =
205 209
 lmtp_dns_support_level =
206 210
 lmtp_enforce_tls = no
207 211
 lmtp_extra_recipient_limit = $default_extra_recipient_limit
212
+lmtp_fallback_relay =
208 213
 lmtp_generic_maps =
209 214
 lmtp_header_checks =
210 215
 lmtp_host_lookup = dns
@@ -281,6 +286,7 @@ lmtp_tls_session_cache_timeout = 3600s
281 286
 lmtp_tls_trust_anchor_file =
282 287
 lmtp_tls_verify_cert_match = hostname
283 288
 lmtp_tls_wrappermode = no
289
+lmtp_transport_rate_delay = $default_transport_rate_delay
284 290
 lmtp_use_tls = no
285 291
 lmtp_xforward_timeout = 300s
286 292
 local_command_shell =
@@ -303,11 +309,12 @@ local_recipient_maps = proxy:unix:passwd.byname $alias_maps
303 309
 local_recipient_refill_delay = $default_recipient_refill_delay
304 310
 local_recipient_refill_limit = $default_recipient_refill_limit
305 311
 local_transport = local:$myhostname
312
+local_transport_rate_delay = $default_transport_rate_delay
306 313
 luser_relay =
307 314
 mail_name = Postfix
308 315
 mail_owner = postfix
309
-mail_release_date = 20151010
310
-mail_version = 3.0.3
316
+mail_release_date = 20160224
317
+mail_version = 3.1.0
311 318
 mailbox_command =
312 319
 mailbox_command_maps =
313 320
 mailbox_delivery_lock = fcntl, dotlock
@@ -339,6 +346,7 @@ milter_end_of_header_macros = i
339 346
 milter_header_checks =
340 347
 milter_helo_macros = {tls_version} {cipher} {cipher_bits} {cert_subject} {cert_issuer}
341 348
 milter_macro_daemon_name = $myhostname
349
+milter_macro_defaults =
342 350
 milter_macro_v = $mail_name $mail_version
343 351
 milter_mail_macros = i {auth_type} {auth_authen} {auth_author} {mail_addr} {mail_host} {mail_mailer}
344 352
 milter_protocol = 6
@@ -360,6 +368,7 @@ nested_header_checks = $header_checks
360 368
 non_fqdn_reject_code = 504
361 369
 non_smtpd_milters =
362 370
 notify_classes = resource, software
371
+openssl_path = openssl
363 372
 owner_request_special = yes
364 373
 parent_domain_matches_subdomains = debug_peer_list,fast_flush_domains,mynetworks,permit_mx_backup_networks,qmqpd_authorized_clients,relay_domains,smtpd_access_maps
365 374
 permit_mx_backup_networks =
@@ -385,11 +394,12 @@ postscreen_disable_vrfy_command = $disable_vrfy_command
385 394
 postscreen_discard_ehlo_keyword_address_maps = $smtpd_discard_ehlo_keyword_address_maps
386 395
 postscreen_discard_ehlo_keywords = $smtpd_discard_ehlo_keywords
387 396
 postscreen_dnsbl_action = ignore
397
+postscreen_dnsbl_max_ttl = ${postscreen_dnsbl_ttl?{$postscreen_dnsbl_ttl}:{1}}h
398
+postscreen_dnsbl_min_ttl = 60s
388 399
 postscreen_dnsbl_reply_map =
389 400
 postscreen_dnsbl_sites =
390 401
 postscreen_dnsbl_threshold = 1
391 402
 postscreen_dnsbl_timeout = 10s
392
-postscreen_dnsbl_ttl = 1h
393 403
 postscreen_dnsbl_whitelist_threshold = 0
394 404
 postscreen_enforce_tls = $smtpd_enforce_tls
395 405
 postscreen_expansion_filter = $smtpd_expansion_filter
@@ -415,7 +425,6 @@ postscreen_use_tls = $smtpd_use_tls
415 425
 postscreen_watchdog_timeout = 10s
416 426
 postscreen_whitelist_interfaces = static:all
417 427
 prepend_delivered_header = command, file, forward
418
-process_id = 13574
419 428
 process_id_directory = pid
420 429
 process_name = postconf
421 430
 propagate_unmatched_extensions = canonical, virtual
@@ -467,6 +476,7 @@ relay_recipient_maps =
467 476
 relay_recipient_refill_delay = $default_recipient_refill_delay
468 477
 relay_recipient_refill_limit = $default_recipient_refill_limit
469 478
 relay_transport = relay
479
+relay_transport_rate_delay = $default_transport_rate_delay
470 480
 relayhost =
471 481
 relocated_maps =
472 482
 remote_header_rewrite_domain =
@@ -490,6 +500,7 @@ retry_minimum_delivery_slots = $default_minimum_delivery_slots
490 500
 retry_recipient_limit = $default_recipient_limit
491 501
 retry_recipient_refill_delay = $default_recipient_refill_delay
492 502
 retry_recipient_refill_limit = $default_recipient_refill_limit
503
+retry_transport_rate_delay = $default_transport_rate_delay
493 504
 rewrite_service_name = rewrite
494 505
 send_cyrus_sasl_authzid = no
495 506
 sender_bcc_maps =
@@ -587,6 +598,7 @@ smtp_tls_CApath =
587 598
 smtp_tls_block_early_mail_reply = no
588 599
 smtp_tls_cert_file =
589 600
 smtp_tls_ciphers = medium
601
+smtp_tls_dane_insecure_mx_policy = dane
590 602
 smtp_tls_dcert_file =
591 603
 smtp_tls_dkey_file = $smtp_tls_dcert_file
592 604
 smtp_tls_eccert_file =
@@ -613,12 +625,14 @@ smtp_tls_session_cache_timeout = 3600s
613 625
 smtp_tls_trust_anchor_file =
614 626
 smtp_tls_verify_cert_match = hostname
615 627
 smtp_tls_wrappermode = no
628
+smtp_transport_rate_delay = $default_transport_rate_delay
616 629
 smtp_use_tls = no
617 630
 smtp_xforward_timeout = 300s
618 631
 smtpd_authorized_verp_clients = $authorized_verp_clients
619 632
 smtpd_authorized_xclient_hosts =
620 633
 smtpd_authorized_xforward_hosts =
621 634
 smtpd_banner = $myhostname ESMTP $mail_name
635
+smtpd_client_auth_rate_limit = 0
622 636
 smtpd_client_connection_count_limit = 50
623 637
 smtpd_client_connection_rate_limit = 0
624 638
 smtpd_client_event_limit_exceptions = ${smtpd_client_connection_limit_exceptions:$mynetworks}
@@ -654,6 +668,7 @@ smtpd_per_record_deadline = ${stress?{yes}:{no}}
654 668
 smtpd_policy_service_default_action = 451 4.3.5 Server configuration problem
655 669
 smtpd_policy_service_max_idle = 300s
656 670
 smtpd_policy_service_max_ttl = 1000s
671
+smtpd_policy_service_policy_context =
657 672
 smtpd_policy_service_request_limit = 0
658 673
 smtpd_policy_service_retry_delay = 1s
659 674
 smtpd_policy_service_timeout = 100s
@@ -741,11 +756,11 @@ tls_dane_trust_anchor_digest_enable = yes
741 756
 tls_disable_workarounds =
742 757
 tls_eecdh_strong_curve = prime256v1
743 758
 tls_eecdh_ultra_curve = secp384r1
744
-tls_export_cipherlist = aNULL:-aNULL:ALL:+RC4:@STRENGTH
745
-tls_high_cipherlist = aNULL:-aNULL:ALL:!EXPORT:!LOW:!MEDIUM:+RC4:@STRENGTH
759
+tls_export_cipherlist = aNULL:-aNULL:HIGH:MEDIUM:LOW:EXPORT:+RC4:@STRENGTH
760
+tls_high_cipherlist = aNULL:-aNULL:HIGH:@STRENGTH
746 761
 tls_legacy_public_key_fingerprints = no
747
-tls_low_cipherlist = aNULL:-aNULL:ALL:!EXPORT:+RC4:@STRENGTH
748
-tls_medium_cipherlist = aNULL:-aNULL:ALL:!EXPORT:!LOW:+RC4:@STRENGTH
762
+tls_low_cipherlist = aNULL:-aNULL:HIGH:MEDIUM:LOW:+RC4:@STRENGTH
763
+tls_medium_cipherlist = aNULL:-aNULL:HIGH:MEDIUM:+RC4:@STRENGTH
749 764
 tls_null_cipherlist = eNULL:!aNULL
750 765
 tls_preempt_cipherlist = no
751 766
 tls_random_bytes = 32
@@ -837,4 +852,5 @@ virtual_recipient_limit = $default_recipient_limit
837 852
 virtual_recipient_refill_delay = $default_recipient_refill_delay
838 853
 virtual_recipient_refill_limit = $default_recipient_refill_limit
839 854
 virtual_transport = virtual
855
+virtual_transport_rate_delay = $default_transport_rate_delay
840 856
 virtual_uid_maps =

+ 1
- 1
mail/postfix/patches/100-fsstat.patch Dosyayı Görüntüle

@@ -1,7 +1,7 @@
1 1
 diff -rupN postfix-2.8.1/src/smtpd/smtpd_check.c postfix-2.8.1_patched/src/smtpd/smtpd_check.c
2 2
 --- postfix-2.8.1/src/smtpd/smtpd_check.c	2011-01-04 22:03:50.000000000 +0300
3 3
 +++ postfix-2.8.1_patched/src/smtpd/smtpd_check.c	2011-03-06 19:35:39.000000000 +0300
4
-@@ -5277,7 +5277,7 @@ char   *smtpd_check_queue(SMTPD_STATE *s
4
+@@ -5296,7 +5296,7 @@ char   *smtpd_check_queue(SMTPD_STATE *s
5 5
       */
6 6
  #define BLOCKS(x)	((x) / fsbuf.block_size)
7 7
  

+ 6
- 6
mail/postfix/patches/200-manpages.patch Dosyayı Görüntüle

@@ -1,7 +1,7 @@
1 1
 diff -Naur postfix-2.10.2/conf/post-install postfix-2.10.2_patched/conf/post-install
2 2
 --- postfix-2.10.2/conf/post-install	2013-06-13 18:07:46.000000000 +0400
3 3
 +++ postfix-2.10.2_patched/conf/post-install	2013-11-19 21:17:49.572820573 +0400
4
-@@ -359,10 +359,10 @@
4
+@@ -361,10 +361,10 @@
5 5
  
6 6
  # Sanity checks
7 7
  
@@ -16,7 +16,7 @@ diff -Naur postfix-2.10.2/conf/post-install postfix-2.10.2_patched/conf/post-ins
16 16
  
17 17
  case $setgid_group in
18 18
   no) echo $0: Error: setgid_group no longer accepts \"no\" values. 1>&2
19
-@@ -370,7 +370,7 @@
19
+@@ -372,7 +372,7 @@
20 20
  esac
21 21
  
22 22
  for path in "$daemon_directory" "$command_directory" "$queue_directory" \
@@ -25,7 +25,7 @@ diff -Naur postfix-2.10.2/conf/post-install postfix-2.10.2_patched/conf/post-ins
25 25
      "$meta_directory"
26 26
  do
27 27
     case "$path" in
28
-@@ -379,7 +379,7 @@
28
+@@ -381,7 +381,7 @@
29 29
     esac
30 30
  done
31 31
  
@@ -37,7 +37,7 @@ diff -Naur postfix-2.10.2/conf/post-install postfix-2.10.2_patched/conf/post-ins
37 37
 diff -Naur postfix-2.10.2/postfix-install postfix-2.10.2_patched/postfix-install
38 38
 --- postfix-2.10.2/postfix-install	2012-05-22 23:40:29.000000000 +0400
39 39
 +++ postfix-2.10.2_patched/postfix-install	2013-11-19 21:12:20.694160734 +0400
40
-@@ -543,13 +543,13 @@
40
+@@ -554,13 +554,13 @@
41 41
       exit 1;;
42 42
  esac
43 43
  
@@ -58,7 +58,7 @@ diff -Naur postfix-2.10.2/postfix-install postfix-2.10.2_patched/postfix-install
58 58
  
59 59
  for path in "$html_directory" "$readme_directory" "$shlib_directory"
60 60
  do
61
-@@ -562,7 +562,7 @@
61
+@@ -573,7 +573,7 @@
62 62
  done
63 63
  
64 64
  for path in "$daemon_directory" "$data_directory" "$command_directory" "$queue_directory" \
@@ -67,7 +67,7 @@ diff -Naur postfix-2.10.2/postfix-install postfix-2.10.2_patched/postfix-install
67 67
      "$meta_directory"
68 68
  do
69 69
     case "$path" in
70
-@@ -758,8 +758,8 @@
70
+@@ -780,8 +780,8 @@
71 71
  		compare_or_replace $mode "$owner" "$group" html/$file \
72 72
  		    $HTML_DIRECTORY/$file || exit 1;;
73 73
  	'$manpage_directory')

+ 1
- 1
mail/postfix/patches/400-cdb.patch Dosyayı Görüntüle

@@ -1,7 +1,7 @@
1 1
 diff -Naur postfix-2.11.1/src/util/sys_defs.h postfix-2.11.1.patched/src/util/sys_defs.h
2 2
 --- postfix-2.11.1/src/util/sys_defs.h	2013-09-30 00:51:55.000000000 +0400
3 3
 +++ postfix-2.11.1.patched/src/util/sys_defs.h	2014-09-29 03:11:48.962277971 +0400
4
-@@ -768,9 +768,8 @@
4
+@@ -769,9 +769,8 @@
5 5
  #define INTERNAL_LOCK	MYFLOCK_STYLE_FLOCK
6 6
  #define DEF_MAILBOX_LOCK "fcntl, dotlock"	/* RedHat >= 4.x */
7 7
  #define HAS_FSYNC

+ 2
- 2
mail/postfix/patches/500-crosscompile.patch Dosyayı Görüntüle

@@ -1,6 +1,6 @@
1 1
 --- a/makedefs	2016-01-28 12:30:14.444082390 -0500
2 2
 +++ b/makedefs	2016-01-28 13:44:02.092006512 -0500
3
-@@ -193,7 +193,7 @@ error() {
3
+@@ -198,7 +198,7 @@ error() {
4 4
  
5 5
  case $# in
6 6
   # Officially supported usage.
@@ -9,7 +9,7 @@
9 9
      RELEASE=`(uname -r) 2>/dev/null`
10 10
      # No ${x%%y} support in Solaris 11 /bin/sh
11 11
      RELEASE_MAJOR=`expr "$RELEASE" : '\([0-9]*\)'` || exit 1
12
-@@ -207,6 +207,15 @@ case $# in
12
+@@ -212,6 +212,15 @@ case $# in
13 13
  esac
14 14
  
15 15
  case "$SYSTEM.$RELEASE" in

+ 1
- 1
mail/postfix/patches/600-nopostconf.patch Dosyayı Görüntüle

@@ -1,7 +1,7 @@
1 1
 diff -Naur postfix-2.11.1/postfix-install postfix-2.11.1.patched/postfix-install
2 2
 --- postfix-2.11.1/postfix-install	2014-10-05 20:43:58.598876904 +0400
3 3
 +++ postfix-2.11.1.patched/postfix-install	2014-10-05 20:47:36.076700082 +0400
4
-@@ -830,23 +830,23 @@
4
+@@ -852,23 +852,23 @@
5 5
      esac
6 6
  done
7 7
  

+ 2
- 2
mail/postfix/patches/800-fmt.patch Dosyayı Görüntüle

@@ -1,12 +1,12 @@
1 1
 diff -Naur postfix-2.11.1/conf/post-install postfix-2.11.1.patched/conf/post-install
2 2
 --- postfix-2.11.1/conf/post-install	2014-10-05 20:43:58.597876946 +0400
3 3
 +++ postfix-2.11.1.patched/conf/post-install	2014-10-11 16:28:01.258874097 +0400
4
-@@ -319,7 +319,7 @@
4
+@@ -321,7 +321,7 @@
5 5
  case `uname -s` in
6 6
  HP-UX*) FMT=cat;;
7 7
  SunOS*) FMT=fake_fmt;;
8 8
 -     *) FMT=fmt;;
9
-+     *) FMT="xargs echo";;
9
++     *) FMT=cat;;
10 10
  esac
11 11
  
12 12
  # If a parameter is not set via the command line or environment,