Question

How should I go about setting up wildcard aliases *@mydomains.com to forward to me@gmail.com?

  • Posted February 8, 2015

I don’t care to have inboxes or the ability to send “from” my domains. I do however want the server to be able to send emails such as when Cron runs and Drupal sends a notice of security updates.

As for my email, all I want is for *@mydomains.com to forward to me@gmail.com and I will read and respond from me@gmail.com.

I’m very new to VPS, what should I be looking at to make this happen?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

You can configure cron to send emails/notifications to your @gmail.com email address instead of the system’s root user. Run crontab -e and add the following line before any cronjobs:

MAILTO="you@gmail.com"

As for Drupal, browse to Administration > Reports > Available Updates and enter your email address there.

You might have to install an MTA (mail transfer agent) on your droplet in order to be able to send emails, see How To Install and Configure Postfix as a Send-Only SMTP Server on Ubuntu 14.04.