This comes from a mailinglist, its has the same bug i have. ------ Hello I have encountered a problem when trying to use SquirrelMail in conjunction with Web-cyradm ( http://www.delouw.ch - http://www.web-cyradm.org ) (cvs version from 13/1/2002) If I am using the $DOMAIN_AS_PREFIX=0; and #unixhierarchysep: yes options (i.e. username a0001, a0002.....) when accessing the a0001 user mailbox with SquirrelMail everything is OK and the page looks normal. In the left side/frame I've got the INBOX folder with the subfolders INBOX.Sent, INBOX.Draft and INBOX.Trash If I delete the domain I've created and switch to: $DOMAIN_AS_PREFIX=0; and #unixhierarchysep: yes options (i.e. username test.domainname.cxm) create another new domain and add users to it using this username scheme when accessing the test.domainname.cxm user mailbox with SquirrelMail the left side of the page tells me that there is an Error as the CREATE INBOX.Sent command could not be executed Permision Denied. The right frame looks OK and I can send and receive messages but no other subfolders appear under INBOX. Is there a way to bypass this problem and if yes please let me know where and how to do it. Any help will be very much appreciated. ---- Thanks a lot Joan I did get it with your help. I added a few lines in web-cyradm newacount.php to create the Draft Sent and Trash subfolders. Lines are as follows: if ($DOMAIN_AS_PREFIX) { $result=$cyr_conn->createmb("user/".$username); $result=$cyr_conn->createmb("user/".$username."/Trash"); $result=$cyr_conn->createmb("user/".$username."/Sent"); $result=$cyr_conn->createmb("user/".$username."/Draft"); } else { $result=$cyr_conn->createmb("user.".$username); $result=$cyr_conn->createmb("user.".$username."/Trash"); $result=$cyr_conn->createmb("user.".$username."/Sent"); $result=$cyr_conn->createmb("user.".$username."/Draft"); } Then guided by your tip I understood that SquirrelMail was looking for INBOX.Trash and I had INBOX/Trash (I tried to create the subfolders using createmb("user.".$username.".Trash"); but it didn't work with IMAP, don't know why) So I modified the SquirrelMail config.php file as follows: $trash_folder = 'INBOX/Trash'; $sent_folder = 'INBOX/Sent'; $draft_folder = 'INBOX/Drafts'; and keept the: $auto_create_special = true; so that the imap_mailbox.php could use it's search functions. Now it works fine. Thank you very much again for your help! Catalin Boiangiu --- [..] > Then guided by your tip I understood that SquirrelMail was looking for > INBOX.Trash and I had INBOX/Trash > (I tried to create the subfolders using > createmb("user.".$username.".Trash"); but it didn't work with IMAP, don't > know why) > So I modified the SquirrelMail config.php file as follows: > $trash_folder = 'INBOX/Trash'; > $sent_folder = 'INBOX/Sent'; > $draft_folder = 'INBOX/Drafts'; > and keept the: > $auto_create_special = true; > so that the imap_mailbox.php could use it's search functions. > Now it works fine. The creation of folders in web-cyradm is a bad Idea, because there are dumb mailclients out there. I.e. the german version of Outlook express expects a "Gel�schte\ Nachrichten" folder instead of Trash. (At least in a older Version I had, maybe fixed now?) Anyway, the mailprogram should be able to create the stuff. This is maybe an issue that should be forwared to the squirrelMail developpers. I think other users had/have the same problem when using the unixhierarchysep from cyrus 2.1.x rgds and thanks for solution Luc
------------------------------------------------------- This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html -- 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
