Jeff Huang wrote:
> My email is a virtual domain email server.
> And there are tow status for the email,one is the account status and
> another is domain status.
> So if the domain status is inactive,the accounts of this domain must be
> inactive too.
> But in fact in ldap,the domain status is inactive(like
> domainStatus=inactive) and the accounts of this domain maybe active(like
> accountStatus=active).
> How can I do in the authldaprc?

You could use the authldaprc configuration variable LDAP_AUXOPTIONS to 
define ldap fields for disableimap, disablepop3 and disablewebmail which 
would allow you to disable those protocols in a courier-mta system for any 
user.

accountStatus being active would mean that those protocols are enabled, 
account status being inactive would mean those protocols are disabled 
perhaps.

disabling a domain is probably best achieved through hosteddomains rather 
than ldap.

HTH,

 -Enda. 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to