I'm running a VPS to host my client's websites. They have very limited email needs (basically they just want an info@clientdomain.com address that forwards to their gmail account). I have tried to set up exim4 (on ubuntu 16.04) to do this, but I just get 550 Unrouteable address
.
Exim is currently sending mail fine. But my /etc/aliases file makes no difference:
postmaster: root
www-data: root
root: MYUSER@gmail.com
repairs@example-client1.co.uk: example-client1@gmail.com
andrea@example-client2.com: example-client2@gmail.com
me@MYDOMAIN.com: MYSUER@gmail.com
I ran dpkg-reconfigure exim4
and told it the domains I want to accept:
dc_eximconfig_configtype='internet'
dc_other_hostnames='#######.com; ######.com; ####.com;#####.co.uk;'
dc_local_interfaces=''
dc_readhost=''
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost=''
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname=''
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'
I find exim's configuration confusing, and the documentation doesn't seem to help. I'd like to configure exim the "ubuntu way", so that future system updates don't break my setup.
I appreciate any help you can offer.