[Cyrus-CVS] src/cyrus/imap by brong

brong at andrew.cmu.edu brong at andrew.cmu.edu
Mon Nov 16 22:34:30 EST 2009


Update of /afs/andrew.cmu.edu/system/cvs/src/cyrus/imap
In directory cyrus-devel-01.andrew.cmu.edu:/afs/andrew.cmu.edu/usr3/brong/src/cyrus/imap

Modified Files:
	mboxlist.c 
Log Message:
Limit User Folders

A user managed to synchronise our server with their UWash IMAP
server's view of a very busy home directory, creating tens of
thousands of folders and showing that there's a DOS risk against
mailboxes.db here.

This patch creates a new config variable user_folder_limit which,
if set, returns IMAP_PERMISSION_DENIED to any further attempts to
create a folder if the user has too many folders already.


--- links to diffs follow ---
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/mboxlist.c.diff?r1=1.271&r2=1.272


More information about the Cyrus-cvs mailing list