On 09/30/2014 02:47 PM, Wietse Venema wrote: > Marek Kozlowski: >> So the question is: can I "ignore" virtual map entries with domain names >> not present in some list if I cannot edit the virtual_alias_maps source? > > See "man 5 ldap", and look for the domains parameter. This will > cause the LDAP client to ignore queries for domains not matching > the specified list, as well as lookups with the documented partial > address forms "user" and "@domain".
Yes, I know. As I wrote in one of the previous mails: "Well, yes. I can define a more precise LDAP filter in `/etc/postfix/ldap-aliases.cf'. However: a way for disabling local delivery and forcing remote one even if the address is present in virtual_alias_maps would be a better (perfect) solution for me..." So: yes, I can deal with it. One again the question: Can I do it at postfix (not postfix driver) level? Is there any postfix option which says: "I'm serving only the following virtual domains; ignore those entries in virtual_alias_maps that don't match it"? Best regards, Marek