Quantcast
Channel: iRedMail
Viewing all articles
Browse latest Browse all 48099

Re: no response when trying to verify sender login check in Postfix

$
0
0

Hi Zhang,

Thank you for the response.

No, someuser doesn't exist in the AD server, I'm just replacing the user name and the address of the AD in the log with someuser and example.com for security reason.

below please find the output from the command:

ad_sender_login_maps.cf
postmap: dict_ldap_debug: ldap_create
postmap: dict_ldap_debug: ldap_url_parse_ext(ldap://ad.example.com:389)
postmap: dict_ldap_debug: ldap_sasl_bind
postmap: dict_ldap_debug: ldap_send_initial_request
postmap: dict_ldap_debug: ldap_new_connection 1 1 0
postmap: dict_ldap_debug: ldap_int_open_connection
postmap: dict_ldap_debug: ldap_connect_to_host: TCP ad.example.com:389
postmap: dict_ldap_debug: ldap_new_socket: 4
postmap: dict_ldap_debug: ldap_prepare_socket: 4
postmap: dict_ldap_debug: ldap_connect_to_host: Trying 10.0.20.105:389
postmap: dict_ldap_debug: ldap_pvt_connect: fd: 4 tm: 10 async: 0
postmap: dict_ldap_debug: ldap_ndelay_on: 4
postmap: dict_ldap_debug: ldap_int_poll: fd: 4 tm: 10
postmap: dict_ldap_debug: ldap_is_sock_ready: 4
postmap: dict_ldap_debug: ldap_ndelay_off: 4
postmap: dict_ldap_debug: ldap_pvt_connect: 0
postmap: dict_ldap_debug: ldap_open_defconn: successful
postmap: dict_ldap_debug: ldap_send_server_request
postmap: dict_ldap_debug: ber_scanf fmt ({it) ber:
postmap: dict_ldap_debug: ber_scanf fmt ({i) ber:
postmap: dict_ldap_debug: ber_flush2: 28 bytes to sd 4
postmap: dict_ldap_debug: ldap_result ld 0x7f7a084d67d0 msgid 1
postmap: dict_ldap_debug: wait4msg ld 0x7f7a084d67d0 msgid 1 (timeout 10000000 usec)
postmap: dict_ldap_debug: wait4msg continue ld 0x7f7a084d67d0 msgid 1 all 1
postmap: dict_ldap_debug: ** ld 0x7f7a084d67d0 Connections:
postmap: dict_ldap_debug: * host: ad.example.com  port: 389  (default)
postmap: dict_ldap_debug:   refcnt: 2  status: Connected
postmap: dict_ldap_debug:   last used: Mon Dec 10 21:35:55 2012
postmap: dict_ldap_debug:
postmap: dict_ldap_debug: ** ld 0x7f7a084d67d0 Outstanding Requests:
postmap: dict_ldap_debug:  * msgid 1,  origid 1, status InProgress
postmap: dict_ldap_debug:    outstanding referrals 0, parent count 0
postmap: dict_ldap_debug:   ld 0x7f7a084d67d0 request count 1 (abandoned 0)
postmap: dict_ldap_debug: ** ld 0x7f7a084d67d0 Response Queue:
postmap: dict_ldap_debug:    Empty
postmap: dict_ldap_debug:   ld 0x7f7a084d67d0 response count 0
postmap: dict_ldap_debug: ldap_chkResponseList ld 0x7f7a084d67d0 msgid 1 all 1
postmap: dict_ldap_debug: ldap_chkResponseList returns ld 0x7f7a084d67d0 NULL
postmap: dict_ldap_debug: ldap_int_select
postmap: dict_ldap_debug: read1msg: ld 0x7f7a084d67d0 msgid 1 all 1
postmap: dict_ldap_debug: ber_get_next
postmap: dict_ldap_debug: ber_get_next: tag 0x30 len 16 contents:
postmap: dict_ldap_debug: read1msg: ld 0x7f7a084d67d0 msgid 1 message type bind
postmap: dict_ldap_debug: ber_scanf fmt ({eAA) ber:
postmap: dict_ldap_debug: read1msg: ld 0x7f7a084d67d0 0 new referrals
postmap: dict_ldap_debug: read1msg:  mark request completed, ld 0x7f7a084d67d0 msgid 1
postmap: dict_ldap_debug: request done: ld 0x7f7a084d67d0 msgid 1
postmap: dict_ldap_debug: res_errno: 0, res_error: <>, res_matched: <>
postmap: dict_ldap_debug: ldap_free_request (origid 1, msgid 1)
postmap: dict_ldap_debug: ldap_parse_sasl_bind_result
postmap: dict_ldap_debug: ber_scanf fmt ({eAA) ber:
postmap: dict_ldap_debug: ldap_msgfree
postmap: dict_ldap_debug: ldap_search_ext
postmap: dict_ldap_debug: put_filter: "(&(userPrincipalName=someuser@example.com)(objectClass=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))"
postmap: dict_ldap_debug: put_filter: AND
postmap: dict_ldap_debug: put_filter_list "(userPrincipalName=someuser@example.com)(objectClass=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2))"
postmap: dict_ldap_debug: put_filter: "(userPrincipalName=someuser@example.com)"
postmap: dict_ldap_debug: put_filter: simple
postmap: dict_ldap_debug: put_simple_filter: "userPrincipalName=someuser@example.com"
postmap: dict_ldap_debug: put_filter: "(objectClass=person)"
postmap: dict_ldap_debug: put_filter: simple
postmap: dict_ldap_debug: put_simple_filter: "objectClass=person"
postmap: dict_ldap_debug: put_filter: "(!(userAccountControl:1.2.840.113556.1.4.803:=2))"
postmap: dict_ldap_debug: put_filter: NOT
postmap: dict_ldap_debug: put_filter_list "(userAccountControl:1.2.840.113556.1.4.803:=2)"
postmap: dict_ldap_debug: put_filter: "(userAccountControl:1.2.840.113556.1.4.803:=2)"
postmap: dict_ldap_debug: put_filter: simple
postmap: dict_ldap_debug: put_simple_filter: "userAccountControl:1.2.840.113556.1.4.803:=2"
postmap: dict_ldap_debug: ldap_send_initial_request
postmap: dict_ldap_debug: ldap_send_server_request
postmap: dict_ldap_debug: ber_scanf fmt ({it) ber:
postmap: dict_ldap_debug: ber_scanf fmt ({) ber:
postmap: dict_ldap_debug: ber_flush2: 176 bytes to sd 4
postmap: dict_ldap_debug: ldap_result ld 0x7f7a084d67d0 msgid 2
postmap: dict_ldap_debug: wait4msg ld 0x7f7a084d67d0 msgid 2 (timeout 10000000 usec)
postmap: dict_ldap_debug: wait4msg continue ld 0x7f7a084d67d0 msgid 2 all 1
postmap: dict_ldap_debug: ** ld 0x7f7a084d67d0 Connections:
postmap: dict_ldap_debug: * host: ad.example.com  port: 389  (default)
postmap: dict_ldap_debug:   refcnt: 2  status: Connected
postmap: dict_ldap_debug:   last used: Mon Dec 10 21:35:55 2012
postmap: dict_ldap_debug:
postmap: dict_ldap_debug: ** ld 0x7f7a084d67d0 Outstanding Requests:
postmap: dict_ldap_debug:  * msgid 2,  origid 2, status InProgress
postmap: dict_ldap_debug:    outstanding referrals 0, parent count 0
postmap: dict_ldap_debug:   ld 0x7f7a084d67d0 request count 1 (abandoned 0)
postmap: dict_ldap_debug: ** ld 0x7f7a084d67d0 Response Queue:
postmap: dict_ldap_debug:    Empty
postmap: dict_ldap_debug:   ld 0x7f7a084d67d0 response count 0
postmap: dict_ldap_debug: ldap_chkResponseList ld 0x7f7a084d67d0 msgid 2 all 1
postmap: dict_ldap_debug: ldap_chkResponseList returns ld 0x7f7a084d67d0 NULL
postmap: dict_ldap_debug: ldap_int_select
postmap: dict_ldap_debug: read1msg: ld 0x7f7a084d67d0 msgid 2 all 1
postmap: dict_ldap_debug: ber_get_next
postmap: dict_ldap_debug: ber_get_next: tag 0x30 len 72 contents:
postmap: dict_ldap_debug: read1msg: ld 0x7f7a084d67d0 msgid 2 message type search-reference
postmap: dict_ldap_debug: wait4msg ld 0x7f7a084d67d0 9 s 999212 us to go
postmap: dict_ldap_debug: wait4msg continue ld 0x7f7a084d67d0 msgid 2 all 1
postmap: dict_ldap_debug: ** ld 0x7f7a084d67d0 Connections:
postmap: dict_ldap_debug: * host: ad.example.com  port: 389  (default)
postmap: dict_ldap_debug:   refcnt: 2  status: Connected
postmap: dict_ldap_debug:   last used: Mon Dec 10 21:35:55 2012
postmap: dict_ldap_debug:
postmap: dict_ldap_debug: ** ld 0x7f7a084d67d0 Outstanding Requests:
postmap: dict_ldap_debug:  * msgid 2,  origid 2, status InProgress
postmap: dict_ldap_debug:    outstanding referrals 0, parent count 0
postmap: dict_ldap_debug:   ld 0x7f7a084d67d0 request count 1 (abandoned 0)
postmap: dict_ldap_debug: ** ld 0x7f7a084d67d0 Response Queue:
postmap: dict_ldap_debug:  * msgid 2,  type 115
postmap: dict_ldap_debug:   ld 0x7f7a084d67d0 response count 1
postmap: dict_ldap_debug: ldap_chkResponseList ld 0x7f7a084d67d0 msgid 2 all 1
postmap: dict_ldap_debug: ldap_chkResponseList returns ld 0x7f7a084d67d0 NULL
postmap: dict_ldap_debug: ldap_int_select
postmap: dict_ldap_debug: read1msg: ld 0x7f7a084d67d0 msgid 2 all 1
postmap: dict_ldap_debug: ber_get_next
postmap: dict_ldap_debug: ber_get_next: tag 0x30 len 72 contents:
postmap: dict_ldap_debug: read1msg: ld 0x7f7a084d67d0 msgid 2 message type search-reference
postmap: dict_ldap_debug: adding response ld 0x7f7a084d67d0 msgid 2 type 115:
postmap: dict_ldap_debug: wait4msg ld 0x7f7a084d67d0 9 s 999024 us to go
postmap: dict_ldap_debug: wait4msg continue ld 0x7f7a084d67d0 msgid 2 all 1
postmap: dict_ldap_debug: ** ld 0x7f7a084d67d0 Connections:
postmap: dict_ldap_debug: * host: ad.example.com  port: 389  (default)
postmap: dict_ldap_debug:   refcnt: 2  status: Connected
postmap: dict_ldap_debug:   last used: Mon Dec 10 21:35:55 2012
postmap: dict_ldap_debug:
postmap: dict_ldap_debug: ** ld 0x7f7a084d67d0 Outstanding Requests:
postmap: dict_ldap_debug:  * msgid 2,  origid 2, status InProgress
postmap: dict_ldap_debug:    outstanding referrals 0, parent count 0
postmap: dict_ldap_debug:   ld 0x7f7a084d67d0 request count 1 (abandoned 0)
postmap: dict_ldap_debug: ** ld 0x7f7a084d67d0 Response Queue:
postmap: dict_ldap_debug:  * msgid 2,  type 115
postmap: dict_ldap_debug:    chained responses:
postmap: dict_ldap_debug:   * msgid 2,  type 115
postmap: dict_ldap_debug:   ld 0x7f7a084d67d0 response count 1
postmap: dict_ldap_debug: ldap_chkResponseList ld 0x7f7a084d67d0 msgid 2 all 1
postmap: dict_ldap_debug: ldap_chkResponseList returns ld 0x7f7a084d67d0 NULL
postmap: dict_ldap_debug: ldap_int_select
postmap: dict_ldap_debug: read1msg: ld 0x7f7a084d67d0 msgid 2 all 1
postmap: dict_ldap_debug: ber_get_next
postmap: dict_ldap_debug: ber_get_next: tag 0x30 len 56 contents:
postmap: dict_ldap_debug: read1msg: ld 0x7f7a084d67d0 msgid 2 message type search-reference
postmap: dict_ldap_debug: adding response ld 0x7f7a084d67d0 msgid 2 type 115:
postmap: dict_ldap_debug: wait4msg ld 0x7f7a084d67d0 9 s 998823 us to go
postmap: dict_ldap_debug: wait4msg continue ld 0x7f7a084d67d0 msgid 2 all 1
postmap: dict_ldap_debug: ** ld 0x7f7a084d67d0 Connections:
postmap: dict_ldap_debug: * host: ad.example.com  port: 389  (default)
postmap: dict_ldap_debug:   refcnt: 2  status: Connected
postmap: dict_ldap_debug:   last used: Mon Dec 10 21:35:55 2012
postmap: dict_ldap_debug:
postmap: dict_ldap_debug: ** ld 0x7f7a084d67d0 Outstanding Requests:
postmap: dict_ldap_debug:  * msgid 2,  origid 2, status InProgress
postmap: dict_ldap_debug:    outstanding referrals 0, parent count 0
postmap: dict_ldap_debug:   ld 0x7f7a084d67d0 request count 1 (abandoned 0)
postmap: dict_ldap_debug: ** ld 0x7f7a084d67d0 Response Queue:
postmap: dict_ldap_debug:  * msgid 2,  type 115
postmap: dict_ldap_debug:    chained responses:
postmap: dict_ldap_debug:   * msgid 2,  type 115
postmap: dict_ldap_debug:   * msgid 2,  type 115
postmap: dict_ldap_debug:   ld 0x7f7a084d67d0 response count 1
postmap: dict_ldap_debug: ldap_chkResponseList ld 0x7f7a084d67d0 msgid 2 all 1
postmap: dict_ldap_debug: ldap_chkResponseList returns ld 0x7f7a084d67d0 NULL
postmap: dict_ldap_debug: ldap_int_select
postmap: dict_ldap_debug: read1msg: ld 0x7f7a084d67d0 msgid 2 all 1
postmap: dict_ldap_debug: ber_get_next
postmap: dict_ldap_debug: ber_get_next: tag 0x30 len 16 contents:
postmap: dict_ldap_debug: read1msg: ld 0x7f7a084d67d0 msgid 2 message type search-result
postmap: dict_ldap_debug: ber_scanf fmt ({eAA) ber:
postmap: dict_ldap_debug: read1msg: ld 0x7f7a084d67d0 0 new referrals
postmap: dict_ldap_debug: read1msg:  mark request completed, ld 0x7f7a084d67d0 msgid 2
postmap: dict_ldap_debug: request done: ld 0x7f7a084d67d0 msgid 2
postmap: dict_ldap_debug: res_errno: 0, res_error: <>, res_matched: <>
postmap: dict_ldap_debug: ldap_free_request (origid 2, msgid 2)
postmap: dict_ldap_debug: adding response ld 0x7f7a084d67d0 msgid 2 type 101:
postmap: dict_ldap_debug: ldap_parse_result
postmap: dict_ldap_debug: ber_scanf fmt ({iAA) ber:
postmap: dict_ldap_debug: ber_scanf fmt (}) ber:
postmap: dict_ldap_debug: ldap_msgfree
postmap: dict_ldap_debug: ldap_free_connection 1 1
postmap: dict_ldap_debug: ldap_send_unbind
postmap: dict_ldap_debug: ber_flush2: 7 bytes to sd 4
postmap: dict_ldap_debug: ldap_free_connection: actually freed
ad_virtual_group_maps.cf
postmap: warning: dict_ldap_open: ./ad_virtual_group_maps.cf: Fixed query_filter (&(objectClass=group)(mail=$s)) is probably useless
ad_virtual_mailbox_maps.cf
example.com/someuser/Maildir/


Thanks!


Viewing all articles
Browse latest Browse all 48099

Trending Articles