Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000104 [Hastymail 2] Bug major have not tried 2009-04-29 09:31 2009-08-23 12:22
Reporter lastride21 View Status public  
Assigned To sailfrog
Priority normal Resolution unable to reproduce  
Status closed   Product Version
Summary 0000104: Could not move messages to the trash folder, delete aborted
Description Dear All,

I am using hastymail 2 and when i try to delete a mail i got the error.

"Could not move messages to the trash folder, delete aborted"

Please reply if there is any solution.

Regards,
Nitin B.
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0000175)
sailfrog (administrator)
2009-04-29 15:00

Can you tell me what IMAP server you are using? I can't reproduce this issue but I can see where the error is generated in the code and it tells me something is wrong with the IMAP communication. We have a debug option that should help identify the problem. In your hastymail2.conf file change the show_imap_debug option to true. Then rebuild the hastymail2.rc file, log into your account and try to delete a message. Below the interface will be the IMAP debug output. If you could copy/paste that into this report I am confident it will explain what is going wrong.

Thanks,
Jason
(0000176)
lastride21 (reporter)
2009-04-30 01:37

Hi Jason,

Thanks for the reply ..

I am using Postfix mail server with Courier-IMAP server and the hastymail 1 was working fine with it.

Here is the debug output, when i try to delete the mail.

########################################################
IMAP commands

0.0498 A1 LOGIN "abc@xyz.net" "xxxx"
0.056 (0.0062) A2 SELECT "INBOX"
0.0793 (0.0233) A3 UID COPY 9289 "Trash"
0.0806 (0.0013) A4 SELECT "INBOX"
0.1031 (0.0225) A5 UID SEARCH (UNSEEN) ALL
0.1051 (0.002) A6 LOGOUT

IMAP responses

0.0559 A1 OK LOGIN Ok.
0.0788 (0.023) A2 OK [ READ-WRITE ] Ok
0.0797 (0.0008) A3 NO Error in IMAP command received by server.
0.1027 (0.0231) A4 OK [ READ-WRITE ] Ok
0.1043 (0.0016) A5 OK SEARCH done.

##################################################


Regards,
Nitin B.
(0000178)
lastride21 (reporter)
2009-05-08 02:52

Hi Jason,

I edition to above i got this error in http error log..

PHP Fatal error: Call to undefined function: memory_get_peak_usage() in /var/www/html/hastymail/index.php on line 399, referer: https://mail.xyz.net/hastymail/?page=login [^]


Please reply if there is any solution for this..........
(0000179)
sailfrog (administrator)
2009-05-12 23:04

The error is because of a problem with the show_cache_usage option in the hastymail2.conf file. You can disable that to fix the problem with memory_get_peak_usage (it is also fixed in the current SVN).

I am not sure what is wrong with the delete option, the debug output you supplied looks valid to me. I will setup courier and see if I can reproduce.
(0000180)
lastride21 (reporter)
2009-05-26 03:39

Dear sailfrog

the show_cache_usage is already set to false and did you find any thing with your setup..
(0000181)
sailfrog (administrator)
2009-05-28 23:41

Finally did some courier testing. I think I know what the problem might be. What do you have set in the config file for the imap_folder_prefix setting? It should be set to INBOX for courier.
(0000225)
sailfrog (administrator)
2009-08-02 15:38

When using Courier the imap_folder_prefix in the hastymail2.conf file should be set to INBOX, if you have this set and still have problems please respond. I have no problem deleting messages with Courier if this setting is in place.

Thanks,
Jason
(0000244)
sailfrog (administrator)
2009-08-23 12:22

I have not heard back from you on this and have no problem deleting messages with hastymail on multiple test systems including courier.

Jason

- Issue History
Date Modified Username Field Change
2009-04-29 09:31 lastride21 New Issue
2009-04-29 10:11 sailfrog Status new => assigned
2009-04-29 10:11 sailfrog Assigned To => sailfrog
2009-04-29 15:00 sailfrog Note Added: 0000175
2009-04-30 01:37 lastride21 Note Added: 0000176
2009-05-08 02:52 lastride21 Note Added: 0000178
2009-05-12 23:04 sailfrog Note Added: 0000179
2009-05-26 03:39 lastride21 Note Added: 0000180
2009-05-28 23:41 sailfrog Note Added: 0000181
2009-08-02 15:38 sailfrog Note Added: 0000225
2009-08-02 15:38 sailfrog Status assigned => feedback
2009-08-23 12:22 sailfrog Status feedback => closed
2009-08-23 12:22 sailfrog Note Added: 0000244
2009-08-23 12:22 sailfrog Resolution open => unable to reproduce
2009-08-23 12:22 sailfrog Fixed in Version => SVN


Mantis 1.1.1[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker