[EMAIL PROTECTED] wrote: > Use the qmail-ldap list... So my stupidness is archived for the entire world and forever ;)
>> - It doesn't use the locals from the controldb. > What does the entry look like? Got an example? The DN must match (EXACTLY!) > the entry that's in the 'me' file... For my test environment this is: > (...) I ran these tests and it looked ok. I'll post some stuff from the logs: Note: The machine I'm testing on isn't connected to the net. That should explain the weird domain names. | control_readline: Searching LDAP for: control/queuelifetime | ldap_init successful (127.0.0.1:389) | set_option successful | Binding to LDAP server using simple bind | simple bind successful (as 'cn=manager,dc=test,dc=abc') | control_readline: Searching LDAP for: control/concurrencylocal | control_ldap_search: Search filter: (&(cn=mail.test.abc)(objectclass=qmailControl)) |(below DN ou=qmailcontrol,ou=intern,dc=test,dc=abc) | search for Z&(cn=mail.test.abc)(objectclass=qmailControl) succeeded | Searching LDAP for: control/concurrencyremote (...) | control_ldap_search: vals[0]='50' (...) | control_ldap_search: Search filter: (&(cn=mail.test.abc)(objectclass=qmailControl)) |(below DN ou=qmailcontrol,ou=intern,dc=test,dc=abc) | control_ldap_search: search for Z&(cn=mail.test.abc)(objectclass=qmailControl)) |succeeded | control_ldap_search: vals[0]='mail.test.abc' | control_ldap_search: vals[1]='test.abc' | control_ldap_search: vals[2]='test.xyz'These are my locals. (...) | info msg 84522: bytes 361 from <[EMAIL PROTECTED]> qp 23458 uid 0 | starting delivery 1: msg 84522 to remote [EMAIL PROTECTED] | status: local 0/10 remote 1/50 | delivery 1: failure: |Sorry._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_isn't_in_my_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/ | status: local 0/10 remote 0/50 | bounce msg 84522 qp 23460 If I add 'test.abc' to the control/locals file, the message is delivered without any problems. qmail reads probably all other stuff (at least concurrencyremote and rcpthosts) from the ldapdb. Any idea what I'm missing here? Thanks again, Benny
