[-]
[+]
|
Changed |
getmail.changes
|
|
[-]
[+]
|
Changed |
getmail.spec
^
|
|
[-]
[+]
|
Changed |
getmail-4.24.0.tar.bz2/PKG-INFO
^
|
@@ -1,6 +1,6 @@
Metadata-Version: 1.0
Name: getmail
-Version: 4.22.1
+Version: 4.24.0
Summary: a mail retrieval, sorting, and delivering system
Home-page: http://pyropus.ca/software/getmail/
Author: Charles Cazabon
|
[-]
[+]
|
Changed |
getmail-4.24.0.tar.bz2/docs/CHANGELOG
^
|
@@ -1,3 +1,24 @@
+Version 4.24.0
+11 December 2011
+ -add an explicit expunge when closing an IMAP mailbox, for servers that
+ incorrectly do not do this when the mailbox is closed. Thanks: Nicolas
+ Pomarède.
+ -fix incorrect section reference for `mailboxes` parameter in documentation.
+ Thanks: Ross Boylan.
+ -fix getmail_fetch broken in 4.21.0. Thanks: Chris Donoghue.
+
+Version 4.23.0
+20 November 2011
+
+ -fix race if new message shows up in POP3 mailbox between running the UIDL
+ and LIST commands. Thanks: Roland Koebler, Osamu Aoki.
+
+Version 4.22.2
+12 November 2011
+
+ -fix an error when logging a bad response to an IMAP SELECT command,
+ introduced in 4.21.0. Thanks: "kureshii".
+
Version 4.22.1
30 September 2011
|
[-]
[+]
|
Changed |
getmail-4.24.0.tar.bz2/docs/configuration.html
^
|
@@ -760,7 +760,7 @@
mailboxes
(<a href="#parameter-tuplestrings">tuple of quoted strings</a>)
— see
- <a href="#retriever-simpleimap">SimpleIMAPRetriever</a>
+ <a href="#retriever-parameters">common retriever parameters</a>
for definition.
</li>
<li>
@@ -919,7 +919,7 @@
mailboxes
(<a href="#parameter-tuplestrings">tuple of quoted strings</a>)
— see
- <a href="#retriever-simpleimap">SimpleIMAPRetriever</a>
+ <a href="#retriever-parameters">common retriever parameters</a>
for definition.
</li>
<li>
@@ -955,7 +955,7 @@
mailboxes
(<a href="#parameter-tuplestrings">tuple of quoted strings</a>)
— see
- <a href="#retriever-simpleimap">SimpleIMAPRetriever</a>
+ <a href="#retriever-parameters">common retriever parameters</a>
for definition.
</li>
<li>
|
[-]
[+]
|
Changed |
getmail-4.24.0.tar.bz2/docs/configuration.txt
^
|
@@ -368,8 +368,8 @@
The SimpleIMAPSSLRetriever class takes the common retriever parameters
above, plus the following optional parameters:
- * mailboxes (tuple of quoted strings) -- see SimpleIMAPRetriever for
- definition.
+ * mailboxes (tuple of quoted strings) -- see common retriever parameters
+ for definition.
* move_on_delete (string) -- see SimpleIMAPRetriever for definition.
* keyfile (string) -- see SimplePOP3SSLRetriever for definition.
* certfile (string) -- see SimplePOP3SSLRetriever for definition.
@@ -426,8 +426,8 @@
parameters:
* timeout (integer) -- see SimplePOP3Retriever for definition.
- * mailboxes (tuple of quoted strings) -- see SimpleIMAPRetriever for
- definition.
+ * mailboxes (tuple of quoted strings) -- see common retriever parameters
+ for definition.
* move_on_delete (string) -- see SimpleIMAPRetriever for definition.
MultidropIMAPSSLRetriever
@@ -441,8 +441,8 @@
The MultidropIMAPSSLRetriever class also takes following optional
parameters:
- * mailboxes (tuple of quoted strings) -- see SimpleIMAPRetriever for
- definition.
+ * mailboxes (tuple of quoted strings) -- see common retriever parameters
+ for definition.
* move_on_delete (string) -- see SimpleIMAPRetriever for definition.
* keyfile (string) -- see SimplePOP3SSLRetriever for definition.
* certfile (string) -- see SimplePOP3SSLRetriever for definition.
|
[-]
[+]
|
Changed |
getmail-4.24.0.tar.bz2/getmail.spec
^
|
@@ -2,7 +2,7 @@
Summary: POP3 mail retriever with reliable Maildir delivery
Name: getmail
-Version: 4.22.1
+Version: 4.24.0
Release: 1
License: GPL
Group: Applications/Internet
@@ -52,6 +52,15 @@
%{python_sitelib}/getmailcore/
%changelog
+* Sun Dec 11 2011 Charles Cazabon <charlesc-getmail-rpm@pyropus.ca>
+-update to version 4.24.0
+
+* Sun Nov 20 2011 Charles Cazabon <charlesc-getmail-rpm@pyropus.ca>
+-update to version 4.23.0
+
+* Sat Nov 12 2011 Charles Cazabon <charlesc-getmail-rpm@pyropus.ca>
+-update to version 4.22.2
+
* Fri Sep 30 2011 Charles Cazabon <charlesc-getmail-rpm@pyropus.ca>
-update to version 4.22.1
|
[-]
[+]
|
Changed |
getmail-4.24.0.tar.bz2/getmail_fetch
^
|
@@ -48,7 +48,7 @@
if startmsg is not None:
destination.deliver_message(startmsg, False, False)
log.info('%s:\n' % retriever)
- retriever.initialize()
+ retriever.initialize(options)
destination.retriever_info(retriever)
nummsgs = len(retriever)
fmtlen = len(str(nummsgs))
|
[-]
[+]
|
Changed |
getmail-4.24.0.tar.bz2/getmailcore/__init__.py
^
|
@@ -16,7 +16,7 @@
raise ImportError('getmail version 4 requires Python version 2.3.3'
' or later')
-__version__ = '4.22.1'
+__version__ = '4.24.0'
__all__ = [
'baseclasses',
|
[-]
[+]
|
Changed |
getmail-4.24.0.tar.bz2/getmailcore/_retrieverbases.py
^
|
@@ -570,7 +570,7 @@
def _getmsglist(self):
self.log.trace()
try:
- response, msglist, octets = self.conn.uidl()
+ (response, msglist, octets) = self.conn.uidl()
self.log.debug('UIDL response "%s", %d octets'
% (response, octets) + os.linesep)
for (i, line) in enumerate(msglist):
@@ -606,11 +606,15 @@
self.log.debug('Message IDs: %s'
% sorted(self.msgnum_by_msgid.keys()) + os.linesep)
self.sorted_msgnum_msgid = sorted(self.msgid_by_msgnum.items())
- response, msglist, octets = self.conn.list()
+ (response, msglist, octets) = self.conn.list()
for line in msglist:
msgnum = int(line.split()[0])
msgsize = int(line.split()[1])
- self.msgsizes[self.msgid_by_msgnum[msgnum]] = msgsize
+ msgid = self.msgid_by_msgnum.get(msgnum, None)
+ # If no msgid found, it's a message that wasn't in the UIDL
+ # response above. Ignore it and we'll get it next time.
+ if msgid is not None:
+ self.msgsizes[msgid] = msgsize
except poplib.error_proto, o:
raise getmailOperationError(
'POP error (%s) - if your server does not support the UIDL '
@@ -881,6 +885,9 @@
return
if self.mailbox is not None:
# Close current mailbox so deleted mail is expunged.
+ # Except one user reports that an explicit expunge is needed with
+ # his server, or else the mail is never removed from the mailbox.
+ self.conn.expunge()
self.conn.close()
self.log.debug('selecting mailbox "%s"' % mailbox + os.linesep)
try:
@@ -898,7 +905,7 @@
except (IndexError, ValueError), o:
raise getmailOperationError(
'IMAP server failed to return correct SELECT response (%s)'
- % response
+ % o
)
self.log.debug('select(%s) returned message count of %d'
% (mailbox, count) + os.linesep)
|