Recently I switched from shared web hosting to DigitalOcean VPS where I have Debian GNU/Linux 8 (jessie) running. In the web hosting I had the option to forward all emails (*@domain.com -- anything as an alias) to be forwarded to my Gmail address.

I have read a few articles on how to accomplish this with Exim, but some of them seem outdated and I am still kinda lost. How can I accomplish this?


Add this router to your /etc/exim4/exim4.conf.template file (assuming non-split config), before the lowuid_aliases router (assuming you really want such a spam-magnet):

    driver = redirect
    domains = +local_domains
    data = you@gmail.com
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.