mail us  |  mail this page

contact us
training  | 
tech stuff  | 

Appendix E: OpenLDAP qmail.schema

This schema is released with a standard qmail distribution.

#
# qmail-ldap v3 directory schema
#
# The offical qmail-ldap OID assigned by IANA is 7914
#
# Created by: David E. Storey <dave@tamos.net>
# Modified and included into qmail-ldap by Andre Oppermann <opi@nrg4u.com>
#
# I've gone through this schema and I think it is now correct but I'm
# not 100% certain. The next release will clear it up.
#
# This schema depends on:
#	- core.schema
#	- cosine.schema
#

# Attribute Type Definitions

 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
  SINGLE-VALUE )

 attributetype ( 1.3.6.1.4.1.7914.1.2.1.2 NAME 'qmailGID'
  DESC 'GID of the user on the mailsystem'
  EQUALITY integerMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.36
  SINGLE-VALUE )

 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
  SINGLE-VALUE )

 attributetype ( 1.3.6.1.4.1.7914.1.2.1.4 NAME 'mailAlternateAddress'
  SUBSTR caseIgnoreSubstringsMatch
  DESC 'Secondary (alias) mailaddresses for the same user'
  EQUALITY caseIgnoreIA5Match
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

 attributetype ( 1.3.6.1.4.1.7914.1.2.1.5 NAME 'mailQuota'
  DESC 'The amount of space the user can use until all further messages get bounced.'
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.44
  SINGLE-VALUE )

 attributetype ( 1.3.6.1.4.1.7914.1.2.1.6 NAME 'mailHost'
  DESC 'On which qmail server the messagestore of this user is located.'
  EQUALITY caseIgnoreIA5Match
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.44
  SINGLE-VALUE )

 attributetype ( 1.3.6.1.4.1.7914.1.2.1.7 NAME 'mailForwardingAddress'
  DESC 'Address(es) to forward all incoming messages to.'
  EQUALITY caseIgnoreIA5Match
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

 attributetype ( 1.3.6.1.4.1.7914.1.2.1.8 NAME 'deliveryProgramPath'
  DESC 'Program to execute for all incoming mails.'
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  SINGLE-VALUE )

 attributetype ( 1.3.6.1.4.1.7914.1.2.1.9 NAME 'qmailDotMode'
  DESC 'Interpretation of .qmail files: both, dotonly, ldaponly, ldapwithprog, none'
  EQUALITY caseIgnoreIA5Match
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.44
  SINGLE-VALUE )

 attributetype ( 1.3.6.1.4.1.7914.1.2.1.10 NAME 'deliveryMode'
  DESC 'multi field entries of: normal, forwardonly, nombox, localdelivery, reply, echo'
  EQUALITY caseIgnoreIA5Match
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 )

 attributetype ( 1.3.6.1.4.1.7914.1.2.1.11 NAME 'mailReplyText'
  DESC 'A reply text for every incoming message'
  SUBSTR caseIgnoreSubstringsMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.44{4096}
  SINGLE-VALUE )

 attributetype ( 1.3.6.1.4.1.7914.1.2.1.12 NAME 'accountStatus'
  DESC 'The status of a user account: active, nopop, disabled'
  EQUALITY caseIgnoreIA5Match
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.44
  SINGLE-VALUE )

# Object Class Definitions

 objectclass ( 1.3.6.1.4.1.7914.1.2.2.1 NAME 'qmailUser'
  DESC 'QMail-LDAP User' SUP top AUXILIARY
  MUST ( mail $ uid )
  MAY ( mailMessageStore $ homeDirectory $ userPassword $
     mailAlternateAddress $ qmailUID $ qmailGID $ mailQuota $
     mailHost $ mailForwardingAddress $ deliveryProgramPath $
     qmailDotMode $ deliveryMode $ mailReplyText $
     accountStatus ) )


Problems, comments, suggestions, corrections (including broken links) or something to add? Please take the time from a busy life to 'mail us' (at top of screen), the webmaster (below) or info-support at zytrax. You will have a warm inner glow for the rest of the day.

Contents

tech info
guides home
intro
contents
1 objectives
big picture
2 concepts
3 ldap objects
quickstart
4 install ldap
5 samples
6 configuration
7 replica & refer
reference
8 ldif
9 protocol
10 ldap api
operations
11 howtos
12 trouble
13 performance
14 ldap tools
security
15 security
appendices
notes & info
ldap resources
rfc's & x.500
glossary
ldap objects
change log

Creative Commons License
This work is licensed under a Creative Commons License.

If you are happy it's OK - but your browser is giving a less than optimal experience on our site. You could, at no charge, upgrade to a W3C STANDARDS COMPLIANT browser such as Firefox

Search

web zytrax.com

Share

Icons made by Icomoon from www.flaticon.com is licensed by CC 3.0 BY
share page via facebook tweet this page

Page

email us Send to a friend feature print this page Display full width page Decrease font size Increase font size

Resources

Systems

FreeBSD
NetBSD
OpenBSD
DragonFlyBSD
Linux.org
Debian Linux

Software

LibreOffice
OpenOffice
Mozilla
GitHub
GNU-Free SW Foundation
get-dns

Organizations

Open Source Initiative
Creative Commons

Misc.

Ibiblio - Library
Open Book Project
Open Directory
Wikipedia

Site

CSS Technology SPF Record Conformant Domain
Copyright © 1994 - 2017 ZyTrax, Inc.
All rights reserved. Legal and Privacy
site by zytrax
Hosted by super.net.sg
web-master at zytrax
Page modified: October 21 2015.