diff --git a/server/postfix/files/postfix-glibc230.patch b/server/postfix/files/postfix-glibc230.patch
new file mode 100644
index 0000000000..23a869bd8d
--- /dev/null
+++ b/server/postfix/files/postfix-glibc230.patch
@@ -0,0 +1,31 @@
+--- a/src/dns/dns_str_resflags.c 2016-05-15 18:20:14.000000000 +0300
++++ b/src/dns/dns_str_resflags.c 2019-05-03 17:29:16.000000000 +0300
+@@ -52,18 +52,28 @@
+ static const LONG_NAME_MASK resflag_table[] = {
+ "RES_INIT", RES_INIT,
+ "RES_DEBUG", RES_DEBUG,
++#ifdef RES_AAONLY
+ "RES_AAONLY", RES_AAONLY,
++#endif
+ "RES_USEVC", RES_USEVC,
++#ifdef RES_PRIMARY
+ "RES_PRIMARY", RES_PRIMARY,
++#endif
+ "RES_IGNTC", RES_IGNTC,
+ "RES_RECURSE", RES_RECURSE,
+ "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 --git a/server/postfix/pspec.xml b/server/postfix/pspec.xml
index b7bf9edbc4..aa89f242b1 100644
--- a/server/postfix/pspec.xml
+++ b/server/postfix/pspec.xml
@@ -12,7 +12,7 @@
service
A fast and secure drop-in replacement for sendmail
Postfix is Wietse Venema's mailer that started life as an alternative to the widely-used Sendmail program.
- ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-3.3.1.tar.gz
+ ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-3.4.6.tar.gz
db-devel
libnsl-devel
@@ -25,7 +25,7 @@
mit-kerberos
-
+ postfix-glibc230.patch
postfix-large-fs.patch
@@ -91,6 +91,13 @@
+
+ 2020-01-27
+ 3.4.6
+ Version bump.
+ Mustafa Cinasal
+ muscnsl@gmail.com
+
2018-09-02
3.2.0