Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge trparky's Avatar
    Join Date
    Apr 2003
    Posts
    190

    Default IMAP: Unable to delete mail message

    On one of our customers email inboxes, he is unable to delete a mail message. I have tested this with SquirrelMail and I have determined that is happening.

    Any ideas on how to fix this issue?
    Tom Parkison – Rochen Ltd. – tom@rochen.com
    - Reseller Plans & Multiple Domain Solutions
    - http://www.rochen.com

  2. #2
    cPanel Staff
    Join Date
    Mar 2004
    Posts
    698

    Default

    Quote Originally Posted by trparky
    On one of our customers email inboxes, he is unable to delete a mail message. I have tested this with SquirrelMail and I have determined that is happening.

    Any ideas on how to fix this issue?
    Try it with Neomail (IE not PHP and not imap) and see if its able to, if not then its not an imap or PHP issue and is more likley that the inbox is locked (IE multiple logins, stale locks, etc) if so then its either PHP or imap.

    once you have that inof you can go from there in troubleshooting the specific cause.

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge trparky's Avatar
    Join Date
    Apr 2003
    Posts
    190

    Default

    Yes, NeoMail was able to delete the mail message.

    Also, this is a rather large mail file. 337 total message with the file size at 13 MB.
    Tom Parkison – Rochen Ltd. – tom@rochen.com
    - Reseller Plans & Multiple Domain Solutions
    - http://www.rochen.com

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge trparky's Avatar
    Join Date
    Apr 2003
    Posts
    190

    Default

    Also, I can't mark an email message as unread either. Something is definitely not right here.
    Tom Parkison – Rochen Ltd. – tom@rochen.com
    - Reseller Plans & Multiple Domain Solutions
    - http://www.rochen.com

  5. #5
    cPanel Partner NOC cPanel Partner NOC Badge trparky's Avatar
    Join Date
    Apr 2003
    Posts
    190

    Default

    I decided to upload the mail file to another one of our servers to test IMAP with it. That server is able to process the mail file just fine, it can delete mail, mark mail as read and unread as if nothing is wrong.
    Tom Parkison – Rochen Ltd. – tom@rochen.com
    - Reseller Plans & Multiple Domain Solutions
    - http://www.rochen.com

  6. #6
    cPanel Staff
    Join Date
    Mar 2004
    Posts
    698

    Default

    kill all the imap proceeses, someone is probably logged in elsewhere to the same account and so its locked.

  7. #7
    cPanel Partner NOC cPanel Partner NOC Badge trparky's Avatar
    Join Date
    Apr 2003
    Posts
    190

    Default

    Ok, this is the output of what I executed on the server.

    Code:
    root@server [~/scripts]# ps -aef | grep map
    jrmarino  4841     1  0 Jun29 ?        00:00:00 imapd
    jrmarino 20187     1  0 Jul03 ?        00:00:00 imapd
    jrmarino 21459     1  0 Jul12 ?        00:00:00 imapd
    jrmarino 29407     1  0 Jul18 ?        00:01:16 imapd
    cfonte   23248 10440  0 12:12 ?        00:00:00 imapd
    chrisfon 23249 10440  0 12:12 ?        00:00:01 imapd
    jrmarino  1938 10440  0 12:34 ?        00:00:00 imapd
    root     15717 11770  0 13:22 pts/1    00:00:00 grep map
    root@server [~/scripts]# killall -9 imapd
    root@server [~/scripts]# killall -9 imapd
    imapd: no process killed
    root@server [~/scripts]# ps -aef | grep map
    root     15953 11770  0 13:22 pts/1    00:00:00 grep map
    root@server [~/scripts]# /scripts/restartsrv imap
    Waiting for inetd to restart..............finished.
    
    root     16021  0.0  0.0  2068  828 ?        S    13:22   0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
    
    inetd started ok
    You were right, there were some hung IMAP processes. I killed them and restarted IMAP.

    Not only was I able to delete messages, but I was also able to mark messages as read and unread. Plus, access the mailbox faster than I was able to before.
    Tom Parkison – Rochen Ltd. – tom@rochen.com
    - Reseller Plans & Multiple Domain Solutions
    - http://www.rochen.com

  8. #8
    Member
    Join Date
    Sep 2004
    Posts
    15

    Arrow

    Quote Originally Posted by trparky
    Ok, this is the output of what I executed on the server.
    You were right, there were some hung IMAP processes. I killed them and restarted IMAP.

    Not only was I able to delete messages, but I was also able to mark messages as read and unread. Plus, access the mailbox faster than I was able to before.
    Solution confirmed. Kill all Imapd and restart it.
    ---------------------
    Cybergreetings

    Blackcat

  9. #9
    Member
    Join Date
    Jul 2002
    Posts
    367

    Default

    Thank you for note. Also, is it happened for IMAP emal only?

Similar Threads & Tags
Similar threads

  1. imap failure message? how to check this?
    By rmackay in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 09-05-2008, 11:13 PM
  2. Unable to send message
    By SNN in forum E-mail Discussions
    Replies: 0
    Last Post: 09-04-2008, 09:49 PM
  3. Unable to sent any message via smtp
    By ArtemZ in forum E-mail Discussions
    Replies: 1
    Last Post: 02-12-2008, 01:27 PM
  4. Replies: 2
    Last Post: 08-15-2007, 07:00 AM
  5. Replies: 2
    Last Post: 10-27-2003, 07:11 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube