Re: [vchkpw] help me with vpopmail and ldap
Hi Diego, First, vpopmail-ldap is completely different than qmail-ldap. For this reason, you can't use the qmail-ldap schema in vpopmail-ldap setup. Many of the attributes in qmail-ldap schema are not available in vpopmail-ldap. If you want to use vpopmail-ldap, use the schema in vpopmail tarball. (vpopmail-version/ldap/qmailUser.schema) But, if you are using OpenLDAP version = 2.3, you will also have some problems with the qmailUser.schema in vpopmail. qmailUser.schema schema and vpopmail codes should be adapted for the mentioned OpenLDAP versions. Hopefully someone submitted a patch for this issue. (see https://sourceforge.net/tracker/?func=detailatid=577800aid=1609348group_id=85937 ) Please see my post to the vpopmail-devel list about this issue at the following url: https://sourceforge.net/mailarchive/forum.php?thread_name=38499.20070710153040%40endersys.com.trforum_name=vpopmail-devel Thanks. Wednesday, July 11, 2007, 4:24:59 AM, you wrote: Hello. I have qmail-ldap working, I like work with vpopmail-ldap for manager the user, but the schema of vpopmail (qmailUser.schema) dosent fit with the schema of qmail (qmail.schema) in the attributes mailQuota and qmaildomain, try to merge the schemas, but I have as strutural problem, since the to attributes are not loaded for the objectclass qmailUser. I would like to know what is the problem with the schema which I paste below. Regards. Diego Ramirez --- # # qmail-ldap (20030901) ldapv3 directory schema # # The offical qmail-ldap OID assigned by IANA is 7914 # # Created by: David E. Storey [EMAIL PROTECTED] # Modified and included into qmail-ldap by Andre Oppermann [EMAIL PROTECTED] # Schema fixes by Mike Jackson [EMAIL PROTECTED] # Schema fixes by Christian Zoffoli (XMerlin) [EMAIL PROTECTED] # # # This schema depends on: # - core.schema # - cosine.schema # - nis.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.27 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.27 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 SUBSTR caseIgnoreIA5SubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} SINGLE-VALUE ) attributetype ( 1.3.6.1.4.1.7914.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} ) # # mailQuota format is no longer supported from qmail-ldap 20030901 on, # user mailQuotaSize and mailQuotaCount instead. # attributetype ( 1.3.6.1.4.1.7914.1.2.1.5 NAME 'mailQuota' DESC 'qmail quota' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{100} SINGLE-VALUE ) # 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.' # EQUALITY caseIgnoreIA5Match caseIgnoreIA5Match # SYNTAX 1.3.6.1.4.1.1466.115.121.1.44{100} SINGLE-VALUE ) # EQUALITY caseIgnoreIA5Match 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 SUBSTR caseIgnoreIA5SubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} 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 SUBSTR caseIgnoreIA5SubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} ) attributetype ( 1.3.6.1.4.1.7914.1.2.1.8 NAME 'deliveryProgramPath' DESC 'Program to execute for all incoming mails.' EQUALITY caseExactIA5Match SUBSTR caseIgnoreIA5SubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} ) attributetype ( 1.3.6.1.4.1.7914.1.2.1.9 NAME 'qmailDotMode' DESC 'Interpretation of .qmail files: both, dotonly, ldaponly, ldapwithprog' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{32} SINGLE-VALUE ) attributetype ( 1.3.6.1.4.1.7914.1.2.1.10 NAME 'deliveryMode' DESC 'multi field entries of: nolocal,
[vchkpw] help me with vpopmail and ldap
Hello. I have qmail-ldap working, I like work with vpopmail-ldap for manager the user, but the schema of vpopmail (qmailUser.schema) dosen't fit with the schema of qmail (qmail.schema) in the attributes mailQuota and qmaildomain, try to merge the schemas, but I have as strutural problem, since the to attributes are not loaded for the objectclass qmailUser. I would like to know what is the problem with the schema which I paste below. Regards. Diego Ramirez --- # # qmail-ldap (20030901) ldapv3 directory schema # # The offical qmail-ldap OID assigned by IANA is 7914 # # Created by: David E. Storey [EMAIL PROTECTED] # Modified and included into qmail-ldap by Andre Oppermann [EMAIL PROTECTED] # Schema fixes by Mike Jackson [EMAIL PROTECTED] # Schema fixes by Christian Zoffoli (XMerlin) [EMAIL PROTECTED] # # # This schema depends on: # - core.schema # - cosine.schema # - nis.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.27 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.27 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 SUBSTR caseIgnoreIA5SubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} SINGLE-VALUE ) attributetype ( 1.3.6.1.4.1.7914.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} ) # # mailQuota format is no longer supported from qmail-ldap 20030901 on, # user mailQuotaSize and mailQuotaCount instead. # attributetype ( 1.3.6.1.4.1.7914.1.2.1.5 NAME 'mailQuota' DESC 'qmail quota' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{100} SINGLE-VALUE ) # 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.' # EQUALITY caseIgnoreIA5Match caseIgnoreIA5Match # SYNTAX 1.3.6.1.4.1.1466.115.121.1.44{100} SINGLE-VALUE ) # EQUALITY caseIgnoreIA5Match 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 SUBSTR caseIgnoreIA5SubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} 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 SUBSTR caseIgnoreIA5SubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} ) attributetype ( 1.3.6.1.4.1.7914.1.2.1.8 NAME 'deliveryProgramPath' DESC 'Program to execute for all incoming mails.' EQUALITY caseExactIA5Match SUBSTR caseIgnoreIA5SubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} ) attributetype ( 1.3.6.1.4.1.7914.1.2.1.9 NAME 'qmailDotMode' DESC 'Interpretation of .qmail files: both, dotonly, ldaponly, ldapwithprog' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{32} SINGLE-VALUE ) attributetype ( 1.3.6.1.4.1.7914.1.2.1.10 NAME 'deliveryMode' DESC 'multi field entries of: nolocal, noforward, noprogram, reply' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{32} ) attributetype ( 1.3.6.1.4.1.7914.1.2.1.11 NAME 'mailReplyText' DESC 'A reply text for every incoming message' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{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, noaccess, disabled, deleted' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) attributetype ( 1.3.6.1.4.1.7914.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.7914.1.2.1.15 NAME 'mailQuotaSize' DESC 'The size of space the user can have until further messages get bounced.' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) attributetype ( 1.3.6.1.4.1.7914.1.2.1.16 NAME 'mailQuotaCount' DESC 'The number of messages the user can have until further messages get bounced.' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) attributetype ( 1.3.6.1.4.1.7914.1.2.1.17 NAME 'mailSizeMax' DESC 'The maximum size of