[horde] Refuse users without mailbox

Patrick Boutilier boutilpj at ednet.ns.ca
Mon Mar 10 14:28:09 UTC 2008


Michael Menge wrote:
> 
> Quoting Paul van der Vlis <paul at vandervlis.nl>:
> 
>>
> 
>> Realize that Cyrus IMAP does not create mailboxes automatically.
> Which version do you use? You can create them with autocreate on 
> firstlogin.

He doesn't want those users to have mailboxes.

> 
>> So you can have users with correct authentication but without mailbox.
>> I would like to refuse such users.
>>
> How do you authenticate your users in Horde? Cyrus refuses users without 
> INBOX if you don't use the autocreate feature.

Not true. We use Cyrus with PAM authentication (pam_mysql). As long as 
PAM returns true for the authentication data provided Cyrus will 
authenticate the user. Notice how authentication is successful but INBOX 
does not exist?

[root at student dist]# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID STARTTLS AUTH=PLAIN 
SASL-IR] student.ednet.ns.ca Cyrus IMAP4 v2.3.11 server ready
. login usa xxxxxxxxxxxxx
. OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID LOGINDISABLED ACL 
RIGHTS=kxte QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME 
UNSELECT CHILDREN MULTIAPPEND BINARY SORT SORT=MODSEQ 
THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE CATENATE CONDSTORE 
IDLE URLAUTH] User logged in
. SELECT INBOX
. NO Mailbox does not exist
. logout
* BYE LOGOUT received
. OK Completed
Connection closed by foreign host.


> 
> -------------------------------------------------------------------------------- 
> 
> M.Menge                                 Tel.: (49) 7071/29-70316
> Universitaet Tuebingen                  Fax.: (49) 7071/29-5912
> Zentrum fuer Datenverarbeitung          mail: 
> michael.menge at zdv.uni-tuebingen.de
> Waechterstrasse 76
> 72074 Tuebingen
> 



More information about the horde mailing list