Basic mail question(s) for - Forwarding

Posted July 7, 2015 2.6k views

I have the latest Ubuntu LTS droplet. It has the basic LAMP components. For a client I need to do the following two things (let’s assume the FQDN =

1) I need all mail sent to forwarded to

2) I have a few simple php form to email scripts. Standard stuff. I need the form input upon submission to be sent to

I was hopping I could do this with just postfix, can I or do I have to use sendmail?

Thanks for any help!

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.

Submit an Answer
2 answers

Welcome to DigitalOcean.

You can do this with Postfix. This is a really good Tutorial Linode - Email with Postfix, Dovecot and MySQL.

You need to create a virtual_aliases Email.

I know this is not from DigitalOcean and mabye somebody would kill me for this ;-).

PS: If it works show me some love and click the hearth