:-) >> 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"? > > If you say "I'm serving only the following virtual domains; ignore > those entries in virtual_alias_maps that don't match it", then that > is exactly what the "domains" feature in ldap_table(5) does.
Well. But it is a solution at the postfix driver level. An LDAP driver filter. There can be a large set of virtual_alias_maps sources at the same time: LDAP, mysql, numerous files, etc. What I'm searching for is a switch which disables / enables some addresses for all of those sources at once. My desired solution would be a postfix (that is: driver independent) variable storing a list of domains. If the @... part of an address matches it, then virtual_alias_maps are checked for the address. If not - virtual_alias_maps are all ignored. > If that is now what you want, then you need to be more precise. > > People often don't say what they want, so I will take the liberty > to assume that you want the following solution. Sorry. Thank for you help, anyway. Best regards, Marek