Commit graph

65 commits

Author SHA1 Message Date
schmonz
2971124e32 Update to 4.6.0. From the changelog:
-clean up logger API.
  -refactor configuration mechanism to use classes with embedded logic,
     rather than simply dictionaries.
2006-04-06 19:33:36 +00:00
schmonz
8d4e5b3d2b Update to 4.5.4. From the changelog:
-added Maildir "filemode" parameter. Thanks: Martin Haag.
2006-02-20 03:04:42 +00:00
schmonz
03c199f380 Update to 4.5.3. From the changelog:
* keyfile and certfile parameters to SSL retrievers are now expanded
    for leading "~/" and "~username/" as well as environment
    variables, just like other path parameters. Thanks: Fredrik Steen.
2006-02-14 18:46:24 +00:00
schmonz
02caab243f Update to 4.5.2. From the changelog:
-fix IMAP bug where no mail was retrieved introduced in 4.5.0.  Thanks:
    Scott Robbins.
2006-02-08 03:26:33 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
schmonz
c24e5b1ef7 Update to 4.5.1. From the changelog:
- add delete_dup_msgids option to non-multidrop POP3 retrievers.
    Thanks: Matthias Andree.
- suppress stack trace in getmail_fetch error message when
    configuration error detected. Thanks: Dave Jarvis.
- documentation updates.
- build and development environment changes. The plaintext versions
    of the documentation are now generated with links instead of lynx.
- explicitly log the reason for not retrieving a message (seen or
    oversized). Thanks: Payal Rathod.
2006-02-04 02:19:42 +00:00
schmonz
22c0c11416 Update to 4.4.4. From the changelog:
-improve parsing of flags in IMAP responses.  Thanks: Gareth McCaughan.
2006-01-03 16:46:48 +00:00
schmonz
a1bc2172c7 Update to 4.4.3. From the changelog:
-fix harmless copy and paste error in IMAPRetrieverBase class.
   Thanks: Henry Miller.
2005-12-02 16:37:57 +00:00
schmonz
d7c86b315d Update to 4.4.2. From the changelog:
4.3.14:
  -Fix copy and paste error that caused BrokenUIDLPOP3SSLRetriever to default
  to port 110.  Thanks: Daniel Burrows via Fredrik Steen.

4.4.0:
  -add new POP3-over-SSL initialization class, which is automatically used
  when Python 2.4 or newer is in use.  This reduces the overhead involved
  in retrieving messages from a POP3SSL server (reduces systime about 35%,
  user time about 50%, wall time 10-30%).  Thanks: Jan Vereecke.
  -add getmail_fetch configuration-less commandline POP retriever, perfect
  for scripting use.  Development of getmail_fetch was sponsored by
  Texas Communications.
  -future proofing: eliminate relative imports within getmailcore package.

4.4.1:
  -work around bug in Python which meant POP3-over-SSL with Python >= 2.4
  could "hang" (it's exactly the same bug that affected getmail's initial
  IMAP-over-SSL code).

4.4.2:
  -fix logging import in corrupt messages with Python 2.3.  Thanks: Marco Ferra.
2005-11-21 05:23:43 +00:00
schmonz
1cf77b8429 Update to 4.3.13. From the changelog:
-add BrokenUIDLPOP3SSLRetriever as SSL version of BrokenUIDLPOP3Retriever,
  based on an idea by a user of the Debian package.  Thanks: Daniel Burrows,
  Fredrik Steen.

  -remove deprecated "strict" argument from message/header parsing calls.
  While it was possible to suppress the warning that resulted when using
  Python 2.4,  it appears many getmail users couldn't bother to do that
  and complained to me instead.
2005-10-16 02:19:39 +00:00
schmonz
280cef1cb4 Update to 4.3.11. From the changelog:
-getmail could previously record an envelope return path header of "<<>>".
  Fixed.  Thanks: Fredrik Steen.
2005-06-28 12:13:10 +00:00
schmonz
a669b54228 Update to 4.3.10:
-bugfix for missing import.  Thanks: Matthias Andree.
2005-05-19 22:22:15 +00:00
schmonz
4eeb0a144b Update to 4.3.9. From the changelog:
-for multidrop retrievers, change the way the envelope recipient header
  field is parsed, to prevent odd values from being interpreted as multiple
  addresses when they look like an 822-style address group.  Thanks: "aal".
  -try to avoid parsing message bodies, in case they're corrupt or invalid.
  Thanks: Michael Gold.
