Hello community, here is the log from the commit of package getmail for openSUSE:Factory checked in at 2012-05-31 17:04:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/getmail (Old) and /work/SRC/openSUSE:Factory/.getmail.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "getmail", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/getmail/getmail.changes 2012-04-23 16:10:56.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.getmail.new/getmail.changes 2012-05-31 17:04:57.000000000 +0200 @@ -1,0 +2,8 @@ +Sun May 20 22:07:07 UTC 2012 - [email protected] + +- update to 4.27.0: + * make use of IMAP BODY.PEEK configurable; set the IMAP retriever parameter + `use_peek` to False to disable use of PEEK to get getmail's historical IMAP + behaviour + +------------------------------------------------------------------- Old: ---- getmail-4.26.0.tar.gz New: ---- getmail-4.27.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ getmail.spec ++++++ --- /var/tmp/diff_new_pack.UoGDjY/_old 2012-05-31 17:04:58.000000000 +0200 +++ /var/tmp/diff_new_pack.UoGDjY/_new 2012-05-31 17:04:58.000000000 +0200 @@ -17,7 +17,7 @@ Name: getmail -Version: 4.26.0 +Version: 4.27.0 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://pyropus.ca/software/getmail/ ++++++ getmail-4.26.0.tar.gz -> getmail-4.27.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/getmail-4.26.0/PKG-INFO new/getmail-4.27.0/PKG-INFO --- old/getmail-4.26.0/PKG-INFO 2012-04-15 01:34:08.000000000 +0200 +++ new/getmail-4.27.0/PKG-INFO 2012-05-20 20:33:44.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.0 Name: getmail -Version: 4.26.0 +Version: 4.27.0 Summary: a mail retrieval, sorting, and delivering system Home-page: http://pyropus.ca/software/getmail/ Author: Charles Cazabon diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/getmail-4.26.0/docs/CHANGELOG new/getmail-4.27.0/docs/CHANGELOG --- old/getmail-4.26.0/docs/CHANGELOG 2012-04-15 01:33:59.000000000 +0200 +++ new/getmail-4.27.0/docs/CHANGELOG 2012-05-20 20:33:38.000000000 +0200 @@ -1,3 +1,9 @@ +Version 4.27.0 +20 May 2012 + -make use of IMAP BODY.PEEK configurable; set the IMAP retriever parameter + `use_peek` to False to disable use of PEEK to get getmail's historical IMAP + behaviour. + Version 4.26.0 14 April 2012 -switch to using BODY.PEEK in IMAP retrieval; I no longer see problems with diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/getmail-4.26.0/docs/configuration.html new/getmail-4.27.0/docs/configuration.html --- old/getmail-4.26.0/docs/configuration.html 2012-04-15 01:34:04.000000000 +0200 +++ new/getmail-4.27.0/docs/configuration.html 2012-05-20 20:33:41.000000000 +0200 @@ -572,6 +572,14 @@ postmaster if you're unsure what form your server uses. </li> <li> + use_peek + (<a href="#parameter-boolean">boolean</a>) + — whether to use PEEK to retrieve the message; the default is + True. IMAP servers typically mark a message as seen if PEEK is not used + to retrieve the message content. Versions of getmail prior to 4.26.0 + did not use PEEK to retrieve messages. + </li> + <li> move_on_delete (<a href="#parameter-string">string</a>) — if set, messages are moved to the named mail folder before being diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/getmail-4.26.0/docs/configuration.txt new/getmail-4.27.0/docs/configuration.txt --- old/getmail-4.26.0/docs/configuration.txt 2012-04-15 01:34:05.000000000 +0200 +++ new/getmail-4.27.0/docs/configuration.txt 2012-05-20 20:33:41.000000000 +0200 @@ -281,6 +281,10 @@ Note that the format for hierarchical folder names is determined by the IMAP server, not by getmail. Consult your server's documentation or postmaster if you're unsure what form your server uses. + * use_peek (boolean) -- whether to use PEEK to retrieve the message; the + default is True. IMAP servers typically mark a message as seen if PEEK + is not used to retrieve the message content. Versions of getmail prior + to 4.26.0 did not use PEEK to retrieve messages. * move_on_delete (string) -- if set, messages are moved to the named mail folder before being deleted from their original location. Note that if you configure getmail not to delete retrieved messages (the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/getmail-4.26.0/getmail.spec new/getmail-4.27.0/getmail.spec --- old/getmail-4.26.0/getmail.spec 2012-04-15 01:34:06.000000000 +0200 +++ new/getmail-4.27.0/getmail.spec 2012-05-20 20:33:42.000000000 +0200 @@ -2,7 +2,7 @@ Summary: POP3 mail retriever with reliable Maildir delivery Name: getmail -Version: 4.26.0 +Version: 4.27.0 Release: 1 License: GPL Group: Applications/Internet @@ -52,6 +52,12 @@ %{python_sitelib}/getmailcore/ %changelog +* Sun May 20 2012 Charles Cazabon <[email protected]> +-update to version 4.27.0 + +* Sun May 20 2012 Charles Cazabon <[email protected]> +-update to version 4.27.0 + * Sat Apr 14 2012 Charles Cazabon <[email protected]> -update to version 4.26.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/getmail-4.26.0/getmailcore/__init__.py new/getmail-4.27.0/getmailcore/__init__.py --- old/getmail-4.26.0/getmailcore/__init__.py 2012-04-15 01:33:59.000000000 +0200 +++ new/getmail-4.27.0/getmailcore/__init__.py 2012-05-20 19:54:36.000000000 +0200 @@ -16,7 +16,7 @@ raise ImportError('getmail version 4 requires Python version 2.3.3' ' or later') -__version__ = '4.26.0' +__version__ = '4.27.0' __all__ = [ 'baseclasses', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/getmail-4.26.0/getmailcore/_retrieverbases.py new/getmail-4.27.0/getmailcore/_retrieverbases.py --- old/getmail-4.26.0/getmailcore/_retrieverbases.py 2012-04-15 01:33:59.000000000 +0200 +++ new/getmail-4.27.0/getmailcore/_retrieverbases.py 2012-05-20 19:54:36.000000000 +0200 @@ -1014,11 +1014,19 @@ def _getmsgbyid(self, msgid): self.log.trace() - return self._getmsgpartbyid(msgid, '(BODY.PEEK[])') + if self.conf.get('use_peek', True): + part = '(BODY.PEEK[])' + else: + part = '(RFC822)' + return self._getmsgpartbyid(msgid, part) def _getheaderbyid(self, msgid): self.log.trace() - return self._getmsgpartbyid(msgid, '(BODY.PEEK[header])') + if self.conf.get('use_peek', True): + part = '(BODY.PEEK[header])' + else: + part = '(RFC822[header])' + return self._getmsgpartbyid(msgid, part) def initialize(self, options): self.log.trace() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/getmail-4.26.0/getmailcore/retrievers.py new/getmail-4.27.0/getmailcore/retrievers.py --- old/getmail-4.26.0/getmailcore/retrievers.py 2011-10-01 06:17:27.000000000 +0200 +++ new/getmail-4.27.0/getmailcore/retrievers.py 2012-05-20 19:55:17.000000000 +0200 @@ -358,6 +358,7 @@ ConfPassword(name='password', required=False, default=None), ConfTupleOfStrings(name='mailboxes', required=False, default="('INBOX', )"), + ConfBool(name='use_peek', required=False, default=True), ConfString(name='move_on_delete', required=False, default=None), # imaplib.IMAP4.login_cram_md5() requires the (unimplemented) # .authenticate(), so we can't do this yet (?). @@ -397,6 +398,7 @@ ConfPassword(name='password', required=False, default=None), ConfTupleOfStrings(name='mailboxes', required=False, default="('INBOX', )"), + ConfBool(name='use_peek', required=False, default=True), ConfString(name='move_on_delete', required=False, default=None), ConfFile(name='keyfile', required=False, default=None), ConfFile(name='certfile', required=False, default=None), @@ -437,6 +439,7 @@ ConfPassword(name='password', required=False, default=None), ConfTupleOfStrings(name='mailboxes', required=False, default="('INBOX', )"), + ConfBool(name='use_peek', required=False, default=True), ConfString(name='move_on_delete', required=False, default=None), # imaplib.IMAP4.login_cram_md5() requires the (unimplemented) # .authenticate(), so we can't do this yet (?). @@ -477,6 +480,7 @@ ConfPassword(name='password', required=False, default=None), ConfTupleOfStrings(name='mailboxes', required=False, default="('INBOX', )"), + ConfBool(name='use_peek', required=False, default=True), ConfString(name='move_on_delete', required=False, default=None), ConfFile(name='keyfile', required=False, default=None), ConfFile(name='certfile', required=False, default=None), -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
