Postfix Rewrite

  • Posted October 4, 2013

I moved a site from a webhosting provider realizing I could get full server access here for less $$$!!! I moved over most of my mail but have aliases over there also…

My email address there is and my email account on my droplet is

As a test, I am trying to get emails to to go to my inbox at

How can I do this? I tried editing /etc/postfix/aliases (and running newaliases), /etc/postfix/generic, and /etc/postfix/virtual


Submit an 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.

I have Dovecot, I could consider doing it there, but if Postfix doesn’t do this, when why are those files there?

<b>“As a test, I am trying to get emails to to go to my inbox at”</b> <br> <br>I’m no expert, but doesn’t Postfix <b>send</b> as opposed to receive & route mail to the appropriate mailbox? You should probably be looking at either <code>Cyrus</code> or <code>Dovecot</code>, instead.

Yes it does, but I already got my emails transferred using IMAP.

What email client were you using? <br> <br>Does provide POP access?

Not that I am aware of, I added both both the source and destination IMAP accounts in my client and dragged my folders/messages over while holding CTRL (Otherwise I think it would default to move) to copy them to the other server and so my messages are there but the aliases were set using their control panel, so I need to figure out how to do the same thing in Postfix.

Does your email client have an export feature?