Hi Everyone, I thought I'd try asking here before joining the postfix mail list since I'm running postfix on a CentOS 7 box. I want to look up accounts via LDAP (an IPA server also on CentOS 7). I created an "ldap_aliases" file and successfully tested it with the postmap command: I can get the email address for an arbitrary user. But, when I add the very same file to main.cf, I don't see anything in the normal or debug logs for postfix that would indicate postfix is even trying to do a ldap lookup. Here are the relevant configs: # Virtual domains virtual_mailbox_base = /var/spool/mail virtual_mailbox_maps = hash:/etc/postfix/virtual_mailbox virtual_mailbox_domains = thesandhufamily.ca virtual_alias_maps = hash:/etc/postfix/virtual, hash:/etc/mailman/virtual-mailman, ldap:/etc/postfix/ldap_aliases NB: I believe I don't need to use ldap for virtual_mailbox_maps and virtual_mailbox_domains, but I could be wrong. All I get is errors like this: Dec 14 09:53:35 mailman01 postfix/lmtp[31011]: A968CC2516D: to=<ranbir@xxxxxxxxxxxxxxxxxx>, relay=10.200.5.24[10.200.5.24]:24, delay=1.1, delays=0.78/0/0.01/0.27, dsn=5.1.1, status=bounced (host 10.200.5.24[10.200.5.24] said: 550 5.1.1 <ranbir@xxxxxxxxxxxxxxxxxx> User doesn't exist: ranbir@xxxxxxxxxxxxxxxxxx (in reply to RCPT TO command)) Am I supposed to enable something else in postfix to make ldap work? What I've read about this seems to indicate I'm doing it correctly. -- Ranbir
Attachment:
signature.asc
Description: This is a digitally signed message part
_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx https://lists.centos.org/mailman/listinfo/centos