How do I write a Bash script to install and configure Postfix (for Debian or Ubuntu).
This is how I install Postfix:
sudo apt-get install postfix
Then I re-configure it:
sudo dpkg-reconfigure postfix
How do I make a script which automatically answers the questions of the reconfiguration with a predefined set of answers? Or is there any other way to do it?