Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package postfix for openSUSE:Factory checked in at 2024-05-20 18:09:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/postfix (Old) and /work/SRC/openSUSE:Factory/.postfix.new.1880 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "postfix" Mon May 20 18:09:43 2024 rev:239 rq:1174920 version:3.9.0 Changes: -------- --- /work/SRC/openSUSE:Factory/postfix/postfix-bdb.changes 2024-05-16 17:12:51.886897723 +0200 +++ /work/SRC/openSUSE:Factory/.postfix.new.1880/postfix-bdb.changes 2024-05-20 18:09:56.986677660 +0200 @@ -1,0 +2,9 @@ +Fri May 17 11:42:53 UTC 2024 - Peter Varkoly <vark...@suse.com> + +- config.postfix needs updating (bsc#1224207) + * chkconfig -> systemctl + * Link Cyrus lmtp only if this exsists + * /usr/lib64/sasl2 does not need to exist + * Fetch timezone via readlink from /etc/localtime + +------------------------------------------------------------------- postfix.changes: same change ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ postfix.spec: same change ++++++ 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 2024-03-08 13:22:11.000000000 +0100 +++ new/postfix-SUSE/config.postfix 2024-05-17 17:48:57.723860941 +0200 @@ -260,12 +260,13 @@ # SASL cpifnewer /etc/sasldb2 etc cpifnewer "/etc/sasl2/*" etc/sasl2 - cpifnewer "/usr/@lib@/sasl2/*" usr/@lib@/sasl2 cpifnewer "/usr/@lib@/libsasl2*" usr/@lib@ # CYRUS - mkdir -p var/lib/imap/socket/ - ln -f /var/lib/imap/socket/lmtp var/lib/imap/socket/lmtp + if [ -e /var/lib/imap/socket/lmtp ]; then + mkdir -p var/lib/imap/socket/ + ln -f /var/lib/imap/socket/lmtp var/lib/imap/socket/lmtp + fi cpifnewer "/@lib@/libnss*" @lib@ cpifnewer "/@lib@/libresolv*" @lib@ @@ -279,21 +280,10 @@ cpifnewer /etc/hosts etc cpifnewer /etc/passwd etc + # Timezone + if [ -L /etc/localtime ]; then - if [ -z "$TIMEZONE" -o "$TIMEZONE" == "YAST_ASK" ]; then - warn_user "\tUnable to setup your timezone!\n\ -\tThe logging of the current time in /var/log/mail may be wrong!\n\ -\tPlease set the variable TIMEZONE in /etc/sysconfig/clock!" - else - mkdir -p usr/share/zoneinfo/$(dirname $TIMEZONE) - if [ ! -e /usr/share/zoneinfo/$TIMEZONE ]; then - warn_user "\t$TIMEZONE is not a regular timezone or the corresponding\n\ -\tfile at /usr/share/zoneinfo does not exist" - else - cp -af /usr/share/zoneinfo/$TIMEZONE usr/share/zoneinfo/$TIMEZONE - ln -sf ../usr/share/zoneinfo/$TIMEZONE etc/localtime - fi - fi + ln -f $(readlink /etc/localtime) etc/localtime else cpifnewer /etc/localtime etc fi @@ -377,7 +367,7 @@ $PCONF -e "inet_interfaces = all" fi else - $PCONF -e "inet_interfaces = localhost" + $PCONF -e "inet_interfaces = loopback-only" fi test -n "$POSTFIX_MASQUERADE_DOMAIN" && \ MASQ_DOMS=$POSTFIX_MASQUERADE_DOMAIN @@ -1494,7 +1484,7 @@ test -s $r/etc/sysconfig/amavis && . $r/etc/sysconfig/amavis if [ "$USE_AMAVIS" = "yes" ]; then gen_amavisd_cf - chkconfig amavis on + systemctl enable amavis fi fi