I've searched the forum, found a couple of tutorials on how to build a mail server but none of them work for me. I might be doing something wrong so I want to find out what.
Ubuntu Server 8.04 with two NICs:
WAN interface IP 126.96.36.199 (connected to my VDSL modem, this IP is visible to the outside world with the domain name fejker.net)
LAN interface IP 192.168.0.1 (connected to my WiFi access point providing internet access through the WAN interface for clients)
On the same box I have DHCP configured, Apache with PHP+MySQL, Samba is OK, FTP is OK, SSH works, so that part of the setup is OK.
I have some questions about the hosts and hostname files.
My /etc/hosts file:
My /etchostname file:
127.0.0.1 localhost localhost
192.168.0.1 mail.fejker.net fejker-server
Domain is setup like this:
fejker.net (G) A 188.8.131.52
fejker.net (G) MX 10:mail.fejker.net
ftp.fejker.net (G) A 184.108.40.206
irc.fejker.net (G) A 220.127.116.11
mail.fejker.net (G) A 18.104.22.168
www.fejker.net (G) A 22.214.171.124
I don't understand completely how I should set this things up so please clarify a couple of things for me. I just switched from Windows Server 2003 to Linux and setting up a mail server under Windows was easy as pie.