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 Sep 24, 2026 · 612 views · 1 min read

Forward emails from your server to an external address.

Using /etc/aliases

Edit /etc/aliases:

root: [email protected]\nwebmaster: [email protected]

Apply changes:

newaliases

User-Level Forwarding

Create ~/.forward:

[email protected]

All mail for that user will be forwarded.

Keep a Copy Locally

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

\localuser, [email protected]

Was this article helpful?