How do I set up Postfix to forward all emails from my domain to my main email address?

April 20, 2015 3.8k views
Email Getting Started DNS

I’m new to setting up mail servers. I was using my current domain on another host and had many email addresses set up as forwarders to my main gmail account.

I attempted to install Postfix and tried setting up forwarders like in this example
however it does not seem to be working.

Does anyone have a guide on how to set up postfix from scratch to forward and only forward?


1 Answer

nano /etc/aliases

At the bottom:

root : <youremailaddress>

Save it, then run

Have another answer? Share your knowledge.