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: > &...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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/ |