This is a discussion on Re: LDAP question within the mailing.postfix.users forums, part of the Mail Servers and Related category; El jue, 26-05-2005 a las 14:46 +0200, Sipos Gabor escribi=F3: > Hello everyone, >=20 > ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
El jue, 26-05-2005 a las 14:46 +0200, Sipos Gabor escribi=F3:
> Hello everyone, >=20 > I've been trying to figure out how to do this, but it seems that I > have not enough knowledge. Our system looks like this: >=20 > ||internet|| -> ||postfix mail server|| -> ||novell netmail system|| >=20 > The postfix serves as an attachment filtering gateway in front of the > netmail system (incoming direction only), there are no local users > (root and postmaster are aliases of my own mailbox), every mail gets > relayed to the real messaging server. >=20 > What I've been trying to do is to reject messages to unknown users by > using Novell's LDAP server. Can somebody explain to me how to do this? > My postfix server is v 1.1.11 (the one that came with debian 3.0r4), > postfix-ldap is installed, but I'm probably too dumb to get the stuff > working... >=20 I have done this in with the option relay_recipient_maps, including ther an ldap map against, in my case, an OpenLDAP directory. Something like this: relay_recipient_maps =3D ldap:users, users_server_host =3D myldap.mydomain.com users_server_port =3D 389 users_bind =3D yes users_bind_dn =3D <dn for my user> users_bind_pw =3D <thepassword> users_search_base =3D <base dn for my users> users_query_filter =3D (&(mail=3D%s)(objectClass=3DCourierMailAccount)) users_result_attribute =3D uid Where you have to change to addapt to your configuration. --=20 Angel L. Mateo Mart=EDnez Secci=F3n de Telem=E1tica =C1rea de Tecnolog=EDas de la Informaci=F3n _o) y las Comunicaciones Aplicadas (ATICA) / \\ http://www.um.es/atica _(___V Tfo: 968367590 Fax: 968398337 |