Hi,
I'm trying to configured postfix to queried ldap server before sending mail.
I had configure the main.cf file with following parameters :
local_recipient_maps = ldap:/etc/postfix/ldap-aliases.cf, $alias_maps
alias_maps = hash:/etc/aliases
and created the file ldap-aliases.cf with following parameters :
server_host = ldapaddress
server_port = 389
search_base = ou=People,dc=xxx,dc=xxx
query_filter = (mailacceptinggeneralid=%s)
result_attribute = maildrop
bind = yes
bind_dn = xxxx
bind_pw = yyyy
version = 3
I don't configured virtual domain.
When I executed the following command "postmap -q mail.test@domain.fr ldap://etc/postfix/ldap-aliases.cf", I receive the final address.
But when I want to send a mail, the address mail is not translated and the ldap server is not queried.
Is there someone to help me to identify why ?
Best regards,
Postfix : ldap not queried
Issues related to applications and software problems
-
- Posts: 1
- Joined: 2017/09/18 09:03:31
Return to “CentOS 6 - Software Support”
Jump to
- CentOS General Purpose
- ↳ CentOS - FAQ & Readme First
- ↳ Announcements
- ↳ CentOS Social
- ↳ User Comments
- ↳ Website Problems
- CentOS 8 / 8-Stream / 9-Stream
- ↳ 8 /8-Stream / 9-Stream - General Support
- ↳ 8 /8-Stream / 9-Stream - Hardware Support
- ↳ 8 /8-Stream / 9-Stream - Networking Support
- ↳ 8 /8-Stream / 9-Stream - Security Support
- CentOS 7
- ↳ CentOS 7 - General Support
- ↳ CentOS 7 - Software Support
- ↳ CentOS 7 - Hardware Support
- ↳ CentOS 7 - Networking Support
- ↳ CentOS 7 - Security Support
- CentOS Legacy Versions
- ↳ CentOS 5
- ↳ CentOS 5 - General Support
- ↳ CentOS 5 - Software Support
- ↳ CentOS 5 - Hardware Support
- ↳ CentOS 5 - Networking Support
- ↳ CentOS 5 - Server Support
- ↳ CentOS 5 - Security Support
- ↳ CentOS 5 - Oracle Installation and Support
- ↳ CentOS 5 - Miscellaneous Questions
- ↳ CentOS 6
- ↳ CentOS 6 - General Support
- ↳ CentOS 6 - Software Support
- ↳ CentOS 6 - Hardware Support
- ↳ CentOS 6 - Networking Support
- ↳ CentOS 6 - Security Support