Postfix cyrus imap

Mikel mgilsanz at grupoavalon.es
Wed Mar 28 12:40:29 EDT 2012


Thank you Steve

The matter is that, I have configurated ldap-aliases.cf 

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
ldap_filter = *
result_attribute = mail
#special_result_filter = %u@%d

But if I run:

postmap -q mgilsanz at grupoavalon.es ldap:/etc/postfix/ldap-aliases.cf

or

postmap -q mgilsanz ldap:/etc/postfix/ldap-aliases.cf


I don't get nothing....and I think that the problem about postfix is not
able to find users.

If I query to ldap with ldapsearch:

ldapsearch -P3 -a never -x -H ldap://10.48.1.198 -D 'cn=
sogoprueba,cn=Users,dc=avalon,dc=com,dc=es' -w password -b
'dc=Avalon,dc=com,dc=es' '(cn=*)' mail | grep mgilsanz   the result is:

mail: mgilsanz at grupoavalon.es

I answer about the filter on ldap-aliases.cf of postfix

how about result_attribute = mail in ldap-aliases.cf because if I am be
able to do ldapsearch
and find user mgilsanz How can I do the same query in ldap-aliases.cf to
find users in my domain?

Any idea, I think that the problem is Ldap query but I don't know what
is wron...


Thank you very much!!

Mikel Gilsanz Prieto

Responsable Dpto. Sistemas / IT Manager





Gran Vía 81, 8º, Dpto. 9

48011 Bilbao

+34944415140 (Ext. 204) +34650049384 +34944415192

mgilsanz at grupoavalon.es

www.grupoavalon.es

Este mensaje se dirige exclusivamente a su destinatario y puede contener
información privilegiada o confidencial. Si no es Vd. el destinatario
indicado, queda notificado de que la utilización, divulgación y/o copia
sin autorización está prohibida en virtud de la legislación vigente. Si
ha recibido este mensaje por error, le rogamos que nos lo comunique
inmediatamente por esta misma vía y proceda a su destrucción. Le
informamos que su dirección de correo electrónico, así como el resto de
los datos de carácter personal aportados, serán objeto de tratamiento
automatizado en nuestros ficheros, con la finalidad de gestionar la
agenda de contactos de nuestra entidad y poder atender a sus peticiones.
Vd. podrá en cualquier momento ejercer el derecho de acceso,
rectificación, cancelación y oposición en los términos establecidos en
la Ley Orgánica 15/1999 mediante notificación a info at grupoavalon.es

 Antes de imprimir este mensaje, piense si es necesario. El medio
ambiente está en nuestras manos.



El mié, 28-03-2012 a las 18:14 +0200, Stephen Ingram escribió:
> On Wed, Mar 28, 2012 at 1:59 AM, Mikel <mgilsanz at grupoavalon.es>
> wrote:
> 
>         Thank you
>         
>         The saslauthd is working well, if I run:
>         
>         testsaslauthd -u mgilsanz -p password
>         0: OK "Success."
>         
>         It fine well, 
>         
>         How can I use that to postfix? I use that with IMAP now and
>         login is working
>         But postfix dosen't need aliases-map, etc... or it can use
>         saslauthd to find the users and mailbox?
>         
> 
> 
> Postfix can use saslauthd as well, but for authentication only. You
> still need to setup aliases-map, etc. so it knows what addresses to
> accept mail for.
> 
> 
> Steve 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/cyrus-sasl/attachments/20120328/a0746f1c/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arbolito.gif
Type: image/gif
Size: 105 bytes
Desc: not available
Url : http://lists.andrew.cmu.edu/pipermail/cyrus-sasl/attachments/20120328/a0746f1c/attachment.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fax.gif
Type: image/gif
Size: 179 bytes
Desc: not available
Url : http://lists.andrew.cmu.edu/pipermail/cyrus-sasl/attachments/20120328/a0746f1c/attachment-0001.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: movil.gif
Type: image/gif
Size: 63 bytes
Desc: not available
Url : http://lists.andrew.cmu.edu/pipermail/cyrus-sasl/attachments/20120328/a0746f1c/attachment-0002.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tfno.gif
Type: image/gif
Size: 298 bytes
Desc: not available
Url : http://lists.andrew.cmu.edu/pipermail/cyrus-sasl/attachments/20120328/a0746f1c/attachment-0003.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AvalonimagenFirma.jpg
Type: image/jpeg
Size: 1447 bytes
Desc: not available
Url : http://lists.andrew.cmu.edu/pipermail/cyrus-sasl/attachments/20120328/a0746f1c/attachment.jpg 


More information about the Cyrus-sasl mailing list