← Back to team overview

openerp-india team mailing list archive

[Bug 1296724] [NEW] fetchmail: emails having an error during import are set as SEEN

 

Public bug reported:

The fetchmail module imports emails in OpenERP from IMAP or POP3 servers. It browses the UNSEEN emails in the mailbox, then imports them in OpenERP, eventually creating associated records (claims, leads, ...).
This bug happens with IMAP and POP3, but slightly differently.

Scenario:

I setup OpenERP to create claims in OpenERP for every mail that is received in a mailbox.
For some reason, some mails fails to be imported. However, OpenERP set them as SEEN (for IMAP; it deletes them on a POP server), so they They will never be imported again because they are now read on the server. So we can't know which emails have generated a claim and which have not.

Workaround: set all the emails to unread from the inbox, they will be
imported again and OpenERP will ignore the duplicates using the message-
id.

Expected:
It let them as UNSEEN when it could not import them so we have more chance to detect the failure, and as soon as the origin of the former failure is corrected, the emails are imported again.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1296724

Title:
  fetchmail: emails having an error during import are set as SEEN

Status in OpenERP Addons (modules):
  New

Bug description:
  The fetchmail module imports emails in OpenERP from IMAP or POP3 servers. It browses the UNSEEN emails in the mailbox, then imports them in OpenERP, eventually creating associated records (claims, leads, ...).
  This bug happens with IMAP and POP3, but slightly differently.

  Scenario:

  I setup OpenERP to create claims in OpenERP for every mail that is received in a mailbox.
  For some reason, some mails fails to be imported. However, OpenERP set them as SEEN (for IMAP; it deletes them on a POP server), so they They will never be imported again because they are now read on the server. So we can't know which emails have generated a claim and which have not.

  Workaround: set all the emails to unread from the inbox, they will be
  imported again and OpenERP will ignore the duplicates using the
  message-id.

  Expected:
  It let them as UNSEEN when it could not import them so we have more chance to detect the failure, and as soon as the origin of the former failure is corrected, the emails are imported again.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1296724/+subscriptions


Follow ups

References