+++ /dev/null
-diff -ur postfix-3.4.6.orig/src/dns/dns_str_resflags.c postfix-3.4.6/src/dns/dns_str_resflags.c
---- postfix-3.4.6.orig/src/dns/dns_str_resflags.c 2016-05-15 17:20:14.000000000 +0200
-+++ postfix-3.4.6/src/dns/dns_str_resflags.c 2019-09-05 22:01:00.522000000 +0200
-@@ -60,10 +60,16 @@
- "RES_DEFNAMES", RES_DEFNAMES,
- "RES_STAYOPEN", RES_STAYOPEN,
- "RES_DNSRCH", RES_DNSRCH,
-+#ifdef RES_INSECURE1
- "RES_INSECURE1", RES_INSECURE1,
-+#endif
-+#ifdef RES_INSECURE2
- "RES_INSECURE2", RES_INSECURE2,
-+#endif
- "RES_NOALIASES", RES_NOALIASES,
-+#ifdef RES_USE_INET6
- "RES_USE_INET6", RES_USE_INET6,
-+#endif
- #ifdef RES_ROTATE
- "RES_ROTATE", RES_ROTATE,
- #endif
diff -ur postfix-3.0.2.orig/conf/master.cf postfix-3.0.2/conf/master.cf
--- postfix-3.0.2.orig/conf/master.cf 2015-07-25 18:23:32.000000000 +0000
+++ postfix-3.0.2/conf/master.cf 2015-07-25 18:24:44.966826277 +0000
-@@ -76,7 +76,7 @@
+@@ -79,7 +79,7 @@
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
#maildrop unix - n n - - pipe
--# flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
-+# flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
+-# flags=DRXhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
++# flags=DRXhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
#
# ====================================================================
#
-@@ -119,7 +119,7 @@
+@@ -122,7 +122,7 @@
# flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
#
#bsmtp unix - n n - - pipe
diff -ur postfix-3.0.2.orig/src/global/mail_params.c postfix-3.0.2/src/global/mail_params.c
--- postfix-3.0.2.orig/src/global/mail_params.c 2015-01-27 19:27:44.000000000 +0000
+++ postfix-3.0.2/src/global/mail_params.c 2015-07-25 15:55:35.700514288 +0000
-@@ -82,6 +82,7 @@
+@@ -83,6 +83,7 @@
/* char *var_debug_peer_list;
/* int var_debug_peer_level;
/* int var_in_flow_delay;
/* int var_fault_inj_code;
/* char *var_bounce_service;
/* char *var_cleanup_service;
-@@ -286,6 +287,7 @@
+@@ -304,6 +305,7 @@
char *var_export_environ;
char *var_debug_peer_list;
int var_debug_peer_level;
int var_fault_inj_code;
char *var_bounce_service;
char *var_cleanup_service;
-@@ -695,6 +697,7 @@
- VAR_DSN_FILTER, DEF_DSN_FILTER, &var_dsn_filter, 0, 0,
+@@ -762,6 +764,7 @@
VAR_SMTPUTF8_AUTOCLASS, DEF_SMTPUTF8_AUTOCLASS, &var_smtputf8_autoclass, 1, 0,
VAR_DROP_HDRS, DEF_DROP_HDRS, &var_drop_hdrs, 0, 0,
+ VAR_INFO_LOG_ADDR_FORM, DEF_INFO_LOG_ADDR_FORM, &var_info_log_addr_form, 1, 0,
+ VAR_REJECT_REPLY_MSG_ACCESS_DENIED, DEF_REJECT_REPLY_MSG_ACCESS_DENIED, &var_reject_reply_msg_access_denied, 1, 0,
0,
};
diff -ur postfix-3.0.2.orig/conf/master.cf postfix-3.0.2/conf/master.cf
--- postfix-3.0.2.orig/conf/master.cf 2015-01-31 22:54:26.000000000 +0000
+++ postfix-3.0.2/conf/master.cf 2015-07-25 18:23:32.695826277 +0000
-@@ -95,14 +95,14 @@
+@@ -98,14 +98,14 @@
# Also specify in main.cf: cyrus_destination_recipient_limit=1
#
#cyrus unix - n n - - pipe
--# user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
-+# user=cyrus argv=/usr/lib/cyrus/deliver -e -r ${sender} -m ${extension} ${user}
+-# flags=DRX user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
++# flags=DRX user=cyrus argv=/usr/lib/cyrus/deliver -e -r ${sender} -m ${extension} ${user}
#
# ====================================================================
#
Summary(pt_BR.UTF-8): Postfix - Um MTA (Mail Transport Agent) de alto desempenho
Summary(sk.UTF-8): Agent prenosu pošty Postfix
Name: postfix
-Version: 3.4.9
+Version: 3.5.0
Release: 1
Epoch: 2
License: distributable
Group: Networking/Daemons/SMTP
Source0: ftp://ftp.porcupine.org/mirrors/postfix-release/official/%{name}-%{version}.tar.gz
-# Source0-md5: 5dbe5f07b98903716f969dcff88c0775
+# Source0-md5: f6a48f369cf8d693d7b0f8ab51f0fc9b
Source1: %{name}.aliases
Source2: %{name}.cron
Source3: %{name}.init
Patch3: %{name}-conf.patch
Patch4: %{name}-link.patch
Patch5: %{name}-scache_clnt.patch
-Patch6: glibc-2.30.patch
URL: http://www.postfix.org/
%{?with_sasl:BuildRequires: cyrus-sasl-devel}
BuildRequires: db-devel
%patch3 -p1
%patch4 -p1
%patch5 -p1
-%patch6 -p1
%build
%{__make} -f Makefile.init makefiles