blog: postfix: use `#` to indicate command is run by root
This commit is contained in:
parent
3ed127ff10
commit
5f80d3b458
|
@ -26,10 +26,10 @@ start by creating the rootfs and launching it as a container. this assumes the h
|
|||
is running Arch:
|
||||
|
||||
```sh
|
||||
[root@host /]$ pacman -S arch-install-scripts
|
||||
[root@host /]$ mkdir /opt/postfix
|
||||
[root@host /]$ pacstrap -c /opt/postfix base postfix openbsd-netcat opendkim perl
|
||||
[root@host /]$ systemd-nspawn -D /opt/postfix
|
||||
[root@host /]# pacman -S arch-install-scripts
|
||||
[root@host /]# mkdir /opt/postfix
|
||||
[root@host /]# pacstrap -c /opt/postfix base postfix openbsd-netcat opendkim perl
|
||||
[root@host /]# systemd-nspawn -D /opt/postfix
|
||||
># passwd # choose a [temporary] password you can remember for the rest of setup
|
||||
># exit
|
||||
```
|
||||
|
@ -168,7 +168,7 @@ generate the keys (run this as the `vmail` user):
|
|||
```
|
||||
|
||||
start the service:
|
||||
```
|
||||
```sh
|
||||
[root@postfix /]# systemctl start opendkim && systemctl enable opendkim
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue