1

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

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
==== Hi,

I'm trying to integrate my AD with iRedmail by following this tutorial:
http://www.iredmail.org/wiki/index.php? … y.iRedMail

Did all of the instructions, and double check it, but it didn't work when I tried to verify sender login check, mail list/group in postfix (it didn't show any response) and also when I tried to verify LDAP query with AD in Dovecot (it just keep hanging without showing any response).

The only one that work is when I tried to query mail user in postfix ( there's response : example.com/user/Maildir).

Below you can find my system information, and the log(after setting debug level to 1 in ad_sender_login_maps.cf).
Please let me know if you need any other information.

Thank you,

jsi

==== Required information ====
- iRedMail version: 0.8.3
- AD on Windows Server 2008 R2
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP (integrated with AD)
- Linux/BSD distribution name and version: Red Hat 6.3
- Related log if you're reporting an issue:

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 0x7f9d423b37a0 msgid 1
postmap: dict_ldap_debug: wait4msg ld 0x7f9d423b37a0 msgid 1 (timeout 10000000 usec)
postmap: dict_ldap_debug: wait4msg continue ld 0x7f9d423b37a0 msgid 1 all 1
postmap: dict_ldap_debug: ** ld 0x7f9d423b37a0 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 16:22:04 2012
postmap: dict_ldap_debug:
postmap: dict_ldap_debug: ** ld 0x7f9d423b37a0 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 0x7f9d423b37a0 request count 1 (abandoned 0)
postmap: dict_ldap_debug: ** ld 0x7f9d423b37a0 Response Queue:
postmap: dict_ldap_debug:    Empty
postmap: dict_ldap_debug:   ld 0x7f9d423b37a0 response count 0
postmap: dict_ldap_debug: ldap_chkResponseList ld 0x7f9d423b37a0 msgid 1 all 1
postmap: dict_ldap_debug: ldap_chkResponseList returns ld 0x7f9d423b37a0 NULL
postmap: dict_ldap_debug: ldap_int_select
postmap: dict_ldap_debug: read1msg: ld 0x7f9d423b37a0 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 0x7f9d423b37a0 msgid 1 message type bind
postmap: dict_ldap_debug: ber_scanf fmt ({eAA) ber:
postmap: dict_ldap_debug: read1msg: ld 0x7f9d423b37a0 0 new referrals
postmap: dict_ldap_debug: read1msg:  mark request completed, ld 0x7f9d423b37a0 msgid 1
postmap: dict_ldap_debug: request done: ld 0x7f9d423b37a0 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 0x7f9d423b37a0 msgid 2
postmap: dict_ldap_debug: wait4msg ld 0x7f9d423b37a0 msgid 2 (timeout 10000000 usec)
postmap: dict_ldap_debug: wait4msg continue ld 0x7f9d423b37a0 msgid 2 all 1
postmap: dict_ldap_debug: ** ld 0x7f9d423b37a0 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 16:22:04 2012
postmap: dict_ldap_debug:
postmap: dict_ldap_debug: ** ld 0x7f9d423b37a0 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 0x7f9d423b37a0 request count 1 (abandoned 0)
postmap: dict_ldap_debug: ** ld 0x7f9d423b37a0 Response Queue:
postmap: dict_ldap_debug:    Empty
postmap: dict_ldap_debug:   ld 0x7f9d423b37a0 response count 0
postmap: dict_ldap_debug: ldap_chkResponseList ld 0x7f9d423b37a0 msgid 2 all 1
postmap: dict_ldap_debug: ldap_chkResponseList returns ld 0x7f9d423b37a0 NULL
postmap: dict_ldap_debug: ldap_int_select
postmap: dict_ldap_debug: read1msg: ld 0x7f9d423b37a0 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 0x7f9d423b37a0 msgid 2 message type search-reference
postmap: dict_ldap_debug: wait4msg ld 0x7f9d423b37a0 9 s 999328 us to go
postmap: dict_ldap_debug: wait4msg continue ld 0x7f9d423b37a0 msgid 2 all 1
postmap: dict_ldap_debug: ** ld 0x7f9d423b37a0 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 16:22:04 2012
postmap: dict_ldap_debug:
postmap: dict_ldap_debug: ** ld 0x7f9d423b37a0 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 0x7f9d423b37a0 request count 1 (abandoned 0)
postmap: dict_ldap_debug: ** ld 0x7f9d423b37a0 Response Queue:
postmap: dict_ldap_debug:  * msgid 2,  type 115
postmap: dict_ldap_debug:   ld 0x7f9d423b37a0 response count 1
postmap: dict_ldap_debug: ldap_chkResponseList ld 0x7f9d423b37a0 msgid 2 all 1
postmap: dict_ldap_debug: ldap_chkResponseList returns ld 0x7f9d423b37a0 NULL
postmap: dict_ldap_debug: ldap_int_select
postmap: dict_ldap_debug: read1msg: ld 0x7f9d423b37a0 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 0x7f9d423b37a0 msgid 2 message type search-reference
postmap: dict_ldap_debug: adding response ld 0x7f9d423b37a0 msgid 2 type 115:
postmap: dict_ldap_debug: wait4msg ld 0x7f9d423b37a0 9 s 998823 us to go
postmap: dict_ldap_debug: wait4msg continue ld 0x7f9d423b37a0 msgid 2 all 1
postmap: dict_ldap_debug: ** ld 0x7f9d423b37a0 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 16:22:04 2012
postmap: dict_ldap_debug:
postmap: dict_ldap_debug: ** ld 0x7f9d423b37a0 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 0x7f9d423b37a0 request count 1 (abandoned 0)
postmap: dict_ldap_debug: ** ld 0x7f9d423b37a0 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 0x7f9d423b37a0 response count 1
postmap: dict_ldap_debug: ldap_chkResponseList ld 0x7f9d423b37a0 msgid 2 all 1
postmap: dict_ldap_debug: ldap_chkResponseList returns ld 0x7f9d423b37a0 NULL
postmap: dict_ldap_debug: ldap_int_select
postmap: dict_ldap_debug: read1msg: ld 0x7f9d423b37a0 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 0x7f9d423b37a0 msgid 2 message type search-reference
postmap: dict_ldap_debug: adding response ld 0x7f9d423b37a0 msgid 2 type 115:
postmap: dict_ldap_debug: wait4msg ld 0x7f9d423b37a0 9 s 998200 us to go
postmap: dict_ldap_debug: wait4msg continue ld 0x7f9d423b37a0 msgid 2 all 1
postmap: dict_ldap_debug: ** ld 0x7f9d423b37a0 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 16:22:04 2012
postmap: dict_ldap_debug:
postmap: dict_ldap_debug: ** ld 0x7f9d423b37a0 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 0x7f9d423b37a0 request count 1 (abandoned 0)
postmap: dict_ldap_debug: ** ld 0x7f9d423b37a0 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 0x7f9d423b37a0 response count 1
postmap: dict_ldap_debug: ldap_chkResponseList ld 0x7f9d423b37a0 msgid 2 all 1
postmap: dict_ldap_debug: ldap_chkResponseList returns ld 0x7f9d423b37a0 NULL
postmap: dict_ldap_debug: ldap_int_select
postmap: dict_ldap_debug: read1msg: ld 0x7f9d423b37a0 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 0x7f9d423b37a0 msgid 2 message type search-result
postmap: dict_ldap_debug: ber_scanf fmt ({eAA) ber:
postmap: dict_ldap_debug: read1msg: ld 0x7f9d423b37a0 0 new referrals
postmap: dict_ldap_debug: read1msg:  mark request completed, ld 0x7f9d423b37a0 msgid 2
postmap: dict_ldap_debug: request done: ld 0x7f9d423b37a0 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 0x7f9d423b37a0 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
====

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

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

jsi87 wrote:

postmap: dict_ldap_debug: put_filter: "(&(userPrincipalName=someuser@example.com)(objectClass=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))"

Does this user exist in your AD server?

Could you please show me output of below commands:

# cd /etc/postfix/
# for cf in $(ls ad*); do echo ${cf}; postmap -q "someone@example.com" ldap:./${cf}; done

3

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

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!

4

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

jsi87 wrote:

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

$s? Correct one is %s.

Let's back to your original question/issue:

jsi87 wrote:

Did all of the instructions, and double check it, but it didn't work when I tried to verify sender login check, mail list/group in postfix (it didn't show any response) and also when I tried to verify LDAP query with AD in Dovecot (it just keep hanging without showing any response).

What do you mean it didn't work? What's the original error messages reported by your verification tool/application/command?