- Make sure the security group is allowing through any ports you need for SMTP & IMAP. Also open port 10000 for Webmin.
- You'll want to give it an Elastic IP address so it doesn't wander aimlessly round the IPv4 address space.
-
sudo apt-get install ntp ntpdate dkms htop- optional: these are just my favourite things -
sudo pico /etc/apt/sources.listand add at the end:## Manually added # Webmin deb http://download.webmin.com/download/repository sarge contrib deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib -
wget http://www.webmin.com/jcameron-key.asc -
sudo apt-key add jcameron-key.asc -
sudo apt-get update -
sudo apt-get install webmin -
sudo passwd ubuntuso you can log into Webmin -
Go to
https://ec2-12-34-56-78.compute-1.amazonaws.com:10000/(use your own instance of course)
-
We'll install Postfix through Webmin so Webmin moves it into the Servers menu properly.
-
Un-used modules|Postfix Mail Server|click here -
Command prompt again
-
sudo apt-get install postfix-pcre -
cd /etc/postfix -
sudo pico vdomainsand add the line/((\w[\w\-]*)\.)+xenap\.to/ OK -
sudo pico valiasand add the line/@((\w[\w\-]*)\.)+xenap\.to/ [email protected] -
sudo postmap valias -
sudo pico /etc/postfix/main.cfand add the following at the end:virtual_alias_domains = pcre:/etc/postfix/vdomains virtual_alias_maps = pcre:/etc/postfix/valias -
sudo service postfix restart
404 on https://webmin-theme-stressfree.googlecode.com/files/theme-stressfree-2.10.tar.gz