Hello community, here is the log from the commit of package postfix for openSUSE:Factory checked in at 2018-11-06 15:23:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/postfix (Old) and /work/SRC/openSUSE:Factory/.postfix.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "postfix" Tue Nov 6 15:23:49 2018 rev:161 rq:645595 version:3.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/postfix/postfix.changes 2018-10-11 11:43:45.378916286 +0200 +++ /work/SRC/openSUSE:Factory/.postfix.new/postfix.changes 2018-11-06 15:23:56.300652014 +0100 @@ -1,0 +2,22 @@ +Mon Oct 22 13:00:03 UTC 2018 - Christian Wittmer <ch...@computersalat.de> + +- update config.postfix + * don't reject mail from authenticated users even if + reject_unknown_client_hostname would match, + add permit_sasl_authenticated to all restrictions + requires smtpd_delay_reject = yes +- update postfix-main.cf.patch + * recover removed setting smtpd_sasl_path and smtpd_sasl_type, + set to default value + config.postfix will not 'enable' (remove #) var, but place + modified (enabled) var at end of file, far away from place + where it should be +- rebase patches + * fix-postfix-script.patch + * postfix-vda-v14-3.0.3.patch + * postfix-linux45.patch + * postfix-master.cf.patch + * pointer_to_literals.patch + * postfix-no-md5.patch + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ postfix.spec ++++++ --- /var/tmp/diff_new_pack.cYT7Ex/_old 2018-11-06 15:23:57.212650695 +0100 +++ /var/tmp/diff_new_pack.cYT7Ex/_new 2018-11-06 15:23:57.216650689 +0100 @@ -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/ # ++++++ fix-postfix-script.patch ++++++ --- /var/tmp/diff_new_pack.cYT7Ex/_old 2018-11-06 15:23:57.236650660 +0100 +++ /var/tmp/diff_new_pack.cYT7Ex/_new 2018-11-06 15:23:57.240650654 +0100 @@ -1,6 +1,8 @@ ---- conf/postfix-script 2016-01-31 16:05:46.000000000 -0500 -+++ conf/postfix-script 2016-03-01 19:23:51.000000000 -0500 -@@ -272,10 +277,17 @@ +Index: conf/postfix-script +=================================================================== +--- conf/postfix-script.orig ++++ conf/postfix-script +@@ -299,10 +299,17 @@ check-warn) } todo=`echo "$todo" | tr ' ' '\12' | sort -u` ++++++ pointer_to_literals.patch ++++++ --- /var/tmp/diff_new_pack.cYT7Ex/_old 2018-11-06 15:23:57.252650637 +0100 +++ /var/tmp/diff_new_pack.cYT7Ex/_new 2018-11-06 15:23:57.252650637 +0100 @@ -2,7 +2,7 @@ =================================================================== --- src/cleanup/cleanup_message.c.orig +++ src/cleanup/cleanup_message.c -@@ -290,7 +290,7 @@ static const char *cleanup_act(CLEANUP_S +@@ -296,7 +296,7 @@ static const char *cleanup_act(CLEANUP_S while (*optional_text && ISSPACE(*optional_text)) optional_text++; @@ -28,7 +28,7 @@ =================================================================== --- src/smtpd/smtpd_check.c.orig +++ src/smtpd/smtpd_check.c -@@ -379,6 +379,10 @@ static STRING_LIST *smtpd_acl_perm_log; +@@ -380,6 +380,10 @@ static STRING_LIST *smtpd_acl_perm_log; #define CONST_STR(x) ((const char *) vstring_str(x)) #define UPDATE_STRING(ptr,val) { if (ptr) myfree(ptr); ptr = mystrdup(val); } @@ -39,7 +39,7 @@ /* * If some decision can't be made due to a temporary error, then change * other decisions into deferrals. -@@ -2335,8 +2339,6 @@ static int check_table_result(SMTPD_STAT +@@ -2339,8 +2343,6 @@ static int check_table_result(SMTPD_STAT if (msg_verbose) msg_info("%s: %s %s %s", myname, table, value, datum); @@ -48,7 +48,7 @@ /* * DUNNO means skip this table. Silently ignore optional text. */ -@@ -3368,8 +3370,6 @@ static const char *rbl_expand_lookup(con +@@ -3375,8 +3377,6 @@ static const char *rbl_expand_lookup(con SMTPD_RBL_EXPAND_CONTEXT *rbl_exp = (SMTPD_RBL_EXPAND_CONTEXT *) context; SMTPD_STATE *state = rbl_exp->state; ++++++ 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-04-09 11:31:34.521653476 +0200 +++ new/postfix-SuSE/config.postfix 2018-10-22 13:48:17.339040765 +0200 @@ -556,9 +556,15 @@ $PCONF -e "smtpd_sasl_type= dovecot" fi touch -m -d "1 minute ago" $TMPDIR/main.cf + CURRENT=$($PCONF -h smtpd_helo_restrictions) + $PCONF -e "smtpd_helo_restrictions= permit_sasl_authenticated, $CURRENT" + touch -m -d "1 minute ago" $TMPDIR/main.cf CURRENT=$($PCONF -h smtpd_client_restrictions) $PCONF -e "smtpd_client_restrictions= permit_sasl_authenticated, $CURRENT" touch -m -d "1 minute ago" $TMPDIR/main.cf + CURRENT=$($PCONF -h smtpd_sender_restrictions) + $PCONF -e "smtpd_sender_restrictions= permit_sasl_authenticated, $CURRENT" + touch -m -d "1 minute ago" $TMPDIR/main.cf CURRENT=$($PCONF -h smtpd_recipient_restrictions) $PCONF -e "smtpd_recipient_restrictions= permit_sasl_authenticated, $CURRENT" else ++++++ postfix-linux45.patch ++++++ --- /var/tmp/diff_new_pack.cYT7Ex/_old 2018-11-06 15:23:57.340650509 +0100 +++ /var/tmp/diff_new_pack.cYT7Ex/_new 2018-11-06 15:23:57.344650504 +0100 @@ -2,9 +2,11 @@ makedefs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---- makedefs -+++ makedefs 2017-04-13 08:33:01.425823067 +0000 -@@ -543,7 +543,7 @@ EOF +Index: makedefs +=================================================================== +--- makedefs.orig ++++ makedefs +@@ -546,7 +546,7 @@ EOF : ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"} : ${PLUGIN_LD="${CC-gcc} -shared"} ;; ++++++ postfix-main.cf.patch ++++++ --- /var/tmp/diff_new_pack.cYT7Ex/_old 2018-11-06 15:23:57.356650486 +0100 +++ /var/tmp/diff_new_pack.cYT7Ex/_new 2018-11-06 15:23:57.360650481 +0100 @@ -10,7 +10,7 @@ # PARALLEL DELIVERY TO THE SAME DESTINATION # -@@ -673,4 +674,132 @@ sample_directory = +@@ -673,4 +674,138 @@ sample_directory = # readme_directory: The location of the Postfix README files. # readme_directory = @@ -77,6 +77,12 @@ +smtp_sasl_security_options = +smtp_sasl_password_maps = +smtpd_sasl_auth_enable = no ++# cyrus : smtpd_sasl_type = cyrus ++# smtpd_sasl_path = smtpd ++# dovecot : smtpd_sasl_type = dovecot ++# smtpd_sasl_path = private/auth ++smtpd_sasl_type = cyrus ++smtpd_sasl_path = smtpd +############################################################ +# TLS stuff +############################################################ ++++++ postfix-master.cf.patch ++++++ --- /var/tmp/diff_new_pack.cYT7Ex/_old 2018-11-06 15:23:57.368650469 +0100 +++ /var/tmp/diff_new_pack.cYT7Ex/_new 2018-11-06 15:23:57.372650463 +0100 @@ -63,7 +63,7 @@ #628 inet n - n - - qmqpd pickup unix n - n 60 1 pickup cleanup unix n - n - 0 cleanup -@@ -63,6 +69,27 @@ virtual unix - n n +@@ -64,6 +70,27 @@ virtual unix - n n lmtp unix - - n - - lmtp anvil unix - - n - 1 anvil scache unix - - n - 1 scache @@ -91,7 +91,7 @@ # # ==================================================================== # Interfaces to non-Postfix software. Be sure to examine the manual -@@ -96,7 +123,7 @@ scache unix - - n +@@ -97,7 +124,7 @@ scache unix - - n # Also specify in main.cf: cyrus_destination_recipient_limit=1 # #cyrus unix - n n - - pipe @@ -100,7 +100,7 @@ # # ==================================================================== # -@@ -129,3 +156,10 @@ scache unix - - n +@@ -130,3 +157,10 @@ scache unix - - n #mailman unix - n n - - pipe # flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py # ${nexthop} ${user} ++++++ postfix-no-md5.patch ++++++ --- /var/tmp/diff_new_pack.cYT7Ex/_old 2018-11-06 15:23:57.380650452 +0100 +++ /var/tmp/diff_new_pack.cYT7Ex/_new 2018-11-06 15:23:57.380650452 +0100 @@ -2,7 +2,7 @@ =================================================================== --- src/global/mail_params.h.orig +++ src/global/mail_params.h -@@ -1338,7 +1338,7 @@ extern char *var_smtpd_tls_excl_ciph; +@@ -1349,7 +1349,7 @@ extern char *var_smtpd_tls_excl_ciph; extern char *var_smtpd_tls_mand_excl; #define VAR_SMTPD_TLS_FPT_DGST "smtpd_tls_fingerprint_digest" @@ -11,7 +11,7 @@ extern char *var_smtpd_tls_fpt_dgst; #define VAR_SMTPD_TLS_512_FILE "smtpd_tls_dh512_param_file" -@@ -1497,9 +1497,9 @@ extern char *var_smtp_tls_excl_ciph; +@@ -1508,9 +1508,9 @@ extern char *var_smtp_tls_excl_ciph; extern char *var_smtp_tls_mand_excl; #define VAR_SMTP_TLS_FPT_DGST "smtp_tls_fingerprint_digest" ++++++ postfix-vda-v14-3.0.3.patch ++++++ --- /var/tmp/diff_new_pack.cYT7Ex/_old 2018-11-06 15:23:57.408650411 +0100 +++ /var/tmp/diff_new_pack.cYT7Ex/_new 2018-11-06 15:23:57.408650411 +0100 @@ -19,7 +19,7 @@ =================================================================== --- src/global/mail_params.h.orig +++ src/global/mail_params.h -@@ -2487,6 +2487,54 @@ extern char *var_virt_uid_maps; +@@ -2538,6 +2538,54 @@ extern char *var_virt_uid_maps; #define DEF_VIRT_GID_MAPS "" extern char *var_virt_gid_maps; @@ -95,7 +95,7 @@ =================================================================== --- src/virtual/mailbox.c.orig +++ src/virtual/mailbox.c -@@ -52,6 +52,7 @@ +@@ -57,6 +57,7 @@ #include <mymalloc.h> #include <stringops.h> #include <set_eugid.h> @@ -103,7 +103,7 @@ /* Global library. */ -@@ -70,6 +71,70 @@ +@@ -75,6 +76,70 @@ #define YES 1 #define NO 0 @@ -174,7 +174,7 @@ /* deliver_mailbox_file - deliver to recipient mailbox */ static int deliver_mailbox_file(LOCAL_STATE state, USER_ATTR usr_attr) -@@ -214,62 +279,72 @@ int deliver_mailbox(LOCAL_STATE stat +@@ -219,62 +284,72 @@ int deliver_mailbox(LOCAL_STATE stat * Look up the mailbox owner rights. Defer in case of trouble. */ uid_res = mail_addr_find(virtual_uid_maps, state.msg_attr.user, @@ -1274,7 +1274,7 @@ =================================================================== --- src/virtual/virtual.c.orig +++ src/virtual/virtual.c -@@ -347,12 +347,28 @@ char *var_mail_spool_dir; /* XXX depe +@@ -357,12 +357,28 @@ char *var_mail_spool_dir; /* XXX depe bool var_strict_mbox_owner; char *var_virt_dsn_filter; @@ -1303,7 +1303,7 @@ /* * Bit masks. -@@ -462,18 +478,27 @@ static void post_init(char *unused_name, +@@ -472,18 +488,27 @@ static void post_init(char *unused_name, */ virtual_mailbox_maps = maps_create(VAR_VIRT_MAILBOX_MAPS, var_virt_mailbox_maps, @@ -1337,7 +1337,7 @@ virtual_mbox_lock_mask = mbox_lock_mask(var_virt_mailbox_lock); } -@@ -525,11 +550,23 @@ int main(int argc, char **argv) +@@ -535,11 +560,23 @@ int main(int argc, char **argv) VAR_VIRT_GID_MAPS, DEF_VIRT_GID_MAPS, &var_virt_gid_maps, 0, 0, VAR_VIRT_MAILBOX_BASE, DEF_VIRT_MAILBOX_BASE, &var_virt_mailbox_base, 1, 0, VAR_VIRT_MAILBOX_LOCK, DEF_VIRT_MAILBOX_LOCK, &var_virt_mailbox_lock, 1, 0, @@ -1361,7 +1361,7 @@ 0, }; -@@ -546,6 +583,7 @@ int main(int argc, char **argv) +@@ -556,6 +593,7 @@ int main(int argc, char **argv) CA_MAIL_SERVER_PRE_INIT(pre_init), CA_MAIL_SERVER_POST_INIT(post_init), CA_MAIL_SERVER_PRE_ACCEPT(pre_accept),