Loading ...
Sorry, an error occurred while loading the content.

Re: postfix virtual users in ldap, no advantage?

Expand Messages
  • Beast
    ... I guess its ok. ... I can use: query_filter = (mail=%s) result_attribute = homeDirectory result_format = %s/ Many thanks! -- --beast sum.ldap.or.id/blog
    Message 1 of 7 , Mar 1, 2006
    • 0 Attachment
      Beast wrote:
      > Magnus B├Ąck wrote:
      >
      >>
      >> The result of a virtual_mailbox_maps lookup can be an absolute path
      >> (just set virtual_mailbox_base to "/"), and you can use result_filter to
      >
      >
      > virtual_mailbox_base = /
      >
      > vmailbox:
      > user@... /home/vmail/user
      >
      >
      > Isn't that "/" + "/home/vmail/user" = "//home/vmail/user", ist that ok
      > with postfix?

      I guess its ok.

      >
      >> add the final slash to the lookup result if you want maildir delivery.
      >>
      >
      > Unlike sql, ldap query wouldn't allow us to add that trailing slash, cmiiw.
      >

      I can use:
      query_filter = (mail=%s)
      result_attribute = homeDirectory
      result_format = %s/

      Many thanks!

      --

      --beast
      sum.ldap.or.id/blog
    • Victor Duchovni
      ... result_filter = %s/ http://www.postfix.org/ldap_table.5.html -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not
      Message 2 of 7 , Mar 1, 2006
      • 0 Attachment
        On Wed, Mar 01, 2006 at 03:36:17PM +0700, Beast wrote:

        > >add the final slash to the lookup result if you want maildir delivery.
        > >
        >
        > Unlike sql, ldap query wouldn't allow us to add that trailing slash, cmiiw.
        >

        result_filter = %s/

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

        --
        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:majordomo@...?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.
      Your message has been successfully submitted and would be delivered to recipients shortly.