Re: ldap_domain

(no email)
Date: Tue Oct 01 2002 - 15:30:30 EDT


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  with content
(not subject): unsubscribe postfix-users







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD