Item8293: The last email (wrong or processed) is not deleted

pencil
Priority: Normal
Current State: Closed
Released In: n/a
Target Release:
Applies To: Extension
Component: MailInContrib
Branches: trunk
Reported By: Foswiki:Main.IgnacioAliendeGarcia
Waiting For:
Last Change By: CrawfordCurrie
-- IgnacioAliendeGarcia - 30 Sep 2009

The issue happens when the MailInContrib extension has to delete messages and always leave one of them without deletion.

We can see that the call to $server->delete( $id ) in lib/CPAN/lib/Email/Delete/POP3.pm receives a 0 to n-1 count but in our mail server (Dovecot), connecting by telnet, we can see a 1 to n count, so the last message having a 0 id is never deleted.

I've been searching for this issue all around but I found nothing about it. Maybe this extension is mainly used with another mail server that works based on 0 to n-1 count?

Code versions:
  • MailInContrib 2329 (03 Feb 2009)
  • Time::ParseDate 2006.0814
  • Email::Folder 0.855
  • Email::FolderType::Net 1.041
  • Email::MIME 1.863
  • Email::Delete 2.001

Fixed, assuming I understood the report correctly.

-- CrawfordCurrie - 07 May 2014
Topic revision: r5 - 07 May 2014, CrawfordCurrie
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy