|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Victor.Duchovni_at_morganstanley.com
Date: Tue Oct 01 2002 - 14:30:30 CDT
On Tue, 1 Oct 2002, Amos Gouaux wrote:
>
> After playing around, I also realized that you can use a simple
> file that contains the various domains, though I imagine regexp
> is more efficient for a really long list.
>
> ldapsource_domain = /etc/postfix/ldap_domains.txt
>
> ldap_domains.txt:
> subdom1.example.com
> subdom2.example.com
> example.com
>
> Hmmm... perhaps either or both of these mechanisms might be
> suitable for masquerade_domains? Or maybe it's best to keep that
> sort of fanciness in canonical map.
>
masquerade_domains is not a matchlist, so none of the mechanisms work in
that case. You are running into subtle territory here, beware. The reason
that masquerade_domains is not a matchlist is that one needs to know
*which* domain matched and the matchlist interface does not return that
information. We are straying into dangerous territory away from
documentation into system internals, beware...
-- Viktor.- To unsubscribe, send mail to majordomo
postfix.org with content (not subject): unsubscribe postfix-users
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
postfix.org with content
(not subject): unsubscribe postfix-users