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?

1 Answer 1


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 = [email protected]

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .