[horde] Disable IMP for users without IMAP mailboxes

Jan Schneider jan at horde.org
Sun Aug 26 22:19:05 UTC 2007


Zitat von "Aaron E. Klemm" <aklemm at digipen.edu>:

> Hello,
>
> Is there a way to disable IMP for users without mailboxes?
>
> Our situation:
> Using composite authentication off our imap server which itself
> authenticates off ldap. We have a subset of users who should have access
> to most of our websites--the various webapps authenticate off
> ldap--including everything in Horde except for IMP (they aren't a class
> of users that we provide email to).
>
> Currently they login to Horde successfully because IMAP authenticates
> them off ldap without a problem even though we haven't created
> mailboxes. We want it this way so users can access other Horde tools,
> but they are getting very confused when they can see an email interface
> and can send messages, but cannot receive them.
>
> Would using LDAP exclusively for authentication solve the whole problem?

No.

> If so, how does LDAP auth pass on credentials to IMAP?

You should add some LDAP logic to config/registry.php that enables IMP  
on basis of the LDAP attribute that tells you whether a user has a  
mailbox or not.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the horde mailing list