During the postfix installation and configuration, I was presented with a few options on how to send and receive email. I might have chosen the wrong option. How do I go back to that configuration screen to change my option?
During the postfix installation and configuration, I was presented with a few options on how to send and receive email. I might have chosen the wrong option. How do I go back to that configuration screen to change my option?
The comment by derchris above is the actual answer to the original question. I know it's been years since this was asked, but neither of the answers were actually specific to the original question.
So to be clear, to get back to the configuration screen for postfix installation do:
The
dpkg-reconfigure
command is useful for other packages that have configuration screens during the startup process as well.The postfix configuration is stored in /etc/postfix/main.cf and /etc/postfix/master.cf. You can change the options there and restart postfix. If you are going to be running a postfix server, you will want to become at least a little familiar with these two files (especially main.cf). The options are well documented at postfix.org.
As a tip, something I like to do is make a backup of main.cf then go through and delete everything that is commented out. That way I have less crap to sort through when I need to modify it and it makes it a little less overwhelming.
After adjusting configuration as Alex describes use:
(As malcom commented above) To verify that the configuration file is reasonably correct and list all configurations actually applied, then:
To verify again that the configuration file is reasonably correct and create any necessary directories. Then use:
To apply the updated configuration.