<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi All,<div class="">Hopefully this is quite a simple oversight and that someone might be able to steer me in the correct direction. I’ve setup a postfix server and I’m trying to do a ldap lookup on the relay_recipients_map to my FreeIPA server 4.1.3 to query the attribute mail or email to find the users email address. The problem is when I do an ldapsearch and try to search for the attribute mail or email it doesn’t exist. If I add an email address to another attribute like the title as you can see below and do a ldap lookup from postfix on the attribute title it all works fine and yes the email address attribute is set in FreeIPA under the user. Any ideas?</div><div class=""><br class=""></div><div class="">output from the ldapsearch:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""># mark, users, accounts, <a href="http://example.com" class="">example.com</a></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">dn: uid=mark,cn=users,cn=accounts,dc=example,dc=com</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">title: <a href="mailto:mark@example.com" class="">mark@example.com</a></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">gidNumber: 441200001</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">uidNumber: 441200001</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">sn: Grinceri</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">givenName: Mark</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">uid: mark</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">homeDirectory: /home/mark</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">gecos: Mark Grinceri</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">initials: MG</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">manager: uid=admin,cn=users,cn=accounts,dc=example,dc=com</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">loginShell: /bin/bash</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">objectClass: ipaobject</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">objectClass: person</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">objectClass: top</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">objectClass: ipasshuser</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">objectClass: inetorgperson</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">objectClass: organizationalperson</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">objectClass: krbticketpolicyaux</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">objectClass: krbprincipalaux</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">objectClass: inetuser</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">objectClass: posixaccount</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">objectClass: ipaSshGroupOfPubKeys</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">objectClass: mepOriginEntry</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">objectClass: ipauserauthtypeclass</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">objectClass: ipauser</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">cn: Mark Grinceri</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">displayName: Mark Grinceri</div></div></body></html>