I need to be able to receive email at
brian@brianthedell.com (sending from it would be nice too, but isn't mandatory). I can send out mail using mutt (it comes as sent from
brian@hashbowl.brianthedell.com), and my Wordpress installation can send out mail. I cannot RECEIVE mail, though; I send mail to
brian@brianthedell.com (OR to
brian@hashbowl.brianthedell.com) from an independant gmail account and it just disappears into nowhere, no error messages, nothing. I'd consider using gmail on the brianthedell.com domain, but my Wordpress there needs to be able to send out email. Here's what I've been doing:
First, when I setup my Linode I installed the LAMP Stack Script, and configured it with a MySQL database for a Wordpress installation. I had to do everything funky for apache2, since I'm hosing two sites off one IP, but everything is working just fine. ANYWAY, here is my server:
hashbowl and hashbowl.brianthedell.com << mail, web, everything (I have no FTP)
This is how my DNS has been setup (brianthedell.com is pointed to the Linode nameservers):
A/AAAA Records
Host Name IP Address TTL Edit Remove
173.255.218.105 Default Edit Remove
www 173.255.218.105 Default Edit Remove
mail 173.255.218.105 Default Edit Remove
hashbowl 173.255.218.105 Default Edit Remove
MX Records
Mail Server Preference Subdomain TTL Edit Remove
hashbowl.brianthedell.com 10 Default Edit Remove
Next, I followed this:
Basic Postfix Email Gateway on Ubuntu 10.04 (Lucid)
found at
http://library.linode.com/email/postfix ... 0.04-lucid
Now, I didn't install Postfix as per the instructions here; Postfix was already installed *and configured* as part of the LAMP stack; I wonder if this is the source of my troubles?
My /etc/postfix/main.cf includes these entries, as per the directions:
myhostname = hashbowl
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = localhost, li228-105.members.linode.com, localhost.members.linode.com, localhost
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = loopback-only
virtual_alias_maps = hash:/etc/postfix/virtual
home_mailbox = mail/
At this point the directions ask to reload and restart Postfix, which I did. In fact, I've since rebooted my machine, but anyway. Here is my /etc/postfix/virtual:
brian@brianthedell.com brian.thedell@gmail.com, brian
brian@hashbowl.brianthedell.com brian
The file virtual HAS been mapped into a virtual.db file. Finally, ~/mail was added to my /etc/skel and all my users (currently only root and brian) have /mail directories in their home directories. Any kind soul willing to point out what I'm doing wrong?