2005-05-18 23:20:42 +00:00
schmonz
42929d6b79 Update to 4.3.8. From the changelog:
-change (again) handling of deleted messages vs. connection that dies.
  Inability to send QUIT to POP3 server should be less problematic now.
  -improve housekeeping of old message state file.  Thanks: Thomas Schwinge.
2005-05-07 02:19:30 +00:00
schmonz
593459863c Update to 4.3.7. From the changelog:
-add error message for missing mboxrd file.  Thanks: Marco Ferra.
  -change handling of connection that dies vs. deleted messages.
  Thanks: Thomas Schwinge.
2005-05-01 17:29:12 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
schmonz
3aa4651566 Update to 4.3.6. From the changelog:
-broke BrokenUIDLPOP3Retriever when I added the forget_deleted parameter
  to the retrievers base class; now fixed.  Thanks: Georg Neis.
2005-04-09 19:42:44 +00:00
schmonz
e58da00fb8 Update to 4.3.5. From the changelog:
* make getmail less conservative about remembering messages as
    already-seen when unrelated errors occur after successfully
    delivering them. Thanks: Thomas Schwinge.
2005-04-06 04:15:26 +00:00
schmonz
9d28cbd10e Update to 4.3.4. From the changelog:
Version 4.3.4
14 March 2005

  -documentation changes; getmail v4 cannot run natively on Windows.  Use
  Cygwin if you must run on a Windows platform; this works.
  -remove some Windows-specific code.

Version 4.3.3
19 February 2005

  -previously, for safety, getmail would re-retrieve messages after a session
  that encountered errors.  However, getmail had enough information to safely
  remember those messages that had been successfully delivered.  This behaviour
  has been changed, to avoid delivering duplicate messages where it isn't
  necessary.  Thanks: Thomas Schwinge.
  -in output/log files, getmailrc files are now specified only by filename,
  instead of by complete paths.  This will prevent some overly-long output
  lines.
  -add Windows versions of functions to lock/unlock files, so mbox delivery
  can be used on Windows.  Thanks: Felix Schwarz.
2005-03-21 23:53:08 +00:00
agc
8758983939 Add RMD160 digests. 2005-02-24 09:59:20 +00:00
schmonz
39e3eb008d HOMEPAGE moved. Take MAINTAINER for queue_repair at author's
months-ago request.
2005-02-16 18:44:36 +00:00
schmonz
19cebeb5f4 Update to 4.3.2. From the changelog:
-previously, if an SSL POP3 or IMAP server abruptly closed the connection
  before getmail could finish logging in, getmail would exit instead of
  proceeding to the next configured mail account.  Fixed.  Thanks: Matthias
  Andree, Frank Benkstein, Thomas Schwinge.
  -eliminate duplicate Return-Path: header fields.  Thanks: Angles Puglisi.
2005-02-06 00:27:33 +00:00
recht
367eed19fe Build Python with thread support by default and turn the existing
python*-pth packages into meta-packages which will install the non-pth
packages. Bump PKGREVISIONs on the non-pth versions to propagate the
thread change, but leave the *-pth versions untouched to not affect
existing installations.
Sync all PYTHON_VERSIONS_AFFECTED lines in package Makefiles.
2005-01-23 20:41:45 +00:00
schmonz
ea4fe06f4f Update to 4.3.1. From the changelog:
-some IMAP errors would cause getmail to raise an exception, instead of
  gracefully proceeding with the next configured mail account.  Fixed.
  Thanks: Matthias Andree.
2005-01-18 20:00:09 +00:00
schmonz
6e56490d9e Update to 4.3.0. From the changelog:
-add BrokenUIDLPOP3Retriever class to support servers that do not implement
  the UIDL command, or which fail to uniquely identify messages using it.
2005-01-10 21:00:02 +00:00
schmonz
035e53fb05 Update to 4.2.6. From the changelog:
-add new error message and documentation for POP3 servers that cannot
  uniquely identify messages in a mailbox.  Thanks: Thomas Schwinge.
