how to delete an imap folder on the commandline

Discussion in 'Server Operation' started by Ovidiu, Jan 11, 2007.

  1. Ovidiu

    Ovidiu Active Member

    hi there,

    recently severall of my mailboxes have started showing me a new subfolder.
    I tried manually deleting by deleting the folder, but it keeps reappearing so I guess I have to delete it with a special command something like deleteimapfolder or whatever but I did not find anything with google and only 3 posts when I searched the forum for "delete imap folder"
     
  2. martinfst

    martinfst HowtoForge Supporter

    I think you need to delete the folder using your mail client. Otherwise when you delete it on the server, the mailclient still is subscribed and re-creates. I think.
     
  3. Ovidiu

    Ovidiu Active Member

    wel I am only using squirrelmail to read mails no other client and squirrelmail sees the folder but I cannot click on it... I can't delete it and I can't unsubscribe because it is not listed in squirrelmails lists...

    thats why I thought I have to delete it by commandline with a special command not just a rmdir or something like that...
     
  4. martinfst

    martinfst HowtoForge Supporter

    In Squirrelmail there's a 'folders' menu item. Did you use that?
     
  5. Ovidiu

    Ovidiu Active Member

    in the folders menue I only see folders below INBOx but the folder I am talking about, called Sent2007 is on the same level as INBOX. => I do not see it in any of squirrelmails list, so I cannot unsubscribe, cannot delete it.
     
  6. martinfst

    martinfst HowtoForge Supporter

    Sorry, I didn't mean this folders menu. In the right pane, at the to there's a list of special commands you can use:
    Code:
    Compose   Addresses   Folders   Options   Search   Help
    Use this Folders link to get a special menu to manipulate folders, ever folders you're not subscribed on.
     
  7. Ovidiu

    Ovidiu Active Member

    believe me I tried all that.
    you mean the menue where I can create, delete, subscribe/unsubscribe to folders, but like I said, these lists only contain subfolders of INBOx and as this one is not below INBOX....


    ###edit###

    I do not udnerstand this anymore, in the delete, rename and subscribe/unsubscribe list I only see folders below INBOX, but not INBOX.Sent2007
    When I goto to the create folder menue and in the menue where I select under which folder the new one should appear, I see all folders, even those missing from the other lsits, but it does not help me
     
    Last edited: Jan 12, 2007
  8. martinfst

    martinfst HowtoForge Supporter

    I'm sorry, I'm not into the details of IMAP:(, and something looks terribly wrong. I have no idea if your IMAP server holds some information somewhere. Which IMAP server are you using?
     
  9. Ovidiu

    Ovidiu Active Member

    I originally followed the perfect debian 3.1 setup => Courier-IMAP
     
  10. sjau

    sjau Local Meanie

    tenaka

    you don't see the folder Inbox.Sent in Outlook or any other email client?
     
  11. Ovidiu

    Ovidiu Active Member

    have no outlook right now available, did never use a client, just webmail...
     

Share This Page