How to Forward Email To Another Email Account Postfix in Linux

Step 1: Modify /etc/postfix/ File

# vi /etc/postfix/
virtual_alias_domains = 
virtual_alias_maps = hash:/etc/postfix/virtual

Step 2: Configure /etc/postfix/virtual File

Forward email sent to to We can also implement a catch-all address i.e. email sent to should be forwarded to

# vi /etc/postfix/virtual

Step 3: Execute postmap Command

Create the hashed file (.db) using postmap command.

# postmap /etc/postfix/virtual

Step 4: Reload postfix

Now reload the postfix service:

# service postfix reload