Eventum Mail Processing Enhancements

Bug #1481894 reported by Kevin Seymour
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Eventum
Fix Released
Wishlist
Elan Ruusamäe

Bug Description

This set of patches resolves several issues regarding email processing:

1) Stops expunging each email during a delete and does a single expunge at the end.
2) Only notifies on a new ticket, when creating from an email, if the sender is allowed to send an email (workflow hook).
3) Perform an IMAP expunge in the close routing before closing the IMAP connection.
4) Add a new function, getNewEmails($mbox), to search for unread emails only, instead of reading the entire mailbox front to back, with an IMAP search if that functionality is enabled.
5) Use new getNewEmails function in email cron process.
6) Close IMAP connections when cron finishes (we observed hanging/ memory leakage in Windows IMAP services when not properly closing).

Revision history for this message
Kevin Seymour (kevin-seymour-gmail) wrote :
Revision history for this message
Kevin Seymour (kevin-seymour-gmail) wrote :
Revision history for this message
Elan Ruusamäe (glen666) wrote :

looked good, so committed

https://github.com/eventum/eventum/commit/864bcfa91fb049dd72253b4ed2f923503597bad4

but it would be a lot easier if you opened Pull-Request in github instead of attaching patches to launchpad.

yes, i know documentation has not been updated how to submit contributions.

Changed in eventum:
assignee: nobody → Elan Ruusamäe (glen666)
importance: Undecided → Wishlist
milestone: none → 3.0
status: New → Fix Released
Revision history for this message
Elan Ruusamäe (glen666) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.