Hello community, here is the log from the commit of package postfix for openSUSE:Factory checked in at 2019-02-04 21:24:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/postfix (Old) and /work/SRC/openSUSE:Factory/.postfix.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "postfix" Mon Feb 4 21:24:13 2019 rev:164 rq:668834 version:3.3.2 Changes: -------- --- /work/SRC/openSUSE:Factory/postfix/postfix.changes 2018-12-21 08:20:10.777639617 +0100 +++ /work/SRC/openSUSE:Factory/.postfix.new.28833/postfix.changes 2019-02-04 21:24:16.855612266 +0100 @@ -1,0 +2,16 @@ +Sat Jan 26 19:28:02 UTC 2019 - [email protected] + +- rework postfix-main.cf.patch + * disable virtual_alias_domains cause (default: $virtual_alias_maps) +- rework config.postfix + * disable PCONF of virtual_alias_domains + virtual_alias_maps will be set anyway to the correct value + * extend virtual_alias_maps with + - mysql_virtual_alias_domain_maps.cf + - mysql_virtual_alias_domain_catchall_maps.cf +- rework postfix-mysql, added + * mysql_virtual_alias_domain_maps.cf + * mysql_virtual_alias_domain_catchall_maps.cf + needed for reject_unverified_recipient + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ postfix.spec ++++++ --- /var/tmp/diff_new_pack.EGLcYT/_old 2019-02-04 21:24:17.539612097 +0100 +++ /var/tmp/diff_new_pack.EGLcYT/_new 2019-02-04 21:24:17.539612097 +0100 @@ -1,7 +1,7 @@ # # spec file for package postfix # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # ++++++ postfix-SuSE.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/postfix-SuSE/config.postfix new/postfix-SuSE/config.postfix --- old/postfix-SuSE/config.postfix 2018-11-24 17:42:03.902173507 +0100 +++ new/postfix-SuSE/config.postfix 2019-01-20 22:47:33.324730835 +0100 @@ -258,7 +258,8 @@ # Some default settings, that seem to be useable, at least to me $PCONF -e "mail_spool_directory = /var/mail" $PCONF -e "canonical_maps = hash:/etc/postfix/canonical" - $PCONF -e "virtual_alias_domains = hash:/etc/postfix/virtual" + # virtual_alias_domains (default: $virtual_alias_maps) + #$PCONF -e "virtual_alias_domains = hash:/etc/postfix/virtual" $PCONF -e "relocated_maps = hash:/etc/postfix/relocated" if [ "$(echo "$POSTFIX_TRANSPORT_MAPS" | tr 'A-Z' 'a-z' )" != "" ]; then $PCONF -e "transport_maps = $POSTFIX_TRANSPORT_MAPS" @@ -724,9 +725,9 @@ } elsif ($with_ldap eq "yes" && $with_mysql ne "yes") { $line = $1."hash:/etc/postfix/virtual ldap:/etc/postfix/ldap_aliases.cf"; } elsif ($with_mysql eq "yes" && $with_ldap ne "yes") { - $line = $1."hash:/etc/postfix/virtual mysql:/etc/postfix/mysql_virtual_alias_maps.cf"; + $line = $1."hash:/etc/postfix/virtual mysql:/etc/postfix/mysql_virtual_alias_maps.cf mysql:/etc/postfix/mysql_virtual_alias_domain_maps.cf mysql:/etc/postfix/mysql_virtual_alias_domain_catchall_maps.cf"; } elsif ($with_mysql eq "yes" && $with_ldap eq "yes") { - $line = $1."hash:/etc/postfix/virtual ldap:/etc/postfix/ldap_aliases.cf mysql:/etc/postfix/mysql_virtual_alias_maps.cf"; + $line = $1."hash:/etc/postfix/virtual ldap:/etc/postfix/ldap_aliases.cf mysql:/etc/postfix/mysql_virtual_alias_maps.cf mysql:/etc/postfix/mysql_virtual_alias_domain_maps.cf mysql:/etc/postfix/mysql_virtual_alias_domain_catchall_maps.cf"; } } elsif( /\#?(virtual_uid_maps\s=.*)/ ) { if ($with_mysql ne "yes") { ++++++ postfix-main.cf.patch ++++++ --- /var/tmp/diff_new_pack.EGLcYT/_old 2019-02-04 21:24:17.619612078 +0100 +++ /var/tmp/diff_new_pack.EGLcYT/_new 2019-02-04 21:24:17.619612078 +0100 @@ -114,7 +114,7 @@ +# Start MySQL from postfixwiki.org +############################################################ +relay_domains = $mydestination, hash:/etc/postfix/relay -+virtual_alias_domains = ++#virtual_alias_domains = +#virtual_alias_maps = hash:/etc/postfix/virtual +#virtual_uid_maps = static:303 +#virtual_gid_maps = static:303 ++++++ postfix-mysql.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/postfix-mysql/mysql_relay_domains_maps.cf new/postfix-mysql/mysql_relay_domains_maps.cf --- old/postfix-mysql/mysql_relay_domains_maps.cf 2016-11-14 22:58:18.000000000 +0100 +++ new/postfix-mysql/mysql_relay_domains_maps.cf 2019-01-20 22:36:10.799501713 +0100 @@ -1,10 +1,5 @@ user = postfix password = postfix hosts = localhost -#hosts = 127.0.0.1 dbname = postfix -#table = domain -#select_field = domain -#where_field = domain -#additional_conditions = and backupmx = '1' query = SELECT domain FROM domain WHERE domain='%s' and backupmx='1' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/postfix-mysql/mysql_virtual_alias_domain_catchall_maps.cf new/postfix-mysql/mysql_virtual_alias_domain_catchall_maps.cf --- old/postfix-mysql/mysql_virtual_alias_domain_catchall_maps.cf 1970-01-01 01:00:00.000000000 +0100 +++ new/postfix-mysql/mysql_virtual_alias_domain_catchall_maps.cf 2019-01-20 22:06:44.000000000 +0100 @@ -0,0 +1,5 @@ +user = postfix +password = postfix +hosts = localhost +dbname = postfix +query = SELECT goto FROM alias,alias_domain WHERE alias_domain.alias_domain = '%d' and alias.address = CONCAT('@', alias_domain.target_domain) AND alias.active = 1 AND alias_domain.active='1' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/postfix-mysql/mysql_virtual_alias_domain_maps.cf new/postfix-mysql/mysql_virtual_alias_domain_maps.cf --- old/postfix-mysql/mysql_virtual_alias_domain_maps.cf 1970-01-01 01:00:00.000000000 +0100 +++ new/postfix-mysql/mysql_virtual_alias_domain_maps.cf 2019-01-20 21:22:01.000000000 +0100 @@ -0,0 +1,5 @@ +user = postfix +password = postfix +hosts = localhost +dbname = postfix +query = SELECT goto FROM alias,alias_domain WHERE alias_domain.alias_domain = '%d' and alias.address = CONCAT('%u', '@', alias_domain.target_domain) AND alias.active = 1 AND alias_domain.active='1' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/postfix-mysql/mysql_virtual_alias_maps.cf new/postfix-mysql/mysql_virtual_alias_maps.cf --- old/postfix-mysql/mysql_virtual_alias_maps.cf 2016-11-14 22:58:52.000000000 +0100 +++ new/postfix-mysql/mysql_virtual_alias_maps.cf 2019-01-20 22:36:21.591459268 +0100 @@ -1,9 +1,5 @@ user = postfix password = postfix hosts = localhost -#hosts = 127.0.0.1 dbname = postfix -#table = alias -#select_field = goto -#where_field = address query = SELECT goto FROM alias WHERE address='%s' AND active='1' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/postfix-mysql/mysql_virtual_domains_maps.cf new/postfix-mysql/mysql_virtual_domains_maps.cf --- old/postfix-mysql/mysql_virtual_domains_maps.cf 2016-11-22 01:36:18.000000000 +0100 +++ new/postfix-mysql/mysql_virtual_domains_maps.cf 2019-01-20 22:36:36.415400887 +0100 @@ -1,10 +1,6 @@ user = postfix password = postfix hosts = localhost -#hosts = 127.0.0.1 dbname = postfix table = domain -#select_field = domain -#where_field = domain -#additional_conditions = and backupmx = '0' and active = '1' query = SELECT domain FROM domain WHERE domain='%s' and backupmx='0' and active='1' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/postfix-mysql/mysql_virtual_mailbox_limit_maps.cf new/postfix-mysql/mysql_virtual_mailbox_limit_maps.cf --- old/postfix-mysql/mysql_virtual_mailbox_limit_maps.cf 2016-11-14 23:00:01.000000000 +0100 +++ new/postfix-mysql/mysql_virtual_mailbox_limit_maps.cf 2019-01-20 22:36:47.639356633 +0100 @@ -1,10 +1,5 @@ user = postfix password = postfix hosts = localhost -#hosts = 127.0.0.1 dbname = postfix -#table = mailbox -#select_field = quota -#where_field = username -#additional_conditions = and active = '1' query = SELECT quota FROM mailbox WHERE username='%s' and active='1' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/postfix-mysql/mysql_virtual_mailbox_maps.cf new/postfix-mysql/mysql_virtual_mailbox_maps.cf --- old/postfix-mysql/mysql_virtual_mailbox_maps.cf 2016-11-14 23:00:23.000000000 +0100 +++ new/postfix-mysql/mysql_virtual_mailbox_maps.cf 2019-01-20 22:36:59.739308842 +0100 @@ -1,10 +1,5 @@ user = postfix password = postfix hosts = localhost -#hosts = 127.0.0.1 dbname = postfix -#table = mailbox -#select_field = maildir -#where_field = username -#additional_conditions = and active = '1' query = SELECT maildir FROM mailbox WHERE username='%s' AND active='1'
