OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Alper Kamil Demir (demir_at_kou.edu.tr)
Date: Mon Sep 30 2002 - 03:42:12 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    I configured postfix ldap part as:
    alias_maps = hash:/etc/aliases, ldap:ldapsource
    ldapsource_server_host = ldap.cc.kou.edu.tr
    ldapsource_server_port = 389
    ldapsource_search_base = ou=Ogrenci,ou=People,dc=kou,dc=edu,dc=tr
    ldapsource_query_filter = (uid=%s)
    ldapsource_result_attribute = (mail)

    and there is an entry 'n ldif as:
    dn: uid=ldap_test,ou=Fen Bilimleri,ou=Enstitu,ou=Ogrenci,ou=People, dc=kou,dc=
     edu,dc=tr
    mail: demircc.kou.edu.tr
    uid: ldap_test
    givenName: ldap
    objectClass: inetorgperson
    objectClass: organizationalPerson
    objectClass: person
    objectClass: top
    sn: test
    cn: ldap test

    when I send an email to ldap_testcc.kou.edu.tr, I expect the email is sent to demircc.kou.edu. However /var/log/maillog shows:
    Sep 30 10:41:22 mozart postfix/local[11912]: 722DAEB64: to=<ldap_testmozart.cc.kou.edu.tr>, relay=local, delay=0, status=bounced (unknown user: "ldap_test")

    I searched ldap using ldapsearch command and it works fine. I also used tcpdump to see if there is any connection made between email server and ldap server and saw there was. However, email is bounced back to sender cause user ldap_test is not found. Am I doing something wrong? I appreciate any help. Thank you.

    Alper K. Demir
    -
    To unsubscribe, send mail to majordomopostfix.org with content
    (not subject): unsubscribe postfix-users