|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
+extentsion, virtual_mailbox_maps and LDAP
From: Cap (daCaptain
rocketmail.com)
Date: Tue Oct 11 2005 - 10:51:35 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
I'm stuck with a problem concerning user+ext
domain.tld
addressing and LDAP lookups.
My config:
postfix 2.2
in main.cf:
virtual_mailbox_maps =
ldap:/etc/postfix/ldap-test.cf
ldap-test.cf:
server_host = localhost
bind = no
search_base = dc=mailboxusers,dc=missura,dc=de
According to virtual(8) manpage the ldap lookup is the same as
in a textfile: first user+ext
domain.tld, then user
domain.tld,
finally
domain.tld. But when I look at the logs the
user
domain.tld step seems to be missing.
I sent a testmail to marcell+ext
internetfreaks.de and this is
what my log says to it:
Oct 11 17:11:12 squishy slapd[17647]: conn=64 fd=12 ACCEPT from
IP=127.0.0.1:7181 (IP=0.0.0.0:389)
Oct 11 17:11:12 squishy slapd[17647]: conn=64 op=0 SRCH
base="dc=mailboxusers,dc=missura,dc=de" scope=2 deref=0
filter="(mailacceptinggeneralid=marcell+ext
internetfreaks.de)"
Oct 11 17:11:12 squishy slapd[17647]: conn=64 op=0 SRCH
attr=maildrop
Oct 11 17:11:12 squishy slapd[17647]: <=
bdb_equality_candidates: (mailacceptinggeneralid) index_param
failed (18)
Oct 11 17:11:12 squishy slapd[17647]: conn=64 op=0 SEARCH RESULT
tag=101 err=0 nentries=0 text=
Oct 11 17:11:12 squishy slapd[17647]: conn=64 op=1 SRCH
base="dc=mailboxusers,dc=missura,dc=de" scope=2 deref=0
filter="(mailacceptinggeneralid=
internetfreaks.de)"
Oct 11 17:11:12 squishy slapd[17647]: conn=64 op=1 SRCH
attr=maildrop
Oct 11 17:11:12 squishy slapd[17647]: <=
bdb_equality_candidates: (mailacceptinggeneralid) index_param
failed (18)
Oct 11 17:11:12 squishy slapd[17647]: conn=64 op=1 SEARCH RESULT
tag=101 err=0 nentries=0 text=
I used the default query_filter and result_attribute on purpose.
The LDAP entry exists, all attributes (mailacceptinggeneralid
and maildrop) exist and are defined.
Am I doing something wrong here or why doesn't it work right?
And how else could I search for user
domain.tld _without_ the
extension?
Thanks,
Cap
__________________________________
Yahoo! Music Unlimited
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]