Skip to content

Instantly share code, notes, and snippets.

@RELATO
Created October 25, 2015 21:52
Show Gist options
  • Select an option

  • Save RELATO/0a8f8873063926b69833 to your computer and use it in GitHub Desktop.

Select an option

Save RELATO/0a8f8873063926b69833 to your computer and use it in GitHub Desktop.
iRedMail - How to forward mail to another account
Re: [SOLVED] Email forwarding with iRedMail - How to?
- For MySQL backend, you can create new record in table "vmail.alias". for example:
mysql> UPDATE alias SET goto='user@external.com,another@external.com' WHERE username='user@your_domain.com';
- For OpenLDAP backend, you can add attribute "mailForwardingAddress" in user object. For example:
dn: mail=user@your_domain.com,ou=Users,domainName=your_domain.com,o=domains,dc=xxx,dc=xxx
mail: user@your_domain.com
mailForwardingAddress: user@external.com
mailForwardingAddress: another@external.com
enabledService: forward
...
- Another way is creating a mail filter rule in webmail (Settings -> Filter), forwarding all mails to external addresses.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment