Re: LDAP auth, and Cyrus mailboxes..

From: Mike Beattie (no email)
Date: Thu Sep 02 2004 - 08:32:07 EDT


On Wed, Jun 16, 2004 at 11:59:08AM -0400, Rob Siemborski wrote:
> >Ok, well, it's known behaviour, perhaps I'll need to think up another
> >solution. (an ugly patch to cyrus that adds a "loginrequiresinbox:"
> >option?)
>
> This is not unreasonable. I'd probably implement it as part of the
> PROXY_POLICY callbacks to sasl (e.g. mysasl_proxy_policy).
>
> Note that you want to be sure to not exclude admins (who shouldn't have a
> mailbox) when you do this.

Ok, I've finally gotten around to doing this, since we deleted around 6.5k
student accounts last week, and some have been wondering why all their mail
was deleted... (since they can still log into horde/imp, and see an
'inbox').

Patch is attached... took me a while to figure out that imapd has its own
PROXY_POLICY callback, where the others all use the one in config.c

It's hackish, but it's a concept, and it Works For Me(tm). It may be a
starting point for something more robust.

Mike.

-- 
Mike Beattie  <>     UNIX Systems Engineer, ITS
Ph: +64 3 479 8597       Fax: +64 3 479 5080      Cell: +64 27 44 80386
* Opinions expressed are my own, not those of the University of Otago *

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html








Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD