Topic: use iRedmail as relay for web server
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7 MARIADB edition.
- Linux/BSD distribution name and version: ubuntu 16,04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- 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 run iredmail to manage a handful of client domains and addresses. I also run a webserver where php sends out emails. Currently, the webserver has exim set up with dkim support etc. to send out emails directly from itself.
I'd like to transition to relaying all emails through my iredmail server, using it as a "smarthost", to simplify my management. I've tested this already, and it works ok after adding my webserver to "mynetworks", however it will only relay mail for addresses that actually exist on the system.
Is there a way to make iredmail/postfix relay all messages regardless of if the domain/address is present on the system?
Also, the messages being relayed didn't have the dkim signature appended by iredmail like other mail do sent through authenticated smtp. Can this be enabled too?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.