[Kolab-devel] new LDAP attribute for "no MX lookups"

Steffen Hansen steffen at klaralvdalens-datakonsult.se
Tue Sep 7 13:05:48 CEST 2004


On Tuesday 07 September 2004 12:55, Steffen Hansen wrote:
> On Tuesday 07 September 2004 12:44, Bernhard Reiter wrote:
> > On Monday 06 September 2004 21:01, Steffen Hansen wrote:
> > > On Monday 06 September 2004 19:09, Matt Douhan wrote:
> > > > attributetype ( 1.3.6.1.4.1.19414.2.1.509
> > > >         NAME 'postfix-nomxlookup'
> > > >         SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 )
> > >
> > > I would prefer to do without an additional attribute for this and
> > > just let the php interface add/remove the [ and ] depending on
> > > the setting. Give me a couple of hours -- I'll look at your
> > > patches and integrate them later tonight.
> >
> > Steffen,
> > until now I believe that we had everything saved in the ldap,
> > are you suggesting to break with that rule?
> > If so, it does not strike me as sensible.
>
> Ok, I have no idea what you are talking about now. What rule? What is
> saved outside LDAP?

Maybe you just understood what I meant. What the webgui code does is 
this:

 $value = trim( $_REQUEST['postfixrelayhost'] );
 if( $value != '' && !isset( $_REQUEST['postfixrelayhostmx'] ) ) {
	$value = "[$value]";
 }
 // Save $value to LDAP.


regards
-- 
Steffen Hansen          |       Klarälvdalens Datakonsult AB
Senior Software Engineer|       http://www.klaralvdalens-datakonsult.se
                        |
                        |       Platform-independent
                        |       software solutions




More information about the devel mailing list