Jump to content

Neely

Newbies
  • Posts

    2
  • Joined

  • Last visited

Everything posted by Neely

  1. Thanks for the quick reply. In case anyone encounters this thread and the functionality is not yet supported by the plugin - here is a perl script to make the expunge happen: To use it you will need to modify and add in the correct username/password/server information for your own environment. Code just logs into an IMAP account, goes through all of it's folders, and expunges all messages that have previously been marked for deletion. Uses the Net::IMAP::Simple module to do all the work, additional information on that can be found here: http://search.cpan.org/~jettero/Net-IMAP-Simple-1.2020/Simple.pod
  2. The act of causing the messages to be deleted from the IMAP server is supposed to be initiated from the IMAP client, via the "EXPUNGE" command - see RFC 3501: http://www.faqs.org/rfcs/rfc3501.html I am including several quotes from the RFC to highlight the relevant portion - but I believe the plugin is just using LOGOUT, which does not explicitly EXPUNGE messages marked to be deleted. A CLOSE command would EXPUNGE the messages marked for deletion, as would simply calling EXPUNGE directly. We're using your email plugin and just noticed this behavior and we're looking for a workaround for this. I'm looking at simply writing a perl script to do it externally, which would be an ugly hack, but would at least get the old mail removed regularly. Any chance you could take a look at adding a method to your plugin that would call EXPUNGE via IMAP? perhaps "EmailExpungeDeleted" or something of the sort? Thank you for your time,
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.