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?
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
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.Originally Posted by trparky
once you have that inof you can go from there in troubleshooting the specific cause.
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
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
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
kill all the imap proceeses, someone is probably logged in elsewhere to the same account and so its locked.
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.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
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
Solution confirmed. Kill all Imapd and restart it.Originally Posted by trparky
![]()
---------------------
Cybergreetings
Blackcat
Thank you for note. Also, is it happened for IMAP emal only?