2005-01-03 02:23:05 +00:00
schmonz
7e6c9898d2 Update to 4.2.5. From the changelog:
-fix typo in getmailcore/exceptions.py that would raise a NameError
    exception in certain rare cases.  Thanks: Gour ?.
2004-12-20 04:12:47 +00:00
schmonz
d34fe1015d Update to 4.2.4. From the changelog:
Version 4.2.3
18 November 2004

  -documentation updates.
  -getmailrc examples file updated.  Thanks: Scott Robbins.
  -clarify error message when user insecurely tries to deliver mail as GID 0.

Version 4.2.4
22 November 2004

  -one type of filter error would cause getmail to skip to the next configured
  mail account, rather than simply proceeding to the next message from the
  same account.  Fixed.  Thanks: Adrien Beau.
  -documentation updates.
2004-12-06 00:26:16 +00:00
schmonz
47e86eebed Update to 4.2.2. From the changelog:
Version 4.1.5
13 September 2004

  -getmail would not delete messages from the server if it was configured not
  to retrieve them and the delete_after directive was not in use (i.e. user
  normally left messages on server but occasionally wanted to force-delete
  them).  Fixed.  Thanks:  Frankye Fattarelli.


Version 4.2.0
18 September 2004

  -SECURITY: previous versions of getmail contain a security vulnerability.
  A local attacker with a shell account could exploit a race condition (or a
  similar symlink attack) to cause getmail to create or overwrite files in a
  directory of the local user's choosing if the system administrator ran getmail
  as root and delivered messages to a maildir or mbox file under the control of
  the attacker, resulting in a local root exploit.  Fixed in versions 4.2.0
  and 3.2.5.
  This vulnerability is not exploitable if the administrator does not deliver
  mail to the maildirs/mbox files of untrusted local users, or if getmail is
  configured to use an external unprivileged MDA.  This vulnerability is
  not remotely exploitable.
  Thanks: David Watson.  My gratitude to David for his work on finding and
  analyzing this problem.
  -Now, on Unix-like systems when run as root, getmail forks a child
  process and drops privileges before delivering to maildirs or mbox files.
  getmail will absolutely refuse to deliver to such destinations as root;
  the uid to switch to must be configured in the getmailrc file.
  -revert behaviour regarding delivery to non-existent mbox files.  Versions
  4.0.0 through 4.1.5 would create the mbox file if it did not exist; in
  versions 4.2.0 and up, getmail reverts to the v.3 behaviour of refusing
  to do so.


Version 4.2.1
8 October 2004

  -set message attributes on corrupt container objects to prevent problems
  with destinations that expect multidrop-retrieved messages.
  Thanks: Harry Wearne.
  -move tests for existence of file from mbox destination initialization
  to delivery method, and change error from configuration to delivery error.
  Thanks: David Watson.


Version 4.2.2
11 October 2004

  -in child delivery processes, change real as well as effective uid/gid.
  Thanks: David Watson.
  -handle corrupted oldmail file better.  Thanks: Matthias Andree.
2004-10-20 21:55:12 +00:00
schmonz
982d622f9f Update to 4.1.4. From the changelog:
-change failure of a message filter to produce at least as many mail headers
  as it was provided from a non-fatal error to warning.  If your filter strips
  headers, getmail will now warn you about it, but will not consider it an
  error.
  -documentation additions.
2004-09-02 02:35:58 +00:00
schmonz
c4885b4c9c Update to 4.1.3. From the changelog:
-enhance warning diagnostics about non-accessible or non-writable maildirs.
  -change method of determining name of local host; only fall back to
  getfqdn() if the result of gethostname() does not contain a dot.
  -documentation enhancements.
2004-08-31 15:37:52 +00:00
schmonz
2be3349a09 Update to 4.1.2. From the changelog:
-dumping config would raise an exception since 4.1.0; fixed.
  Thanks: Ilya Krel.
2004-08-28 16:48:04 +00:00
schmonz
d850467521 Update to 4.1.1. From the changelog:
-getmail raised an exception after processing all accounts, while printing
  a summary, if verbose was set to 2.  Fixed.  Thanks:  Matthias Andree.
2004-08-27 21:40:25 +00:00
schmonz
abb8130d7b Update to 4.1.0. From the changelog:
-biggest change is multiple verbosity levels.  To support this from rc file,
  the verbose parameter had to change from a boolean to an integer.  Update
  your getmail rc files:  for quiet, set verbose to 0.  For more output,
  set it to 1 or 2.  2 includes info about messages not retrieved, etc.
  -add rc filename to error messages
  -change fix from 4.0.11 for email module raising exception during .flatten().
  Thanks:  Jürgen Nagel.
  -some types of SSL error could cause getmail to exit instead of
  continuing to the next mail account; fixed.  Thanks:  Matthias Andree.
2004-08-24 16:37:38 +00:00
schmonz
df87880ba4 Update to 4.0.13. From the changelog:
-unrecognized parameters could trigger a traceback instead of a warning.
  Fixed.  Thanks: Frankye Fattarelli.
2004-08-20 01:26:31 +00:00
schmonz
412c12ae75 Update to 4.0.12. From the changelog:
-forgot to add the new Message attribute (from 4.0.11) to its slots
  declaration.  Fixed.
2004-08-19 14:03:41 +00:00
schmonz
c1ba1e434b Eh, what the heck, I seem to be the maintainer. 2004-08-18 21:54:07 +00:00
schmonz
5e13c4ea44 Update to 4.0.11. From the changelog:
-change oldmail file writing to save a few bytes of disk space
  -documentation additions.
  -Python's standard library email.Message().flatten() could barf on certain
  types of badly mis-formatted messages (instead of the during instantiation,
  like the /other/ buggy cases).  Hope this is fixed in Python 2.4.  Developed
  a work-around for getmail.  Thanks:  Juergen Nagel.
  -changes to "normal" output of getmail to make it slightly less verbose.
2004-08-18 21:52:43 +00:00
schmonz
c3f4d947e1 Update to 4.0.10. From the changelog:
-cosmetic fix to output:  add whitespace after timestamp when not retrieving
  message.  Thanks: Matthias Andree.
  -include MANIFEST.in in source distribution, to assist users in building
  "built distributions" from it.
  -change a few output messages' level to make verbose mode slightly less
  verbose, and add --debug switch to get "more verbose" behaviour.
2004-08-12 16:44:01 +00:00
schmonz
6ad389a0fc Update to 4.0.9. From the changelog:
-fix cosmetic error for IMAP mailboxes with 0 messages in them.
  -change method of obtaining uidvalidity from IMAP server and remove wrapper.
  -previously, connecting to an IMAP-SSL server could fail if a non-SSL
  IMAP connection were attempted immediately before.  This was due to
  the Python bug discussed here:
  http://sourceforge.net/tracker/index.php?func=detail&aid=945642&group_id=5470&atid=305470
  Implemented a workaround for getmail.  Thanks: Payal Rathod.
2004-08-10 05:18:58 +00:00
schmonz
720b481180 Update to 4.0.8. From the changelog:
4.0.7:
  -change failure of a message filter to produce at least as many mail headers
  as it was provided from a fatal to a non-fatal error.  The message will
  be skipped.  Thanks: Payal Rathod.
  -a few non-conformant IMAP4 servers don't implement SEARCH, so getmail
  couldn't get a list of UIDs.  Changed to use FETCH instead.
  Thanks: Matthias Andree.
  -prevent traceback if IMAP SSL connection closed during connect().
  Thanks: Payal Rathod.
  -add warning if unknown parameters are supplied to a retriever, filter,
  or destination.
  -write subclasses of Python imaplib classes to work around missing
  UIDVALIDITY select() response.  Add it to the state getmail keeps.
  Thanks:  Matthias Andree.
  -move message state saving to later, so getmail doesn't falsely remember
  having handled a message.  Thanks:  Matthias Andree.
  -change location of documentation/man pages to
  <prefix>/share/{doc/getmail,man}/ to be more comformant with the FHS.
  -documentation updates

4.0.8:
  -add an extra error message if you ask getmail to deliver to a maildir,
  but getmail can't check the contents of it due to permissions.
  Thanks: Clemens Buschmann.
  -fix breakage introduced in 4.0.7: getmail would forget a message was "seen"
  after a cycle of not retrieving it.  Thanks: Payal Rathod.
