1

Topic: mysql forwarding to email with subdomain

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

Hi!

I want to forward an emails to an address that has a subdomain, and when following the instructions here https://docs.iredmail.org/sql.user.mail.forwarding.html

What do i set for the destination domain - everything after the @ or just the tld?

For example,

USE vmail;
INSERT INTO forwardings (address,
                         forwarding,
                         domain,
                         dest_domain,
                         is_forwarding,
                         active)
                 VALUES ('forward@domain.com',
                         'abc@subdomain.destination.com',
                         'domain.com',
                         '*********',
                         1,
                         1);

Should those stars in the values be 'destination.com' or 'subdomain.desination.com' ?

Thanks very much!

----

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

2

Re: mysql forwarding to email with subdomain

subdomain.desination.com