Note: Our documentation pages are a work in progress! If you can't find the answers you need, please email us to let us know. We'll be happy to answer your questions.

Search documentation


Purelymail is extremely flexible with where you can deliver your incoming mail.

Routing rules #

When mail is delivered to your users or to any domain you own, routing rules can be used to redirect it. They match a specific domain and any of:

They can redirect the mail to any other email address, including ones outside of your account.

To create a routing rule, see the routing page in the account management portal.

Sieve filters #

A user's filters trigger when a message enters their inbox. They can be used to send the mail to a specific folder, give it a flag, reject it, or even redirect it based on logic that can inspect the message itself. You can see available filter options and configure them from webmail, under filters.

Account sieve filters #

Account filters use the same Sieve language that webmail filters use internally, and apply to any mail that enters your account, like a routing rule. Currently there is no graphical editor for them, but you can edit them from the Routing rules page in the account management portal.

How do these rules combine? #

Rules apply recursively until the address they're directed to no longer changes. For example, if you have a routing rule that redirects "A@yourdomain.com" to "B@yourdomain.com", and a rule that redirects "B@yourdomain.com" to "C@yourdomain.com", then mail to "A@yourdomain.com" will be delivered to "C@yourdomain.com".

If rules form a loop, they will cut off after a number of redirects.

In short, follow the below steps, restarting at 1 every time the recipient changes.

  1. Mail is received with an address that your account owns, either the full username or the custom domain.
  2. Routing Rules are applied
  3. Account Sieve rules are applied
  4. User Sieve rules are applied
  5. Mail is delivered.

Are there any addresses that can't be routed? #

Currently, the "postmaster" and "abuse" addresses for custom domains will always redirect to service mailboxes for inspection.