Re: [Exim] LDAP Schema for exim4

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: rtm
Data:  
Para: Kai Riasol Gonzalez, exim-users
Asunto: Re: [Exim] LDAP Schema for exim4
Here is our schema file. As you will see, it is modified from qmail-ldap's schema file, and add some extra attributes.
__________________________________
http://postmastertalk.net = Community for postmasters.

cat tpuser.schema
____________________________________________________________________
attributetype ( 1.3.6.1.4.1.13056.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.26 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.13056.1.2.1.4 NAME 'mailAlternateAddress'
        DESC 'Secondary (alias) mailaddresses for the same user'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreIA5SubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )

#attributetype ( 1.3.6.1.4.1.13056.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.13056.1.2.1.6 NAME 'mailHost'
        DESC 'On which mail server the messagestore of this user is located.'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreIA5SubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} SINGLE-VALUE)

attributetype ( 1.3.6.1.4.1.13056.1.2.1.7 NAME 'mailForwardingAddress'
        DESC 'Address(es) to forward all incoming messages to.'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreIA5SubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )

# attributetype ( 1.3.6.1.4.1.13056.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.44 )
#
# attributetype ( 1.3.6.1.4.1.13056.1.2.1.9 NAME 'qmailDotMode'
#         DESC 'Interpretation of .qmail files: both, dotonly, ldaponly, ldapwithprog, none'
#         EQUALITY caseIgnoreMatch
#         SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 SINGLE-VALUE )
#
# attributetype ( 1.3.6.1.4.1.13056.1.2.1.10 NAME 'deliveryMode'
#         DESC 'multi field entries of: normal, forwardonly, nombox, localdelivery, reply, echo'
#         EQUALITY caseIgnoreMatch
#         SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 )

attributetype ( 1.3.6.1.4.1.13056.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.15{4096} SINGLE-VALUE )

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

# attributetype ( 1.3.6.1.4.1.13056.1.2.1.14 NAME 'qmailAccountPurge'
#         DESC 'The earliest date when a mailMessageStore will be purged'
#         EQUALITY numericStringMatch
#         SYNTAX 1.3.6.1.4.1.1466.115.121.1.36 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.13056.1.2.1.15 NAME 'mailQuotaSize'
        DESC 'The size of space the user can use until further messages get bounced.'
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.13056.1.2.1.16 NAME 'mailQuotaCount'
        DESC 'The number of messages the user can use until further messages get bounced.'
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.13056.1.2.1.17 NAME 'mailSizeMax'
        DESC 'The maximum size of a single messages the user accepts.'
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.13056.1.2.1.18 NAME 'mailRecipientsMax'
        DESC 'The maximum recipients per message.'
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.13056.1.2.1.19 NAME 'sendToExternalSystem'
        DESC 'Does user be allowed to send mail to external system? (yes/no)'
        EQUALITY caseIgnoreMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.13056.1.2.1.20 NAME 'accessFromExternalSystem'
        DESC 'Does user be allowed access mail from external system? (yes/no)'
        EQUALITY caseIgnoreMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.13056.1.2.1.21 NAME 'receiveFromExternalSystem'
        DESC 'Does user be allowed receive mail from external system? (yes/no)'
        EQUALITY caseIgnoreMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.13056.1.2.1.22 NAME 'proxyAccessAllowed'
        DESC 'Does the uesr allowed to access squid proxy server: yes, no'
        EQUALITY caseIgnoreMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.13056.1.2.1.23 NAME 'mailAutoReply'
        DESC 'Is autoreply the incoming email: yes, no'
        EQUALITY caseIgnoreMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 SINGLE-VALUE )
# Object Class Definitions

objectclass ( 1.3.6.1.4.1.13056.1.2.2.1 NAME 'tpUser'
        DESC 'TPLIFE-EMail-LDAP User' SUP top AUXILIARY
        MUST ( mail $ uid )
        MAY ( mailMessageStore $ userPassword $ mailAlternateAddress $
              mailHost $ mailForwardingAddress $
              mailReplyText $ accountStatus $ mailQuotaSize $
              mailQuotaCount $ mailSizeMax $ mailRecipientsMax $
              sendToExternalSystem $ accessFromExternalSystem $
              receiveFromExternalSystem $ proxyAccessAllowed $ mailAutoReply) )

attributeType ( 1.3.6.1.4.1.13056.1.2.3.1 NAME 'groupName'
                DESC 'The display name of group' SUP name
              )

attributeType ( 1.3.6.1.4.1.13056.1.2.3.2 NAME 'groupAddress'
                DESC 'The email address of group' SUP mail
              )

attributeType ( 1.3.6.1.4.1.13056.1.2.3.3 NAME 'groupMembers'
                DESC 'All members of the group, seperated by comma'
                EQUALITY caseIgnoreMatch
                SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 SINGLE-VALUE
              )

objectclass ( 1.3.6.1.4.1.13056.1.2.2.2 NAME 'mailGroup'
        DESC '' SUP top AUXILIARY
        MUST (cn $ groupName $ groupAddress $ groupMembers)
            )



----- Original Message -----
From: "Kai Riasol Gonzalez" <exim@???>
To: <exim-users@???>
Sent: Wednesday, May 26, 2004 3:10 PM
Subject: [Exim] LDAP Schema for exim4


Hi

i want to use exim4 with ldap 2.0.23. i´m creating the ldap schema, but i
don´t know which attributetype i need.
which attributetype are needed to use exim4 with ldap?

thx

kai

--

## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##