roger's picture

Forwarding addresses to another account using vpopmail

Part 7 of Installing qmail and vpopmail.

Forwarding

Some of the email addresses on peculiar are "vanity addresses". The people concerned don't have user accounts on the box and the email is forwarded somewhere else.

This is easy to configure using valias:

# /home/vpopmail/bin/valias -i neil@somewhere.else.com aliens@differentpla.test
# /home/vpopmail/bin/valias -i bob@somewhere.else.com aliens@differentpla.test
This sets up the email address aliens@differentpla.test so that email is forwarded to neil and bob on a different server.

To check that it's set up correctly:

# /home/vpopmail/bin/valias aliens@differentpla.test
aliens@differentpla.test -> neil@somewhere.else.com
aliens@differentpla.test -> bob@somewhere.else.com

valias works by putting a .qmail-aliens file in the relevant domain directory.

Next: Installing ezmlm with vpopmail.

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <b> <br> <code> <dd> <dl> <dt> <hr> <h1> <h2> <h3> <i> <img> <li> <ol> <p> <pre> <table> <td> <th> <tr> <tt> <u> <ul>
  • Images can be added to this post.

More information about formatting options