Basic mail question(s) for - Forwarding

July 7, 2015 687 views
Email PHP Ubuntu

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!

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

Have another answer? Share your knowledge.