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?

link|improve this question

What do you mean by "configuration screen"? Sounds like an OS tool. For example, Debian has dpkg-reconfigure, and I know it has some sort of graphical configuration for first time email setup – derchris Mar 25 '11 at 16:23
I'm actually using exim now, to launch the configuration screen after installing exim is sudo dpkg-reconfigure exim4-config. I was looking for something similar for postfix. – Thierry Lam Mar 25 '11 at 17:35
dpkg-reconfigure postfix – derchris Mar 25 '11 at 17:41
feedback

1 Answer

up vote 1 down vote accepted

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.

link|improve this answer
the "postconf" command is also helpful, especially to show parameters which are defaults, but not defined in the main.cf configuration file – malcolmpdx Mar 25 '11 at 15:17
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.