6 lines
160 B
Bash
Executable file
6 lines
160 B
Bash
Executable file
#!/bin/sh
|
|
docker-compose exec postfix sh -c "
|
|
chown root:root /etc/postfix/virtual;
|
|
postmap /etc/postfix/virtual;
|
|
chown $(id -u):$(id -g) /etc/postfix/virtual"
|