Topic: Receiving emails on iRedMail from another server with noreply address
==== Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Debian 7 x64
- Related log if you're reporting an issue:
====
Hi all,
I have a problem with my iRedMail installation & the use of an external server.
I have iRedMail installed on mx.mydomain.com.
I have a dedicated server (web) on mydomain.com.
I have added the IP of my dedicated server to the mynetwork parameter of Postfix.
I wanted to send an email from my dedicated server (in PHP) using the "noreply@mydomain.com" sender, to for example "user@mydomain.com".
When my dedicated server send the email, my iRedMail rejects it because the the mailbox "noreply" doesn't exist :
Dec 31 15:14:13 mx1 postfix/smtpd[3815]: NOQUEUE: reject: RCPT from mydomain.com[X.X.X.X]: 550 5.1.0 <noreply@mydomain.com>: Sender address rejected: User unknown in virtual mailbox table; from=<noreply@mydomain.com> to=<user@mydomain.com> proto=ESMTP helo=<mydomain.com>
I can fix the issue by creating this account on iRedMail, but then users sending emails to noreply@mydomain.com will not receive delivery errors, and emails sent on this account will take some disk space with the time.
How can I deal with that?
Romain
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.