Topic: Override mail sender in the same domain
Hello,
I followed this tutorial to override the sender of email : http://www.iredmail.org/docs/allow.cert … .user.html
It works perfectly if the user used to connect is on a different domain than the user set in from.
But if the 2 user are on the same domain, I've got error.
Connection user : contact@domain1.tld
Overrided user in from : test@domain2.tld
(2 different user on 2 different domains, domain2.tld is not manage by iredmail)
It works, but :
Connection user : contact@domain1.tld
Overrided user in from : noreply@domain1.tld
(2 different user on the same domain managed by iredmail)
It fail with the following error :
postfix/smtpd[88477]: NOQUEUE: reject: RCPT from xxxx.proxad.net[aaa.aaa.aaa.aaa]: 550 5.1.0 <noreply@domain1.tld>: Sender address rejected: User unknown in virtual mailbox table; from=<noreply@domain1.tld> to=<destination@gmail.fr> proto=ESMTP helo=<[127.0.0.1]>
Maybe it is because that domain2.tld is not managed by iredmail so the override is allowed ?
What can I do ?
Thanks
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.2
- Linux/BSD distribution name and version: Debian 8
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): NGINX
- Manage mail accounts with iRedAdmin-Pro? Yes
- Related log if you're reporting an issue:
====
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.