summaryrefslogtreecommitdiff
path: root/mail/getmail
AgeCommit message (Collapse)AuthorFilesLines
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-04-09Update to 4.3.6. From the changelog:schmonz2-6/+6
-broke BrokenUIDLPOP3Retriever when I added the forget_deleted parameter to the retrievers base class; now fixed. Thanks: Georg Neis.
2005-04-06Update to 4.3.5. From the changelog:schmonz2-6/+6
* make getmail less conservative about remembering messages as already-seen when unrelated errors occur after successfully delivering them. Thanks: Thomas Schwinge.
2005-03-21Update to 4.3.4. From the changelog:schmonz2-6/+6
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-02-24Add RMD160 digests.agc1-1/+2
2005-02-16HOMEPAGE moved. Take MAINTAINER for queue_repair at author'sschmonz1-2/+2
months-ago request.
2005-02-06Update to 4.3.2. From the changelog:schmonz2-5/+5
-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-01-23Build Python with thread support by default and turn the existingrecht1-2/+2
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-18Update to 4.3.1. From the changelog:schmonz2-5/+5
-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-10Update to 4.3.0. From the changelog:schmonz2-6/+6
-add BrokenUIDLPOP3Retriever class to support servers that do not implement the UIDL command, or which fail to uniquely identify messages using it.
2005-01-03Update to 4.2.6. From the changelog:schmonz2-5/+5
-add new error message and documentation for POP3 servers that cannot uniquely identify messages in a mailbox. Thanks: Thomas Schwinge.
2004-12-20Update to 4.2.5. From the changelog:schmonz2-6/+6
-fix typo in getmailcore/exceptions.py that would raise a NameError exception in certain rare cases. Thanks: Gour ?.
2004-12-06Update to 4.2.4. From the changelog:schmonz2-5/+5
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-10-20Update to 4.2.2. From the changelog:schmonz2-5/+5
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-09-02Update to 4.1.4. From the changelog:schmonz2-5/+5
-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-08-31Update to 4.1.3. From the changelog:schmonz2-5/+5
-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-28Update to 4.1.2. From the changelog:schmonz2-5/+5
-dumping config would raise an exception since 4.1.0; fixed. Thanks: Ilya Krel.
2004-08-27Update to 4.1.1. From the changelog:schmonz2-5/+5
-getmail raised an exception after processing all accounts, while printing a summary, if verbose was set to 2. Fixed. Thanks: Matthias Andree.
2004-08-24Update to 4.1.0. From the changelog:schmonz2-5/+5
-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-20Update to 4.0.13. From the changelog:schmonz2-5/+5
-unrecognized parameters could trigger a traceback instead of a warning. Fixed. Thanks: Frankye Fattarelli.
2004-08-19Update to 4.0.12. From the changelog:schmonz2-5/+5
-forgot to add the new Message attribute (from 4.0.11) to its slots declaration. Fixed.
2004-08-18Eh, what the heck, I seem to be the maintainer.schmonz1-2/+2
2004-08-18Update to 4.0.11. From the changelog:schmonz2-5/+5
-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-12Update to 4.0.10. From the changelog:schmonz2-5/+5
-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-10Update to 4.0.9. From the changelog:schmonz3-9/+6
-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-06Update to 4.0.8. From the changelog:schmonz4-14/+20
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-05Update to 4.0.6. From the changelog:schmonz2-5/+5
-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-03Update to 4.0.5. From the changelog:schmonz2-5/+5
-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-03Update to 4.0.4. From the changelog:schmonz2-6/+6
-corrupt-message handler introduced in 4.0.1 needed tweaking. Thanks: Bernhard Riedel.
2004-08-02Update to 4.0.3. From the changelog:schmonz2-5/+5
-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-01Update to 4.0.2. The changelog is lengthy. The author's summary ofschmonz6-92/+96
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-05-01Remove "NO_CONFIGURE=YES" to make PYTHON_PATCH_SCRIPTS effective.minskim1-2/+2
Pointed out by Bernhard 'burnhard' Riedel on hanirc's #NetBSD. Bump PKGREVISION.
2004-03-29Update to getmail-3.2.2.snj2-6/+5
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).
2003-10-29Upgrade to 3.2.1. Patch sent by Soren Jacobsen in PR pkg/23299.xtraeme3-7/+7
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-07-30Set USE_PKGINSTALL instead of directly including bsd.pkg.install.mk.jmmv1-2/+3
2003-07-17s/netbsd.org/NetBSD.org/grant1-2/+2
2003-07-12Update to 3.1.7, provided by Toru TAKAMIZU in PR 22007.wiz2-12/+12
-getmail_mbox.py was missing an import for the string module. Thanks to Emily Jackson for the report. This was introduced in 3.1.6. -Argh; my change to getmail_mbox was incomplete -- not only would getmail not put duplicate From_ lines in, it would escape the single one that it did. This fixes it, so don't bother filing a bug report about this one. -Fredrik Steen reported that getmail was adding a duplicate From_ line when using getmail_mbox to deliver to mbox files. Fixed. -Added -q and --quiet flags to getmail_mbox to suppress warning message. -removed the experimental message_filter code; it was unworkable. If you want to filter messages, use a filtering MDA. getmail works fine with maildrop, procmail, and other MDAs. Thanks to Dan Hensley for experimenting with the message_filter functionality. -message logging inconsistently used local time; changed to GMT for consistency. Thanks to Markus Vetter for the report. -address_no_brackets couldn't handle empty strings. Fixed; thanks to Fredrik Steen for the report.
2003-03-22Add message explaining main differences to the old 2.x versions.wiz1-0/+13
From Toru TAKAMIZU.
2003-03-22Update to 3.1.1, based on Toru TAKAMIZU's patches in PR 19707.wiz3-19/+56
Changes: Version 3.1.1 14 March 2003 -Add additional info to message log (msg #, msg count, size) "new msg" status line. Thanks to Payal Rathod for the feature request. Version 3.1.0 21 February 2003 -Rename the recipient_header directive to "envelope_recipient". There was simply too much confusion about it. Sorry, but you'll have to update your getmailrc file and rename this directive if you're using it. This version was going to be 3.0.5, but this change necessitates bumping the version up to 3.1.0. -Include separate callable program for mbox delivery. The program, getmail_mbox, is based on the mbox delivery code in getmail version 2.3. It assumes mboxrd format and flock locking; if other programs on your system expect a different subtype of mbox format or use a different locking method, you can corrupt your mbox file. Use at your own risk. You can use this in a command delivery target from getmail as "|/path/to/getmail_mbox /path/to/mboxfile" . -In a similar vein, include separate callable program for maildir delivery. The program, getmail_maildir, uses the same maildir delivery code as getmail. You can use this in a command delivery target from getmail as "|/path/to/getmail_maildir /path/to/maildir/" . This is mostly useful if you want to deliver to a maildir after doing something else to the message, and can be used in place of safecat. -Add message filtering. You can now pass messages through arbitrary filters before delivery; specify one or more message_filter directives, each of which is a command and arguments. The filter(s) should read the message from stdin, write to stdout, and exit 0 for success, 99 to drop the message in the bitbucket, and anything else to indicate an error. No docs for this yet. -getmail could drop the final newline when delivering to Maildirs in some circumstances. Thanks to Jason Mastaler for the report and testing. Version 3.0.4 20 February 2003 -Catch a user incorrectly specifying two values for recipient_header. Thanks to Francisco Stefano Wechsler for the report. -Update ConfParser to version 3.3, designed to make it easier to catch user configuration errors. -Update configuration-handling code to use new features of ConfParser 3.3 above, report configuration errors more clearly. Thanks to Francisco Stefano Wechsler for the report which got me looking at this. -Add explicit check for recipient_header specifying a known-incorrect value. Thanks to Edward Davis for the report that got me looking at this. -Move some sanity checks around to report errors earlier. Version 3.0.3 14 February 2003 -Missing import in getmail_utilities.py affected those who let getmail prompt them for a password. Thanks to Francisco Stefano Wechsler for the report. Version 3.0.2 14 February 2003 -My editor let CR LF line endings into getmail_utilities.py ; this caused problems for at least one person. Thanks to Francisco Stefano Wechsler for the report. Now fixed. Version 3.0.1 13 February 2003 -Have getmail report an error if local directives are specified but getmail is not operating in multidrop mode (through either of the "use_*env" or "recipient_header" directives). Thanks to Gerwin Krist for reporting that this was not obvious. Version 3.0.0 10 February 2003 -Updated to version 1.23 of Timothy O'Malley's timeoutsocket.py from http://www.timo-tasi.org/python/timeoutsocket.py -not all configuration errors were being caught in ConfParser. Updated ConfParser as a result; thanks to Christian Pelster for reporting and testing this. -Move lots of code around. Much has been moved into separate files. Much other code has been cleaned up. -Add support for Demon's SPDS "*ENV" command for domain mailboxes. Thanks to Paul Clifford for the request and the pointer to Demon's explanation of this protocol extension, submission of a patch to getmail 2.3.x for this feature, and for a testing 3.0 in its pre-release state. Paul also submitted several patches during pre-release testing which I accepted. -Change main delivery loop; individual message delivery failures are not considered fatal errors any more. The messages will be left on the server and retried. -Remove mbox delivery code. Use an external MDA for this; for safety and reliability, all mbox-delivery programs on a system have to be compiled to use the same method of mbox locking in any case. I don't use mbox files at all. -Simplify handling of oldmail data files. -Domain mailboxes are now only supported with explicit configuration of a header field which records the envelope recipient address or with *ENV. This removes a lot of code and makes the logic simpler. -Remove duplicate filtering option. Use an external MDA for this. -Change maildir delivery algorithm; getmail will now try up to three times to generate a valid, unique name in maildir/tmp/, sleeping two seconds between tries as recommended by djb. This code is also now moved into an independant function in getmail_utilities.py for easier use by others. The file naming convention has changed to djb's "modern delivery identifiers".
2002-09-21Strip the ".buildlink" from the names of the python application andjlam1-2/+2
extension Makefile fragments, because they really don't have anything to do with the buildlink[12] frameworks. Change all the Makefiles that use application.buildlink.mk and extension.buildlink.mk to use application.mk and extension.mk instead.
2002-01-18use python buildlinkdrochner1-5/+8
2001-11-01Move pkg/ files into package's toplevel directoryzuntum2-1/+1
2001-08-07Update getmail to 2.1.3zuntum2-6/+6
News: Version 2.1.3 3 August 2001 -change handling of command delivery. Verification of existent command is smarter; arguments won't cause problems now. Remove duplicate code. Version 2.1.2 1 August 2001 -getmail will now check the permissions on your getmailrc file, and refuse to run if the file is group- or world-writable. Thanks to Fredrik Steen for the request. Version 2.1.1 29 June 2001 -add "no_received" option, similar to no_delivered_to, at request of getmail user Nigel Cunningham. -got rid of some trailing tabs in ConfigParser.py after a report from Fredrik Steen -- they're harmless, but unclean. Fredrik is also in the process of packaging getmail for use in Debian. Thanks, Fredrik. -changed the default path to the getmail library dir from /usr/local/lib/... to /usr/lib/... . This only affects the getmail wrapper script; if you're using that, you may have to edit your copy, or change where you install the files to.
2001-06-26Update getmail to 2.1.0zuntum2-5/+5
Changes: -fix the "blank lines output, even in quiet mode" problem which caused cron to send email every time getmail was run. Thanks to Errol Casey for finding the cause. -Handle user aborting getmail better. -Remove dead parameter from message_add_info() -move file locking to separate functions -add file locking around handling of oldmail file -move regular expression objects into a dictionary -add ability to deliver to a command (pipe delivery) like maildrop or procmail. getmail won't do this if it's running as root.
2001-06-23Update getmail to 2.0.20zuntum2-5/+5
Changes: -remove dead code -fix bug in example getmailrc file. Thanks to John Gennard for spotting this. There was an instance of an empty option value left over from before this was an issue.
2001-04-28Add some missing PLIST entries.jtb1-1/+2
2001-04-19Version 2.0.19zuntum5-23/+10
18 April 2001 -add additional exception handling for POP3 protocol errors (server bugs) and socket errors after connect (network errors). Thanks to Jesper Andersen for the bug report. -add additional log message to make diagnosis of server problems easier. Apparently Mandrake Linux v.7.2 ships with a very broken POP3 server; several users sent me traces which I tracked down to gross violations of the POP3 protocol (RFC1939). o remove patch-aa, we can do substitution using sed o move getmailrc-example to standard place (PREFIX/share/examples), thus removing pkg/MESSAGE (it suggested taking a look at PREFIX/doc/getmail/getmailrc-example
2001-04-17+ move the distfile digest/checksum value from files/md5 to distinfoagc3-6/+4
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-03-16Change my email address to zuntum@netbsd.orgzuntum1-2/+2
2001-03-05Initial import of getmail.jtb7-0/+74
getmail is intended as a simple replacement for fetchmail. It retrieves mail (either all messages, or only unread messages) from one or more POP3 servers for one or more email accounts, and reliably delivers into a qmail-style Maildir (or mbox file) specified on a per-account basis. It also has support for domain (multidrop) mailboxes. Package submitted by Tomasz Luchowski in PR pkg/11929.