forked from pool/postfix
9feb64fd6d
command and changing modify-time of /etc/sysconfig/postfix? o Remove miss placed fillup_only call from %verifyscript - Remove Berkeley DB dependency (JIRA#SLE-12191) The pacakges postfix is build without Berkely DB support. lmdb will be used instead of BDB. The pacakges postfix-bdb is build with Berkely DB support. o add patch for main.cf for postfix-bdb package postfix-bdb-main.cf.patch - bsc#1176650 L3: What is regularly triggering the "fillup" command and changing modify-time of /etc/sysconfig/postfix? o Remove miss placed fillup_only call from %verifyscript - Remove Berkeley DB dependency (JIRA#SLE-12191) The pacakges postfix is build without Berkely DB support. lmdb will be used instead of BDB. The pacakges postfix-bdb is build with Berkely DB support. o add patch for main.cf for postfix-bdb package postfix-bdb-main.cf.patch - Update to 3.5.8 * The Postfix SMTP client inserted <CR><LF> into message headers longer than $line_length_limit (default: 2048), causing all subsequent header content to become message body content. * The postscreen daemon did not save a copy of the postscreen_dnsbl_reply_map lookup result. This has no effect when the recommended texthash: look table is used, but it could result in stale data with other lookup tables. OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=393
19 lines
421 B
Bash
19 lines
421 B
Bash
#!/bin/bash
|
|
sed -i 's/hash:/lmdb:/g' /etc/postfix/main.cf
|
|
for i in $( find /etc/postfix/ -name "*.db" )
|
|
do
|
|
j=$( echo $i | sed 's/.db$//' )
|
|
postmap $j
|
|
mv $i $i-back
|
|
done
|
|
for i in $( find /etc/aliases.d/ -name "*.db" )
|
|
do
|
|
j=$( echo $i | sed 's/.db$//' )
|
|
postalias $j
|
|
mv $i $i-back
|
|
done
|
|
if [ -e /etc/aliases.db ]; then
|
|
mv /etc/aliases.db /etc/aliases.db-back
|
|
postalias /etc/aliases
|
|
fi
|