>> >> Yes, this works fine. Still have the INBOX available to delete/rename >> though. > > replace lines like: > > echo sqimap_mailbox_option_list($imapConnection, 0, $skip_folders, > $boxes, NULL, true); > > with this: > > echo preg_replace('/<OPTION VALUE="INBOX">INBOX<\/OPTION>/', '', > sqimap_mailbox_option_list($imapConnection, 0, > $skip_folders, $boxes, NULL, true )); > > > you should need to do this in the RENAME, DELETE and possibly > UNSUBSCRIBE/SUBSCRIBE sections. make sure the calls to > sqimap_mailbox_option_list are correct for each section. >
Thanks Paul, this has sorted it (in rename and delete). Now users can only delete and rename their own user created folders and took just a minute to implement:o) I expect it took you longer to come up with the code so many thanks for doing so. I would still like to get the Search Function working but am going to try out the calendars first. If I have time later I will post my system config and php.ini to see if anyone has any opinions on whether I have the settings correct. That is when I have F-Prot working correctly. It is already (I think) but it seems to take over 1 minute to scan an email with a 1 meg attachment. I am hoping I can get this speeded up a bit. When I post my config I may put it on a website and just post a link. Is this advisable to keep the posts shorter? Regards -- Paj ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. -- squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users