Bluehost.com Web Hosting $6.95

Re: LDAP question

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 > ...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-27-2005
Angel L. Mateo
 
Posts: n/a
Default Re: LDAP question

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

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 12:34 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0