postfix: tweak {pre,post}-install scripts
This commit is contained in:
parent
87af61cdf5
commit
4a8e75d95e
@ -20,4 +20,7 @@ cd /usr/lib/postfix
|
||||
create-missing
|
||||
|
||||
/usr/sbin/postalias /etc/postfix/aliases
|
||||
/usr/sbin/postmap hash:/etc/postfix/{virtual,relocated,access,transport}
|
||||
|
||||
for hashfile in virtual relocated access transport; do
|
||||
/usr/sbin/postmap hash:/etc/postfix/"$hashfile"
|
||||
done
|
||||
|
@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
/usr/sbin/groupadd postdrop
|
||||
getent group postdrop || /usr/sbin/groupadd postdrop
|
||||
|
Loading…
x
Reference in New Issue
Block a user