Re: [AMaViS-user] How to use LDAP searches - new syntax

This is a discussion on Re: [AMaViS-user] How to use LDAP searches - new syntax within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; On Tue, Apr 10, 2007 at 04:06:51PM +0200, Div=E1k =C1d=E1m wrote: > Paolo Cravero wrote: > &...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2007
Michael Hall
 
Posts: n/a
Default Re: [AMaViS-user] How to use LDAP searches - new syntax

On Tue, Apr 10, 2007 at 04:06:51PM +0200, Div=E1k =C1d=E1m wrote:

> Paolo Cravero wrote:
> > Adam Divak wrote:
> >
> > Hello Adam,
> >
> > =


> >> "$spam_tag2_level_ldap =3D {res_attr =3D> 'amavisSpamTag2Level'};"
> >> =


> >
> > I have never used such an old amavis release, and never seen this synta=

x. =

> > AFAIK there is no $spam_tag2_level_ldap config attribute (see =


> > amavisd.conf-sample for a FULL list of options).
> >
> > If the LDAP entry has been extended with amavisAccount objectclass AND =

it =

> > carries amavisSpamTag2Level attribute, then the value is used.
> >
> > In other words I think attribute names have been hard-wired into amavis=

d.
> >
> > Szia,
> > Paolo
> > =


> Hello,
> =


> That is the most straightforward solution for the problem - and the one =


> I'd have never thinked of :)
> Thank you. The only question remaining is that in the old config I could =


> set up a
> search for local domain (it was called local_domain_ldap) and another =


> for the actual e-amiladdress. In the new config
> does Amavis automatically assume that any address found in the LDAP is a =


> local one
> or should i extend my LDAP search to include both the user and the domain?
> =


> Szia :)


Any address found in LDAP is assumed to be local, there is also an
attribute, 'amavisLocal' (boolean), that can be used as desired.

As mentioned your version is ancient and much has changed since then.
Perusing README.ldap and LDAP.schema should get you going.

--
42.7 percent of all statistics are made up on the spot.

Mike Hall
San Juan Island, WA

System Admin - Rock Island Communications <mikeh@rockisland.com>
System Admin - riverside.org, ssdd.org <mhall@riverside.org>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?p...orge&CID=3DDE=
VDEV
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
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 10:15 PM.


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