Topic: Relay configuration bypass
==== 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: 0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySql
- Linux/BSD distribution name and version: Centos 6.5
- Related log if you're reporting an issue:
====
I am seeking help regarding configuring relay for specific domain and general relay for everything else. I found how to configure this in postfix but the issue is that IredMail uses MySQL tables. I need to configure transport for specific domain with no authentication and default relay to use SASL. Currently I have everything working through the relay OK using main.cf configuration
Could someone help me out or point me in the direction where I can work out how to/what to configure to create domain specific relay settings while keeping my default domain operational?
In postfix I read that:
main.cf
#relayhost = [smtp.domain.net]:587
transport_maps = hash:/etc/postfix/transport
/etc/postfix/transport
domaintodeliverdirectyto :
* smtp:[smtp.domain.net]:587
Don't forget to postmap /etc/postfix/transport
May want to use relay instead of smtp as the transport mechanisim.
But in IredMail case with the MySQL tables I am not sure how to mimic this configuration (also uncertain about providing username and password for default relay in such configuration as well).
Any help appreciated (can run as is but would love to know/understand how to make it work the multi relay way).
Thanks
Tom
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.