add main transport to postfix on install
This commit is contained in:
parent
4a08a3b383
commit
79428eb185
3
Makefile
3
Makefile
|
@ -27,6 +27,9 @@ menu:
|
|||
stow -t "/etc" menu
|
||||
|
||||
postfix:
|
||||
if ! grep -q 'transport_maps' "/etc/postfix/main.cf"; then \
|
||||
printf "transport_maps = hash:/etc/postfix/transport" >> "/etc/postfix/main.cf"; \
|
||||
fi
|
||||
stow -t "/etc/postfix" postfix
|
||||
sudo chown root /etc/postfix/transport
|
||||
postmap /etc/postfix/transport
|
||||
|
|
Loading…
Reference in New Issue