[Postfixbuch-users] Postfix LDAP Active Directory
Alexander Muth
alexander.muth at lgb-rlp.de
Sa Apr 16 18:32:04 CEST 2005
Hallo zusammen,
das ich selbst noch keine Lösung für mein Problem gefunden habe und auch
Google keine Rat weis gebe ich die Hoffnung noch nicht auf hier auf der
Liste jemanden mit Postfix + LDAP Erfahrung zu treffen.
Noch mal eine kurze Schilderung:
Bei LDAP Abfragen die KEIN Ergebnis liefern erhalte ich als Resultat
"database unavailable" und dann wird die Nachricht in die deferred Queue
gepackt, anstatt sie zu bouncen.
Meine Frage ist wie ich verhindern kann das ein "dict_ldap_lookup:
Search error 32: No such object" zu einem "database unavailable" führt.
Abfragen die ein Ergebnis in der LDAP-Datenbank finden, laufen übrigens
ohne Probleme.
Hier ein Logfile Ausschnitt von einer Anfrage die kein Ergebnis liefert:
außerdem ein postconf -n
ich freue mich über jeden Hinweis
Alexander
Apr 14 11:16:44 larnit postfix/local[24930]: deliver_alias:
hash:/etc/aliases(0,34100): asd not found
Apr 14 11:16:44 larnit postfix/local[24930]: dict_ldap_lookup: In
dict_ldap_lookup
Apr 14 11:16:44 larnit postfix/local[24930]: dict_ldap_lookup: No
existing connection for LDAP source /etc/postfix/ldap_alias.cf, reopening
Apr 14 11:16:44 larnit postfix/local[24930]: dict_ldap_connect:
Connecting to server ldap://platin.name.de:389
Apr 14 11:16:44 larnit postfix/local[24930]: dict_ldap_connect: Actual
Protocol version used is 2.
Apr 14 11:16:44 larnit postfix/local[24930]: dict_ldap_connect: Cached
connection handle for LDAP source /etc/postfix/ldap_alias.cf
Apr 14 11:16:44 larnit postfix/local[24930]: dict_ldap_lookup: Searching
with filter (|(mail=asd at name.de)(sAMAccountName=asd))
Apr 14 11:16:44 larnit postfix/local[24930]: warning: dict_ldap_lookup:
Search error 32: No such object
Apr 14 11:16:44 larnit postfix/local[24930]: connect to subsystem
private/defer
Apr 14 11:16:44 larnit postfix/local[24930]: send attr nrequest = 0
Apr 14 11:16:44 larnit postfix/local[24930]: send attr flags = 0
Apr 14 11:16:44 larnit postfix/local[24930]: send attr queue_id = 6C5D9E05
Apr 14 11:16:44 larnit postfix/local[24930]: send attr
original_recipient = asd at name.de <mailto:asd at name.de>
Apr 14 11:16:44 larnit postfix/local[24930]: send attr recipient =
asd at name.de <mailto:asd at name.de>
Apr 14 11:16:44 larnit postfix/local[24930]: send attr offset = 145
Apr 14 11:16:44 larnit postfix/local[24930]: send attr status = 4.0.0
Apr 14 11:16:44 larnit postfix/local[24930]: send attr action = delayed
Apr 14 11:16:44 larnit postfix/local[24930]: send attr reason = alias
database unavailable
Apr 14 11:16:44 larnit postfix/local[24930]: private/defer socket:
wanted attribute: status
Apr 14 11:16:44 larnit postfix/local[24930]: input attribute name: status
Apr 14 11:16:44 larnit postfix/local[24930]: input attribute value: 0
Apr 14 11:16:44 larnit postfix/local[24930]: private/defer socket:
wanted attribute: (list terminator)
Apr 14 11:16:44 larnit postfix/local[24930]: input attribute name: (end)
Apr 14 11:16:44 larnit postfix/local[24930]: 6C5D9E05: to=<asd at name.de>,
relay=local, delay=0, status=deferred (alias database unavailable)
larnit:~ # postconf -n
alias_maps = hash:/etc/aliases, ldap:ldap-alias
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_list = gla-rlp.de lgb-rlp.de
disable_dns_lookups = no
html_directory = /usr/share/doc/packages/postfix/html
inet_interfaces = all
local_recipient_maps = hash:/etc/aliases, ldap:local-recipient-maps
mail_owner = postfix
mail_spool_directory =
mailbox_size_limit = 0
mailbox_transport = cyrus
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
message_size_limit = 10240000
mydestination = $myhostname, localhost.$mydomain, gla-rlp.de, lgb-rlp.de
myhostname = larnit.gla-rlp.de
mynetworks = 127.0.0.0/8, 10.0.0.0/24, 10.0.0.1/24, [::1]/128,
[fe80::230:48ff:fe2a:8a56]/64
newaliases_path = /usr/bin/newaliases
owner_request_special = no
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix/README_FILES
relayhost = 134.93.7.66
sample_directory = /usr/share/doc/packages/postfix/samples
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtp_enforce_tls = no
smtp_sasl_auth_enable = no
smtp_sasl_security_options = noanonymous
smtp_tls_enforce_peername = no
smtp_use_tls = no
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_client_restrictions = permit_mynetworks, reject_unknown_client
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_sasl_auth_enable = yes
smtpd_tls_CApath = /etc/ssl/certs
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/ssl/servercerts/servercert.pem
smtpd_tls_key_file = /etc/ssl/servercerts/serverkey.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = no
smtpd_use_tls = yes
strict_rfc821_envelopes = no
unknown_local_recipient_reject_code = 550
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <https://listi.jpberlin.de/pipermail/postfixbuch-users/attachments/20050416/73be594b/attachment.html>
Mehr Informationen über die Mailingliste Postfixbuch-users