Exim4 Disable local delivery

eximlocal

I'm running exim4 as my MTA and it works great to send emails to outside emails other than my hostname.

When I send an email to my gmail via command line (sendmail forgedtuts@gmail.com, etc…) it works fine.

When I send an email to my website's domain, which is also the hostname for the server, i'm assuming it just does local delivery… which won't work because my email is received by another server (Google Apps).

So how do I disable local delivery in Exim4? dpkg-reconfigure exim4-config did not give any real results.

Best Answer

Run dpkg-reconfigure exim4-config, select mail sent by smarthost; no local mail and fill out the asked information.

Related Topic