2004-08-06 16:02:50 +00:00
schmonz
973ae5d44a Update to 4.0.6. From the changelog:
-if the connection failed in a certain way, getmail could forget which
  messages it had already retrieved, and therefore retrieve them again when
  the next successful connection occurred.  Fixed.  Thanks: Wim Uyttebroek.
  --add win32 executable installer as third download option.
2004-08-05 17:48:47 +00:00
schmonz
4f53ec4c09 Update to 4.0.5. From the changelog:
-add additional error handler for certain network errors with POP3-over-SSL
  connections.  Thanks: Frank Benkstein.
  -rename retriever class for Demon UK:  it should have been SDPS; my
  transposition.  Thanks: Paul Howarth.
2004-08-03 21:23:24 +00:00
schmonz
611e67d789 Update to 4.0.4. From the changelog:
-corrupt-message handler introduced in 4.0.1 needed tweaking.
  Thanks: Bernhard Riedel.
2004-08-03 08:43:37 +00:00
schmonz
aa2f5da702 Update to 4.0.3. From the changelog:
-some types of socket errors would raise an exception instead of letting
  getmail gracefully continue; fixed.  Thanks: David.
  -documentatation updates; fix two typos and add to the section on using
  ClamAV with getmail.
  -changes to my release process; the current version's URL will not change
  when a new version is released.  See, I try to help others, even when they
  don't do the same...
2004-08-02 16:24:30 +00:00
schmonz
0dfb61eb77 Update to 4.0.2. The changelog is lengthy. The author's summary of
differences from previous versions:

getmail version 4 has been completely rewritten. It is designed to
closely mimic the interface and user experience of getmail version
3, but the new architecture necessitates some differences you will
notice:

* the getmail rc file (configuration file) format has changed. If
  you are upgrading from version 3, you will need to write a new
  configuration file based on the contents of your old one. The
  new file format resembles the old in many ways. Each account you
  retrieve mail from will require a separate rc file, but getmail
  can operate with multiple rc files simultaneously if you wish to
  retrieve mail from multiple accounts.

* support for protocols other than POP3/SPDS. IMAP support is now
  included, and other protocols can be added with relative ease.

* support for SSL-encrypted protocols. The included POP3 and IMAP
  retriever classes are complemented by SSL-enabled counterparts.

* messages can be filtered or annotated by external programs like
  spam filters and anti-Microsoft-worm programs. Filters can cause
  messages to be dropped completely.

* a flexible, extensible architecture. Additional classes for
  handling new mail protocols, filter types, or destination mailstores
  can be added without needing to modify the main script at all.
  Feel free to contact me if you need a custom retriever, filter,
  or destination class written, or if you want commercial support
  for getmail.
2004-08-01 08:29:56 +00:00
minskim
98e6cf84f7 Remove "NO_CONFIGURE=YES" to make PYTHON_PATCH_SCRIPTS effective.
Pointed out by Bernhard 'burnhard' Riedel on hanirc's #NetBSD.

Bump PKGREVISION.
2004-05-01 16:04:38 +00:00
snj
ca710cdea6 Update to getmail-3.2.2.
From the changelog:
* Add an error handler for the case where a POP3 server returns a message
  that isn't even close to valid 822 format, particularly one where the
  first line in the message header is a continuation line (starts with
  whitespace).
2004-03-29 08:16:38 +00:00
xtraeme
250376a1c2 Upgrade to 3.2.1. Patch sent by Soren Jacobsen in PR pkg/23299.
Changes since 3.1.7:

* Add command_add_fromline directive to control prepending mbox-style From_
  lines to command deliveries.  Defaults to 1, the previous behaviour.  Set
  to 0 to disable.
* Add workaround for differences in Python poplib; an incompatible change
  was introduced (apparently in 1.6) to Python's library, where session.retr()
  previous returned raw lines, but now it returns the un-stuffed lines.
  getmail now has to conditionally un-stuff lines depending on the version
  of the Python interpreter in use.
* Change the "over max message size of %(max_message_size)i, skipping ..."
  message from informational to warning so it can be seen when using
  -q/--quiet/verbose=0.  Thanks to Volker Kuhlmann for the report.
  -Change error message resulting from failed APOP attempt
2003-10-29 11:55:27 +00:00
jmmv
12a10361a1 Set USE_PKGINSTALL instead of directly including bsd.pkg.install.mk. 2003-07-30 10:41:22 +00:00