Topic: mtaTransport in ou=users

I've follow this FAQ (http://www.iredmail.org/forum/topic334- … ution.html), I've set mtaTransport to smtp:[relay.smtp.com] in domainName = mydomain.com, but it doesn't work, the email always deliver local for domain @mydomain.com, but when I put mtaTransport to smtp:[relay.smtp.com] in mail=user1@mydomain.com, It deliver to relay.smtp.com.

Is there another way to set all mtaTransport to smtp:[relay.smtp.com] than per user setting? Or can I make a default value to smtp:[relay.smtp.com] for mtaTransport attribut value?


Re: mtaTransport in ou=users

Check your postfix setting, 'transport_maps' in main.cf.

Default is 'transport_maps = proxy:ldap:/etc/postfix/ldap_transport_maps_user.cf, proxy:ldap:/etc/postfix/ldap_transport_maps_domain.cf'. It means per-user transport map is first, and then per-domain transport map.

It's better to post LDIF data of your domain and this user to help analytics issues.


Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee