On Sun, Sep 13, 2009 at 03:18:52AM +0100, Gavin Hamill wrote:

> Hi all,
> 
> Postfix 2.5.5 on Debian Lenny. I'm able to do LDAP lookups (to Active
> Directory) and get the response I expect, but I don't understand why
> mail is still bouncing with 'Unknown user' after the SMTP RCPT TO is
> given the OK.

    http://www.postfix.org/aliases.5.html

    The format of the alias database input file is as follows:

       o      An alias definition has the form

                   name: value1, value2, ...

       o      Empty lines and whitespace-only lines are  ignored,
              as  are  lines whose first non-whitespace character
              is a `#'.

       o      A logical line starts with non-whitespace  text.  A
              line  that starts with whitespace continues a logi-
              cal line.

       The name is a local address (no domain part).  Use  double
       quotes  when the name contains any special characters such
       as whitespace, `#', `:', or `@'. The  name  is  folded  to
       lowercase, in order to make database lookups case insensi-
       tive.

Your LDAP aliases table is expected to be equivalent in its use of
keys and values to the on-disk file. This is a frequently answered
question.

-- 
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majord...@postfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.

Reply via email to