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

Re: one domain works with BackupMX but all others comes with user unknown

$
0
0

WORK ONE
[root@264644-web2 ldap]# for cf in $(ls); do echo ${cf}; postmap -q 'WORKING.com.hk' ldap:./${cf}; done
ldap
postmap: fatal: read ./ldap: Is a directory
ldap_catch_all_maps.cf
postmap: warning: dict_ldap_connect: Unable to bind to server ldap://127.0.0.1:389 as cn=vmail,dc=iredmail,dc=org: 49 (Invalid credentials)
ldap_recipient_bcc_maps_domain.cf
ldap_recipient_bcc_maps_user.cf
ldap_relay_domains.cf
WORKING.com.hk
ldap_sender_bcc_maps_domain.cf
ldap_sender_bcc_maps_user.cf
ldap_sender_login_maps.cf
ldap_transport_maps_domain.cf
smtp:[XXX.215.XXX.XXX]:25
ldap_transport_maps_user.cf
ldap_virtual_alias_alias.cf
ldap_virtual_alias_maps.cf
ldap_virtual_alias_user.cf
ldap_virtual_group_maps.cf
ldap_virtual_mailbox_domains.cf
ldap_virtual_mailbox_maps.cf


NOT WORK ONE BELOW
[root@264644-web2 ldap]# for cf in $(ls); do echo ${cf}; postmap -q 'NOTWORKING.com' ldap:./${cf}; done
ldap
postmap: fatal: read ./ldap: Is a directory
ldap_catch_all_maps.cf
postmap: warning: dict_ldap_connect: Unable to bind to server ldap://127.0.0.1:389 as cn=vmail,dc=iredmail,dc=org: 49 (Invalid credentials)
ldap_recipient_bcc_maps_domain.cf
ldap_recipient_bcc_maps_user.cf
ldap_relay_domains.cf
NOTWORKING.com
ldap_sender_bcc_maps_domain.cf
ldap_sender_bcc_maps_user.cf
ldap_sender_login_maps.cf
ldap_transport_maps_domain.cf
smtp:[xxx.17.215.XXX]:25
ldap_transport_maps_user.cf
ldap_virtual_alias_alias.cf
ldap_virtual_alias_maps.cf
ldap_virtual_alias_user.cf
ldap_virtual_group_maps.cf
ldap_virtual_mailbox_domains.cf
ldap_virtual_mailbox_maps.cf


Viewing all articles
Browse latest Browse all 48092

Trending Articles