Missing attribute from Amavis LDAP schema for LDAP disclaimer support
Mark Martinec
Mark.Martinec+amavis at ijs.si
Sat Jun 29 15:29:24 CEST 2013
Quanah,
> I was reading through the release notes, and it appears you did attempt to
> get the dynamic altermime fix into Amavis. However, it appears incomplete.
> > release notes:
> - added LDAP attribute amavisDisclaimerOptions, along with its corresponding
> SQL field 'disclaimer_options'. It finds its way to the list of lookup
> tables @disclaimer_options_bysender_maps, so the replacement of the
> _OPTIONS_ placeholder in @altermime_args_disclaimer could be made dynamic;
> suggested by Quanah Gibson-Mount;
>
> However, there is no such attribute in the Amavis LDAP schema.
> It is only referenced in amavisd:
> @ldap_attrs = qw(amavisLocal amavisMessageSizeLimit
> Is this because there is more work remaining, or is it expected the feature
> should work as long as the attribute actually exists?
Should work as long as the attribute actually exists.
> I created the attribute in my amavis builds with the following definition.
> Not sure how you intended it to be:
>
> olcAttributeTypes: {46}(
> 1.3.6.1.4.1.15312.2.2.1.47
> NAME 'amavisDisclaimerOptions'
> DESC 'Altermime disclaimer map data'
> EQUALITY caseIgnoreIA5Match
> SUBSTR caseIgnoreIA5SubstringsMatch
> SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256}
> SINGLE-VALUE )
>
> With this in place, I can now enable/disable per-domain disclaimers without
> having to restart Amavis, which is great!
Thanks! Adding this to LDAP.schema.
Missed the 2.8.1, but it will be in the next version.
Mark
More information about the amavis-users
mailing list