Creating a new email user with `postfix` on Void
January 28, 2020
•
howto, postfix
This is possibly specific to my own super-minimal postfix setup on Void, but to add a new email user:
$ sudo adduser someone
$ sudo passwd someone
Amend /etc/postfix/virtual, as follows:
[email protected] someone
Regenerate the virtual alias table:
$ sudo /usr/sbin/postmap /etc/postfix/virtual
And finally restart postfix:
$ sudo sv restart postfix