Postfix cyrus imap

Stephen Ingram sbingram at gmail.com
Thu Mar 29 12:09:08 EDT 2012


On Thu, Mar 29, 2012 at 5:07 AM, Mikel <mgilsanz at grupoavalon.es> wrote:

> **
> Tahnk Steve this is a single user ldif , dc=Avalon and dc=avalon works two
> I tried change it to probe only.
>
> dn: CN=sogo,CN=Users,DC=avalon,DC=com,DC=es
> changetype: add
> objectClass: top
> objectClass: person
> objectClass: organizationalPerson
> objectClass: user
> cn: sogo
> givenName: sogo
> distinguishedName: CN=sogo,CN=Users,DC=avalon,DC=com,DC=es
> instanceType: 4
> whenCreated: 20120306123804.0Z
> whenChanged: 20120309005323.0Z
> displayName: sogo
> uSNCreated: 461468
> uSNChanged: 491459
> name: sogo
> objectGUID:: iZBt9gPCnkycvvgHK0/xyA==
> userAccountControl: 66048
> codePage: 0
> countryCode: 0
> pwdLastSet: 129756792826281720
> primaryGroupID: 513
> objectSid:: AQUAAAAAAAUVAAAAlDfe6z2UYrezklsJdycAAA==
> accountExpires: 9223372036854775807
> sAMAccountName: sogo
> sAMAccountType: 805306368
> userPrincipalName: sogo at avalon.com.es
> objectCategory: CN=Person,CN=Schema,CN=Configuration,DC=avalon,DC=com,DC=es
> dSCorePropagationData: 20120308125326.0Z
> dSCorePropagationData: 20120308125326.0Z
> dSCorePropagationData: 20120308125326.0Z
> dSCorePropagationData: 16010108151056.0Z
> lastLogonTimestamp: 129757002741425590
>
>
Change your ldap-aliases.cf to:

server_host = 10.48.1.198
bind = yes
version = 3
bind_dn= cn=sogoprueba,cn=Users,dc=avalon,dc=com,dc=es
bind_pw= password
search_base = dc=Avalon,dc=com,dc=es
query_filter = (&(objectClass=organizationalPerson)(mail=%s))
result_attribute = mail

Also, make sure the attribute mail is indexed in your directory (openldap)
and try running postmap -q mgilsanz at grupoavalon.es ldap:/etc/postfix/
ldap-aliases.cf again.

Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/cyrus-sasl/attachments/20120329/e55cd3df/attachment.html 


More information about the Cyrus-sasl mailing list