On 3/9/2011 10:10 μμ, Noel Jones wrote:
Yes, although you may want to use relay: rather than smtp: as the transport name. The different name allows postfix to more efficiently schedule delivery for those domains, and allows you to use different relay delivery settings if needed. -- Noel Jones
Thanks for the valuable info. One more bit. If we use: relay_recipient_maps =(that is, empty) then *all* recipients for the hosted domains (those listed in relay_domains) are accepted/forwarded?
Is there a way we can configure the gateway server to ask the final delivery server (as defined in /etc/postfix/transport) whether the user is valid and decide to allow or reject the mail transfer? In this way we don't have to maintain a list of recipients.
Alternatively, we can use ldap-based checking (because our users are LDAP-hosted), but what about their aliases (which are also LDAP-based)? On the main destination server we use: virtual_mailbox_maps and virtual_alias_maps with ldap-based definitions. Can/should we use those for relay_recipient_maps? An additional problem is that on the mail servers of some subdomains the users are not LDAP-hosted but standard local unix users. Asking directly the destination server for recipient validation would solve all these problems.
Thanks again for your Saturday night kind assistance, :-) Nick
smime.p7s
Description: S/MIME Cryptographic Signature