On 08/03/2011 02:05 AM, Darko Hojnik wrote:

> So my question now is: Do I need by using LDAP really UID and GID for
> each user? I'm using DBmail 2.2.17 on RHEL and on FreeBSD is DBmail
> 2.3.6 available

Yes. DBMail need numerical IDS for users. However, you don't need to use
the uidNumber/gidNumber of you prefer not to use posixAccount. The
dbmailUser schema object contains fields just for that: dbmailUID and
dbmailGID. You are free to use those (or create your own).

The GID stuff is just management sugar. It's not used in any delivery or
quota policy code.

> 
> the current part about LDAP for DBmail is
> 
> USER_OBJECTCLASS=top,mailDomain,mailAlternateAddress,mailForwardingAddress,account,dbmailUser,mailQuota
> 
> FORW_OBJECTCLASS=top,account,dbmailForwardingAddress
> CN_STRING=uid
> FIELD_PASSWD=userPassword
> FIELD_UID=uid
> FIELD_NID=uidNumber
> MIN_NID=10000
> MAX_NID=15000
> FIELD_CID=gidNumber
> MIN_CID=10000
> MAX_CID=15000
> FIELD_MAIL=mail
> FIELD_QUOTA=mailQuota
> FIELD_FWDTARGET=mailForwardingAddress
> 
> I didn't try it. But it would be awesome for me to get DBmail running
> with LDAP together again. But without to set a UID or GID for each user.


-- 
________________________________________________________________
Paul J Stevens        pjstevns @ gmail, twitter, skype, linkedin

  * Premium Hosting Services and Web Application Consultancy *

           www.nfg.nl/[email protected]/+31.85.877.99.97
________________________________________________________________
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to