1 (edited by tapp 2019-02-22 18:31:29)

Topic: [SOLVED] Forward email to another server in a per-user basis

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.6
- Deployed with iRedMail Easy or the downloadable installer? Downloadable installer
- Linux/BSD distribution name and version: Centos 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hello,

Would it be possible to forward email to another server in a per-user basis? That is, I would like that f.e. for user user@domain.com incoming mail could be forwarded to server W.X.Y.Z

Thanks for your attention.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: [SOLVED] Forward email to another server in a per-user basis

Yes. FYI: https://docs.iredmail.org/per-account.transport.html

3 (edited by tapp 2019-02-22 18:31:06)

Re: [SOLVED] Forward email to another server in a per-user basis

Thanks for your answer, it helped me to figure out a solution

The transport field in the mailbox table for the user record must be in the form:

smtp:[server_fqdn]

In my case I modified with the following command:

update mailbox set transport='smtp:[external_server_FQDN]' where username='user@domain.com';

Now it's working.

Thanks again.
Best regards,