blog: postfix: use `#` to indicate command is run by root

This commit is contained in:
Colin 2022-04-06 08:53:55 +00:00
parent 3ed127ff10
commit 5f80d3b458
1 changed files with 5 additions and 5 deletions

View File

@ -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
```