I have a mail server with Postifx (and dovecot) setup, on which there is an alias address (say alias@example.com) which forwards mail to my main email (myname@gmail.com). This works fine, and all mail I send to alias@example.com gets sent to myname@gmail.com

However, when I reply to an email sent to alias@example.com (using the gmail web interface), to the recipient, it looks like the mail came from myname@gmail.com (or more specifically, the user of myname@gmail.com, eg. Joe Bloggs).

Is there a way to make the email look like it came from alias@example.com, or even just a custom name (such as Alias) rather than coming from Joe Bloggs < myname@gmail.com >?


In the Accounts and Import tab of GMail settings, you can add your myname@gmail.com address as another email address that you own. You can then configure Gmail to let you send messages with this email address listed as the sender instead of your GMail address. You can choose which address to use when composing a new message by click the From link.

For full details, see the GMail help article, Send mail from a different address or alias.

The following answers to questions on Web Applications are also relevant:

  • Thanks for this. Do other email providers (outlook, icloud, etc.) support something similar to this? – user2370460 Jul 6 '15 at 12:36
  • How can I have an aliased user authenticating with the SMTP server? – user2370460 Jul 7 '15 at 14:08
  • @user2370460 I answered your question (as you worded it) yesterday after spending more a lot more time than I intended to. Asking about authenticating GMail with SMTP servers is shifting the goalposts (though I actually came back to my answer later yesterday afternoon and edited it to include a SE link which shows how). – Anthony Geoghegan Jul 7 '15 at 16:41