1

Topic: Simple mail forwarding

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Linux/BSD distribution name and version: Debian 8
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache2
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

I simply need to forward an email address to another email address in the same domain.  I've looked a couple different instructions how to do this in MySQL but I'm getting errors.

I see that some show vmail.alias and some just show alias
I see that some show username and some show ADDRESS.

I assume these are due to different versions of MySQL??

If I use this:

mysql> UPDATE vmail.alias SET goto='receiver@domain.com’ WHERE address ='sender@domain.com’;

I get Unknown column 'goto' in 'field list'

What am I doing wrong?

----

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

2

Re: Simple mail forwarding

Doc here:
https://docs.iredmail.org/sql.create.mail.alias.html