[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: qmail.schema



Jeroen Vriesman <jeroen.vriesman@experian.nl> writes:

> I have a qmail schema which has:
> 
> attributetype ( 1.3.6.1.4.1.7914.1.2.1.1 NAME 'qmailUID'
>         DESC 'UID of the user on the mailsystem'
>         EQUALITY integerMatch
>         SYNTAX 1.3.6.1.4.1.1466.115.121.1.36

..121.1.36 defines Numeric String (RFC 2252) so integerMatch fails. One
way is to change integerMatch to numericStringMatch (as you did), the
other to change Syntax to ..121.1.27

As you wrote there are more problems in qmail.schema:

> ... it stops complaining, but complains about the next one:
> 
> attributetype ( 1.3.6.1.4.1.7914.1.2.1.3 NAME 'mailMessageStore'
>         DESC 'Path to the maildir/mbox on the mail system'
>         EQUALITY caseExactIA5Match
>         SYNTAX 1.3.6.1.4.1.1466.115.121.1.15

If you change SYNTAX to ..121.26 it will pass the schemacheck.

> Why is that, adn should I just change the qmail.schema?

The reasons are that the EQUALITY-rules doesn't match the typedefs
(SYNTAX).

For our use we changed the schema so it passes the schemachecks. A
slightly modified qmail.schema which passes the schemacheck can be found
at http://bettercom.de/misc/qmail.schema

HTH, Martin