From: Peter B. <pe...@br...> - 2004-04-10 11:35:49
|
Hi, I'm a new user. First, I realy like this webmail application and I'm = planning to use it for some of our users. I've found the latest Ilohamail-nightly (and probably earlier versions = too) to contain a small bug in the quota handling. I'm running it on a windows 2003 server (please don't hit me). Using = IMAP, when the mailserver does not give a valid response to the user quota = things go wrong. My mailserver apparantly always returns 0. That will give the following error displayed to the user: Warning: Division by zero in D:\html\webmail.<privacy>.com\IlohaMail\include\imap.inc on line 1341 Disk Usage: 6KB/0KB (100% free) It will mess up the layout also. So, best things to do probably are: - Check for invalid respons from the mailserver, if the quota =3D 0 then = just display the Disk Usage and do not show or calculate the quota. - Make the 'display quota' option configurable by the administrator so = users can not turn it on when the administrator has disabled this feature. - Implement some value in the config files, much like there's also one = for POP3 quota's, that will be used for unkown quotas. So, if a user knows = his quota he can fill it in himself. Regards, Peter |