Topic: The problem with the Email Forwarding
==== Required information ====
- iRedMail version (check /etc/iredmail-release): iRedMail-0.9.6 MARIADB edition
- Linux/BSD distribution name and version: CentOS Linux release 7.3.1611 (Core)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL - Mariadb-server 5.5.52
- Web server (Apache or Nginx): Nginx 1.10.2
- Manage mail accounts with iRedAdmin-Pro? Yes. iRedAdmin-Pro-SQL-2.6.0
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi,
I have a problem with email forwarding:
user1@domain1 send mail to user2@MYDOMAIN;
this email must be redirected to user3@domain1
user1 and user3 have accounts in one domain.
The mail was not redirected. The sender receives an answer from MAILER-DAEMON@MYDOMAIN:
«This is the mail system at host MYDOMAIN.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<user3@domain1>: host domain1[ip-address] said: 530 5.7.1
Authentication required for <user1@domain1> (in reply to MAIL FROM command)»
I'm trying to enable e-mail forwarding
1) through the admin panel iRedAdmin-Pro;
2) through the user interface Roundcube Webmail 1.2.4
3) through the SQL-server. I did this as described in http://www.iredmail.org/forum/topic2102 … ow-to.html
But I haven’t "username" in table "vmail.alias". I used
mysql> UPDATE alias SET goto='user3@domain1' WHERE address='user2@MYDOMAIN';
mysql> UPDATE alias SET active='1' WHERE address='user2@MYDOMAIN';
Is it correct?
Nevertheless, the result was the same: the mail with error from MAILER-DAEMON@MYDOMAIN
Tottally, forwarding
user1@domain1 -> user2@mydomain -> user3@domain3 is worked
user1@domain1 -> user2@mydomain -> user3@domain1 doesn't worked
Please, tell me, this is a software error, or I do something wrong?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.