Results 1 to 5 of 5

Thread: How do I delete a user mailbox?

  1. #1
    gehenna is offline Junior Member
    Join Date
    Apr 2007
    Posts
    3

    Default How do I delete a user mailbox?

    Hi there,

    I recently deployed Sugar Open Source in my office. I know very little about the software but it was requested by the higher ups so i had to install it for them. Now the task of supporting it falls to me, and as I said - i know very little about it.

    I added mail details for one of the users. I allowed him access to his Exchange mailbox via POP. I tested this on my own mailbox and it worked fine with my details. I then added his mail details and proceeded to download his mailbox via POP. Unfortunately I did not notice that he has over 6000 emails in his Exchange mailbox. Sugar proceeded to download all these emails to his account.

    Following this his account ran very slowly. I noticed also that his mailbox was getting larger and larger. 7000, 8000, 9000 etc, all the way up to 24500 emails that are currently in his Sugar mailbox. As noone noticed this increase in mail box size over the last few days I have only just managed to disable his account details and stop the influx of emails.

    My problem now is: How do i delete the content of the mailbox?
    I can only select 20 emails at a time to bulk delete....is there a way to select all and delete? IF there is no gui way, can i go in using ssh and delete them from the command line?

    Any help would be greatly appreciated.

    Thanks

  2. #2
    sanjaykatiyar1's Avatar
    sanjaykatiyar1 is offline Sugar Community Member
    Join Date
    Feb 2006
    Location
    Bangalore
    Posts
    600

    Default Re: How do I delete a user mailbox?

    Sugar stores all mails in the 'emails' table.
    So you can delete mail from the table itself, but make sure only the mails related with the particular user should be deleted.
    There is one field 'to_addrs' in the 'emails' table so if you are sure that this field is with the particular user then you can write/execute one sql query in the sugar database.

    delete from emails where to_addrs='mail_Id' ;
    Sanjay Katiyar
    iPhone and Android solutions http://www.apptility.com

  3. #3
    gehenna is offline Junior Member
    Join Date
    Apr 2007
    Posts
    3

    Default Re: How do I delete a user mailbox?

    thats great thanks for the info....

    now, where do i find the database to delete the infomation you've mentioned?

  4. #4
    paikmoses's Avatar
    paikmoses is offline Sugar Community Member
    Join Date
    Jan 2006
    Posts
    541

    Default Re: How do I delete a user mailbox?

    Quote Originally Posted by gehenna
    thats great thanks for the info....

    now, where do i find the database to delete the infomation you've mentioned?
    To follow sanjaykatiyar1's instructions, you need to open your database client like phpMyAdmin. You can run the query(mentioned above) in the database that you have created for the Sugar instance.

    HTH.

    Regards,

  5. #5
    gehenna is offline Junior Member
    Join Date
    Apr 2007
    Posts
    3

    Default Re: How do I delete a user mailbox?

    hi there,
    i haven;'t had much luck getting phpMyAdmin to work but i have been able to open the database in Access. I'm able to get into the Email table and i can see all the data for the user in question, however when I select a field and try to delete it shows up saying the microsoft jet database engine stopped the process because you and another user are attempting to change the same data at the same time.

    all users are logged off properly.

    i need to delete all records from this table because only one user has ever been configured to use email and it is only that user who has the 25000 emails that need to be deleted.

    any further help greatly appreciated.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. how to delete user account
    By bmk in forum General Discussion
    Replies: 13
    Last Post: 2010-03-12, 08:39 PM
  2. Delete Employee or User problem
    By ctk in forum General Discussion
    Replies: 0
    Last Post: 2006-05-12, 06:10 PM
  3. Replies: 0
    Last Post: 2005-10-11, 03:18 AM
  4. Delete a User?
    By nzab in forum Help
    Replies: 1
    Last Post: 2004-12-09, 09:17 PM
  5. Cannot Login
    By Dillon in forum Help
    Replies: 16
    Last Post: 2004-10-13, 02:52 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •