Thanks, that did the trick. I think I had misunderstood the way the mail
entry works. I thought I needed an entry there like "username", and then
attach additional email aliases pointing to that. Serves me right for
trying to do this at 1am. Thanks for clearing it up. :)

Gordan

On Fri, 22 May 2009 09:31:36 +0200, Paul Stevens <[email protected]> wrote:
> Gordan Bobic wrote:
> 
>> USER_OBJECTCLASS = top,account,dbmailUser
>> 
>> Other than the fact that I can't seem to add the object class to an 
>> existing user to a class violation somewhere. :-/
> 
> then you are most likely missing a required attribute. dbmailUser *must* 
> have both a 'uid' and a 'mail' attribute.
> 
> below is the format I've used in the past. Adapt it for your needs and 
> feed it to ldapmodify.
> 
> ----<cut>----
> dn: uid=gordan,ou=People,dc=mydomain,dc=org
> changetype: modify
> add: objectClass
> objectClass: dbmailUser
> -
> add: mail
> mail: [email protected]
> ----<cut>----
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to