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 = client.com):

1) I need all mail sent to client@client.com forwarded to clent@yahoo.com

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

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.

×
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

Submit an Answer