https://bugzilla.novell.com/show_bug.cgi?id=771811
https://bugzilla.novell.com/show_bug.cgi?id=771811#c3
Leendert Meyer changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |leen.meyer@ziggo.nl
--- Comment #3 from Leendert Meyer 2012-09-28 07:36:13 UTC ---
Reopening because update_postmaps does not handle file permissions like
SuSEconfig did.
For example, sasl_passwd.db is not regenerated because it is in
POSTFIX_MAP_LIST mentioned as sasl_passwd:600 (which is a non-existing file).
The following patch fixes this:
--- /etc/postfix/system/update_postmaps.orig 2012-08-16 11:46:38.000000000
+0200
+++ /etc/postfix/system/update_postmaps 2012-09-28 08:38:28.140182963 +0200
@@ -15,11 +15,14 @@
fi
# Update the postmaps
for i in $POSTFIX_MAP_LIST; do
- m=/etc/postfix/$i;
+ p=${i#*:}
+ [ x$p = x$i ] && p=644
+ m=/etc/postfix/${i%:*};
d=$m.db
if [ -e $m -a $m -nt $d ]; then
postmap $m;
fi
+ chmod $p $d
done
for i in /etc/aliases /etc/aliases.d/*; do
m=${i/.db//}
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.