Yes shell commands
You can add the one at a time to the shell.
The you can use vi /etc/postfix/main.cf to see the output.
NOTE: pay attention to this line though:
smtpd_sasl_local_domain = $myhostname
I'm not sure why but I had to add $myhostname manually. To be quite frank I don't even know if it makes a difference.