1

Topic: Use different relayhost for selected domain

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version: 1.8.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: CentOS 6
- Related log if you're reporting an issue:
====

All outgoing email on the server is relayed through a smart host (GoDaddy requirement) but I want email originating from a single domain to be sent through Amazon SES instead. Is there any support topic or manual that could put me in the right direction?

What I have right now in main.cf is

relayhost = [n1smtpout.europe.secureserver.net]

----

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

2

Re: Use different relayhost for selected domain

I guess you need sender dependent relayhost:
http://www.postfix.org/postconf.5.html# … yhost_maps

3

Re: Use different relayhost for selected domain

ZhangHuangbin wrote:

I guess you need sender dependent relayhost:
http://www.postfix.org/postconf.5.html# … yhost_maps

that did put me in the right direction... and I figured it out, it's working now!  thanks.. again wink