Docs / Email Servers / How to Set Up Email Forwarding on Linux

How to Set Up Email Forwarding on Linux

By Admin · Feb 25, 2026 · Updated Apr 23, 2026 · 520 views · 1 min read

Forward emails from your server to an external address.

Using /etc/aliases

Edit /etc/aliases:

root: admin@example.com\nwebmaster: admin@example.com

Apply changes:

newaliases

User-Level Forwarding

Create ~/.forward:

admin@example.com

All mail for that user will be forwarded.

Keep a Copy Locally

To forward AND keep a local copy, prefix with a backslash:

\localuser, admin@example.com

Was this article helpful?