Even after changing it to %u the postmap command is not returning any value.

Regards
Priscilla

-----Original Message-----
From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] 
On Behalf Of Nikolaos Milas
Sent: Thursday, March 29, 2012 1:47 PM
To: 'Postfix users'
Subject: Re: FW: Postfix delivery to openldap users

On 29/3/2012 9:03 πμ, Priscilla V wrote:

> Postmap -q<name alone>  ldap:/etc/postfix/ldap.cf
>
> Is not giving any output.
> It returns silently.

Have you changed:

    query_filter = (mail=%s)

to:

    query_filter = (mail=%u)

as was suggested (if you are still using alias_maps)?

Ref: http://www.postfix.org/ldap_table.5.html

Alternatively, use virtual_alias_maps ***even if you don't have virtual 
domains*** (as was also suggested).

Nick

Reply via email to