--On Monday, December 15, 2014 11:23 PM -0500 b...@bitrate.net wrote:


for sql though, i envisioned a query that would return the same data that
would be read from the text file, a list of patterns and a matching
result for each, for postfix to iterate through.  i know this would be a
different type of query than is currently used for sql maps.

We store the "my networks" value to be used by Postfix, Amavis, and SpamAssassin in LDAP just fine. It's a single valued attribute with CIDR notation. For example:

zimbraMtaMyNetworks: 127.0.0.0/8 10.0.0.0/8 [::1]/128 [fe80::]/64

The above is trimmed down significantly, but you can get the idea. There's no reason such a thing couldn't be processed as an ordered value. If you were trying to store it in a multi-valued LDAP attribute, that would be problematic, since return order is not guaranteed.

--Quanah


--
Quanah Gibson-Mount
Platform Architect
Zimbra, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration

Reply via email to