Re: [exim] howto store virtual users in ldap

Pàgina inicial
Delete this message
Reply to this message
Autor: Jonathan Vanasco
Data:  
A: exim-users
Assumpte: Re: [exim] howto store virtual users in ldap

I created my own schema.

OrganizationalUnit: Email
FullyQualifiedDomainName: domain.com
MAIL: username@fqdn

I decided to be redundant and require the fqdn as part of the login,
because users seem to be easier trained at thinking of their full email
address as their username, and not just their local part

objectclass ( 1.3.6.1.4.1.16650.1.2.5 NAME 'MOBAltEmailRecord' SUP top  
STRUCTURAL
         DESC 'Masters of Branding : Alternate Email Record'
         MUST ( mail )
         MAY ( seeAlso $ maildir $ mobPerson $ mobEmailAt $  
userPassword) )


creating a user, i load a .diff like this into the tree:
--------
dn:
mail=username@???,fqdn=mastersofbranding.com,ou=Email,
o=mobwire,dc=redivi,dc=com
objectClass: MOBAltEmailRecord
mail: username@???
maildir: /var/spool/mail/mastersofbranding.com/u/username
userPassword:password