Report this

What is the reason for this report?

Basic mail question(s) for - Forwarding

Posted on July 7, 2015

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!



This textbox defaults to using Markdown to format your 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.

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

Thanks, eldin!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.