On 11/3/2016 1:12 PM, Stephen Ingram wrote:
> I found a way to test the expansion of normal .db maps:
> 
> postmap -q testuser 'postconf -h virtual_alias_maps'
> 
> however, it doesn't seem to work with LDAP maps. Is there a way to
> test those as well?
> 
> Steve


Yes, it works with LDAP maps.  What kind of error are you getting?

Make sure to use the ` back-tick character. Your above example shows
' single quotes; not the same!

If your virtual_alias_maps entry contains some kind of $redirection, eg.
virtual_alias_maps = $maptype:$mapdir/virtual.cf
you'll have to expand the $stuff by hand.



  -- Noel Jones

Reply via email to