]> Pileus Git - ~andy/fetchmail/log
~andy/fetchmail
12 years agoFix CVE-2011-3389 by clearing SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS...
Matthias Andree [Fri, 6 Apr 2012 19:31:53 +0000 (21:31 +0200)]
Fix CVE-2011-3389 by clearing SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS...

...from SSL options, unless FETCHMAIL_DISABLE_CBC_IV_COUNTERMEASURE
is a non-empty environment variable.

Suggested by Apple.

12 years agoValidate XHTML 1.0 stuff even when skipping 1.1.
Matthias Andree [Sun, 1 Apr 2012 13:33:49 +0000 (15:33 +0200)]
Validate XHTML 1.0 stuff even when skipping 1.1.

12 years agoMention Zimbra FETCH () workaround by Mikulas Patocka
Matthias Andree [Tue, 22 Nov 2011 00:47:29 +0000 (01:47 +0100)]
Mention Zimbra FETCH () workaround by Mikulas Patocka

12 years agofetchmail workaround for a bug in Zimbra
Mikulas Patocka [Fri, 18 Nov 2011 23:43:11 +0000 (18:43 -0500)]
fetchmail workaround for a bug in Zimbra

Zimbra occasionally returns this response:

fetchmail: IMAP> A0007 FETCH 1 RFC822.HEADER
fetchmail: IMAP< * 1 FETCH ()
fetchmail: IMAP< A0007 OK FETCH completed

It happens when there is a corrupted message without a header in the
database. (I don't know how this message could be created, I just see it
there).

When fetchmail encounters such resonse, it gives up and disconnects.

This patch changes it so that PS_TRANSIENT is returned in this
case and fetchmail continues to fetch following messages correctly.

12 years agoFix build on SSLv2-disabled OpenSSL setups
Matthias Andree [Tue, 25 Oct 2011 22:30:32 +0000 (00:30 +0200)]
Fix build on SSLv2-disabled OpenSSL setups

On systems where SSLv2_client_method isn't defined in OpenSSL (such as newer
Debian, and Ubuntu starting with 11.10 oneiric ocelot), don't reference it (to
fix the build) and print a run-time error that the OS does not support SSLv2.
Fixes Debian Bug #622054, but note that that bug report has a more thorough
patch that does away with SSLv2 altogether.

12 years agoMention that user@server must be unique.
Matthias Andree [Tue, 6 Sep 2011 19:10:38 +0000 (21:10 +0200)]
Mention that user@server must be unique.

12 years agoAdd items.
Matthias Andree [Tue, 6 Sep 2011 19:08:16 +0000 (21:08 +0200)]
Add items.

12 years agoPrint Server certificate: banner on stdout rather than stderr.
Matthias Andree [Tue, 30 Aug 2011 16:15:15 +0000 (18:15 +0200)]
Print Server certificate: banner on stdout rather than stderr.

Reported by Henry Jensen, fixes Debian Bug #639807.

12 years agoUpdate website for 6.3.21.
Matthias Andree [Sun, 21 Aug 2011 13:49:42 +0000 (15:49 +0200)]
Update website for 6.3.21.

12 years agoImport translations.
Matthias Andree [Sun, 21 Aug 2011 13:16:27 +0000 (15:16 +0200)]
Import translations.

12 years agoBump version to 6.3.21, mark release date.
Matthias Andree [Sun, 21 Aug 2011 13:14:42 +0000 (15:14 +0200)]
Bump version to 6.3.21, mark release date.

12 years agoMention rawlog.patch in NEWS.
Matthias Andree [Sun, 21 Aug 2011 09:55:05 +0000 (11:55 +0200)]
Mention rawlog.patch in NEWS.

12 years agoDrop obsolete file TODO-6.3.20.
Matthias Andree [Sun, 21 Aug 2011 13:08:54 +0000 (15:08 +0200)]
Drop obsolete file TODO-6.3.20.

12 years agoCritical fix: don't embed NUL in unterminated last IMAP line.
Matthias Andree [Sun, 21 Aug 2011 13:07:48 +0000 (15:07 +0200)]
Critical fix: don't embed NUL in unterminated last IMAP line.

Found by Antoine Levitt.

12 years agoRevert SO_???TIMEO-based STARTTLS timeout handling.
Matthias Andree [Mon, 6 Jun 2011 22:26:37 +0000 (00:26 +0200)]
Revert SO_???TIMEO-based STARTTLS timeout handling.

This reverts commits 47c05b10018f5ec7493e4bd9f521aaa18d96f1e2
and 72ce8bce8dd655b6aefa33d0a74e883dad5202b5, the code isn't portable,
for instance, Solaris does not support SO_RCVTIMEO/SO_SNDTIMEO.
These socket-level options are known, but Solaris returns EAFNOSUPPORT.

Reported by Jonathan Buschmann.

Conflicts:

NEWS
socket.c

12 years agoAdd rawlog.patch.
Matthias Andree [Sun, 21 Aug 2011 09:55:05 +0000 (11:55 +0200)]
Add rawlog.patch.

12 years agoDrop vendor-sec@lst.de, defunct.
Matthias Andree [Tue, 16 Aug 2011 15:37:09 +0000 (17:37 +0200)]
Drop vendor-sec@lst.de, defunct.

12 years agoRemove redundant double A_OTP check.
Thomas Jarosch [Tue, 2 Aug 2011 11:22:55 +0000 (13:22 +0200)]
Remove redundant double A_OTP check.

12 years agoFix function signature to match prototype.
Matthias Andree [Fri, 17 Jun 2011 16:06:29 +0000 (18:06 +0200)]
Fix function signature to match prototype.

Found by Lars Hecking.

12 years agoMerge branch 'legacy_63' of gitorious.org:fetchmail/fetchmail into legacy_63
Matthias Andree [Mon, 6 Jun 2011 22:21:47 +0000 (00:21 +0200)]
Merge branch 'legacy_63' of gitorious.org:fetchmail/fetchmail into legacy_63

12 years agoMerge branch 'common-6x' into legacy_63
Matthias Andree [Mon, 6 Jun 2011 22:21:22 +0000 (00:21 +0200)]
Merge branch 'common-6x' into legacy_63

12 years agoSynch NEWS/CVE-2011-1947 with release 6.3.20 + Credit
Matthias Andree [Mon, 6 Jun 2011 22:20:05 +0000 (00:20 +0200)]
Synch NEWS/CVE-2011-1947 with release 6.3.20 + Credit

12 years agoMerge branch 'common-6x' into legacy_63
Matthias Andree [Mon, 6 Jun 2011 22:07:07 +0000 (00:07 +0200)]
Merge branch 'common-6x' into legacy_63

12 years agoUpdate website.
Matthias Andree [Mon, 6 Jun 2011 12:33:07 +0000 (14:33 +0200)]
Update website.

12 years agoSign SA 2011-01/CVE-2011-1947.
Matthias Andree [Mon, 6 Jun 2011 12:32:42 +0000 (14:32 +0200)]
Sign SA 2011-01/CVE-2011-1947.

12 years agoFreeze strings for release.
Matthias Andree [Mon, 6 Jun 2011 11:07:52 +0000 (13:07 +0200)]
Freeze strings for release.

12 years agoFix one fuzzy translation.
Matthias Andree [Mon, 6 Jun 2011 11:07:43 +0000 (13:07 +0200)]
Fix one fuzzy translation.

12 years agoFinish for release.
Matthias Andree [Mon, 6 Jun 2011 11:07:25 +0000 (13:07 +0200)]
Finish for release.

12 years agoBump version to 6.3.20.
Matthias Andree [Mon, 6 Jun 2011 11:06:58 +0000 (13:06 +0200)]
Bump version to 6.3.20.

12 years agoCredit Thomas Jarosch.
Matthias Andree [Wed, 1 Jun 2011 08:52:50 +0000 (10:52 +0200)]
Credit Thomas Jarosch.

12 years agoMerge branch 'common-6x' into legacy_63
Matthias Andree [Tue, 31 May 2011 20:40:58 +0000 (22:40 +0200)]
Merge branch 'common-6x' into legacy_63

Conflicts:
NEWS
fetchmail-SA-2011-01.txt

12 years agoAdd CVE name.
Matthias Andree [Tue, 31 May 2011 20:39:36 +0000 (22:39 +0200)]
Add CVE name.

12 years agoAdd fetchmail-SA-2011-01.txt
Matthias Andree [Mon, 30 May 2011 10:09:20 +0000 (12:09 +0200)]
Add fetchmail-SA-2011-01.txt

12 years agoAdd fetchmail-SA-2011-01.txt
Matthias Andree [Mon, 30 May 2011 10:09:20 +0000 (12:09 +0200)]
Add fetchmail-SA-2011-01.txt

12 years agoMove 'KNOWN BUGS AND WORKAROUNDS' section up.
Matthias Andree [Mon, 30 May 2011 10:08:18 +0000 (12:08 +0200)]
Move 'KNOWN BUGS AND WORKAROUNDS' section up.

12 years agoCorrect branch designation in Doxygen output.
Matthias Andree [Mon, 30 May 2011 09:30:35 +0000 (11:30 +0200)]
Correct branch designation in Doxygen output.

12 years agoGet 6.3.20 change documentation fit for release.
Matthias Andree [Sun, 29 May 2011 17:33:44 +0000 (19:33 +0200)]
Get 6.3.20 change documentation fit for release.

12 years agoBump version - hopefully final release candidate.
Matthias Andree [Sun, 29 May 2011 17:20:03 +0000 (19:20 +0200)]
Bump version - hopefully final release candidate.

12 years agoFreeze updated .po files for -rc3.
Matthias Andree [Sun, 29 May 2011 16:35:34 +0000 (18:35 +0200)]
Freeze updated .po files for -rc3.

12 years agoMerge branch 'common-6x' into legacy_63
Matthias Andree [Fri, 27 May 2011 18:45:37 +0000 (20:45 +0200)]
Merge branch 'common-6x' into legacy_63

12 years agoBump copyright.
Matthias Andree [Fri, 27 May 2011 18:45:29 +0000 (20:45 +0200)]
Bump copyright.

12 years agoMerge branch 'common-6x' into legacy_63
Matthias Andree [Thu, 26 May 2011 21:25:22 +0000 (23:25 +0200)]
Merge branch 'common-6x' into legacy_63

Conflicts:
po/de.po

12 years agoBump automake requirement to 1.11, add dist-xz option.
Matthias Andree [Thu, 26 May 2011 00:06:39 +0000 (02:06 +0200)]
Bump automake requirement to 1.11, add dist-xz option.

12 years agoDrop FETCHMAIL_IMAP_DELETED_REMAINS_UNSEEN dud again.
Matthias Andree [Thu, 26 May 2011 20:24:52 +0000 (22:24 +0200)]
Drop FETCHMAIL_IMAP_DELETED_REMAINS_UNSEEN dud again.

12 years agoDrop revived but unneeded file.
Matthias Andree [Thu, 26 May 2011 12:48:49 +0000 (14:48 +0200)]
Drop revived but unneeded file.

12 years agoUpdate NEWS, mention STARTTLS timeout fix, ...
Matthias Andree [Wed, 25 May 2011 23:46:19 +0000 (01:46 +0200)]
Update NEWS, mention STARTTLS timeout fix, ...

Swap bug fixes and changes. Mark Czech/French/German/Polish translations
updated.  Mark strlen() optimization as a change, rather than a bug fix.

12 years agoRun S(TART)TLS negotiation under timeout alarm.
Matthias Andree [Wed, 25 May 2011 23:47:41 +0000 (01:47 +0200)]
Run S(TART)TLS negotiation under timeout alarm.

Reported missing by Thomas Jarosch.

12 years agoFix missed disabling of alarm when SSL-wrapped connect failed.
Matthias Andree [Wed, 25 May 2011 23:47:11 +0000 (01:47 +0200)]
Fix missed disabling of alarm when SSL-wrapped connect failed.

12 years agoUpdate German translation.
Matthias Andree [Mon, 23 May 2011 18:44:55 +0000 (20:44 +0200)]
Update German translation.

12 years agoHandle socket errors on CAPABILITY probes.
Matthias Andree [Sun, 22 May 2011 21:14:01 +0000 (23:14 +0200)]
Handle socket errors on CAPABILITY probes.

12 years agoReindent.
Matthias Andree [Sun, 22 May 2011 20:45:48 +0000 (22:45 +0200)]
Reindent.

12 years agoBump automake requirement to 1.11, add dist-xz option.
Matthias Andree [Thu, 26 May 2011 00:06:39 +0000 (02:06 +0200)]
Bump automake requirement to 1.11, add dist-xz option.

12 years agoDrop FETCHMAIL_IMAP_DELETED_REMAINS_UNSEEN dud again.
Matthias Andree [Thu, 26 May 2011 20:24:52 +0000 (22:24 +0200)]
Drop FETCHMAIL_IMAP_DELETED_REMAINS_UNSEEN dud again.

12 years agoDrop revived but unneeded file.
Matthias Andree [Thu, 26 May 2011 12:48:49 +0000 (14:48 +0200)]
Drop revived but unneeded file.

12 years agoFreeze strings for -rc2.
Matthias Andree [Wed, 25 May 2011 23:54:27 +0000 (01:54 +0200)]
Freeze strings for -rc2.

12 years agoUpdate NEWS, mention STARTTLS timeout fix, ...
Matthias Andree [Wed, 25 May 2011 23:46:19 +0000 (01:46 +0200)]
Update NEWS, mention STARTTLS timeout fix, ...

Swap bug fixes and changes. Mark Czech/French/German/Polish translations
updated.  Mark strlen() optimization as a change, rather than a bug fix.

12 years agoRun S(TART)TLS negotiation under timeout alarm.
Matthias Andree [Wed, 25 May 2011 23:47:41 +0000 (01:47 +0200)]
Run S(TART)TLS negotiation under timeout alarm.

Reported missing by Thomas Jarosch.

12 years agoFix missed disabling of alarm when SSL-wrapped connect failed.
Matthias Andree [Wed, 25 May 2011 23:47:11 +0000 (01:47 +0200)]
Fix missed disabling of alarm when SSL-wrapped connect failed.

12 years agoBump version to -rc2.
Matthias Andree [Wed, 25 May 2011 23:46:39 +0000 (01:46 +0200)]
Bump version to -rc2.

12 years agoRevert SO_???TIMEO-based STARTTLS timeout handling.
Matthias Andree [Wed, 25 May 2011 23:29:34 +0000 (01:29 +0200)]
Revert SO_???TIMEO-based STARTTLS timeout handling.

This reverts commits 47c05b10018f5ec7493e4bd9f521aaa18d96f1e2
and 72ce8bce8dd655b6aefa33d0a74e883dad5202b5, the code isn't portable,
for instance, Solaris does not support SO_RCVTIMEO/SO_SNDTIMEO.
These socket-level options are known, but Solaris returns EAFNOSUPPORT.

Reported by Jonathan Buschmann.

12 years agoFreeze line numbers in .po files.
Matthias Andree [Mon, 23 May 2011 18:45:16 +0000 (20:45 +0200)]
Freeze line numbers in .po files.

12 years agoUpdate German translation.
Matthias Andree [Mon, 23 May 2011 18:44:55 +0000 (20:44 +0200)]
Update German translation.

12 years agoFix error string.
Matthias Andree [Mon, 23 May 2011 18:44:44 +0000 (20:44 +0200)]
Fix error string.

12 years agoBump version.
Matthias Andree [Mon, 23 May 2011 18:42:14 +0000 (20:42 +0200)]
Bump version.

12 years agoHandle socket errors on CAPABILITY probes.
Matthias Andree [Sun, 22 May 2011 21:14:01 +0000 (23:14 +0200)]
Handle socket errors on CAPABILITY probes.

12 years agoFix socket timeout handling.
Matthias Andree [Sun, 22 May 2011 20:50:58 +0000 (22:50 +0200)]
Fix socket timeout handling.

Fixes STARTTLS hangs reported by Thomas Jarosch.

12 years agoReindent.
Matthias Andree [Sun, 22 May 2011 20:45:48 +0000 (22:45 +0200)]
Reindent.

12 years agoReinstate SSLv2 support on legacy_63 branch.
Matthias Andree [Tue, 17 May 2011 16:00:56 +0000 (18:00 +0200)]
Reinstate SSLv2 support on legacy_63 branch.

Revert "Remove support for SSLv2 (fixes Debian Bug #622054)."
This reverts commit c22a3afca46c83ee6d53a6ee58deb122f309c460.

12 years agoReword FETCHMAIL_IMAP_DELETED_REMAINS_UNSEEN, ...
Matthias Andree [Tue, 17 May 2011 17:42:48 +0000 (19:42 +0200)]
Reword FETCHMAIL_IMAP_DELETED_REMAINS_UNSEEN, ...

mentioning that some MS Exchange versions send a "deleted without being read"
notification in this situation.

12 years agoMention impending SSLv2 removal.
Matthias Andree [Tue, 17 May 2011 17:36:50 +0000 (19:36 +0200)]
Mention impending SSLv2 removal.

12 years agoDrop broken test code.
Matthias Andree [Wed, 6 Apr 2011 19:17:17 +0000 (21:17 +0200)]
Drop broken test code.

12 years agoFix opie.h error handling.
Matthias Andree [Tue, 17 May 2011 16:46:22 +0000 (18:46 +0200)]
Fix opie.h error handling.

Properly quote AC_MSG_ERROR argument.

12 years agoSockOpen(): set SO_KEEPALIVE.
Matthias Andree [Fri, 13 May 2011 11:15:03 +0000 (13:15 +0200)]
SockOpen(): set SO_KEEPALIVE.

12 years agoCorrect call arguments to gen_transact().
Matthias Andree [Wed, 11 May 2011 11:47:44 +0000 (13:47 +0200)]
Correct call arguments to gen_transact().

12 years agoDo not print "skipping message" for old messages even in verbose mode.
Sunil Shetye [Wed, 4 May 2011 17:51:11 +0000 (23:21 +0530)]
Do not print "skipping message" for old messages even in verbose mode.

13 years agoTake note of immediate 6.3.20 release plans
Matthias Andree [Sat, 7 May 2011 09:56:49 +0000 (11:56 +0200)]
Take note of immediate 6.3.20 release plans

13 years agoAdd .mailmap file.
Matthias Andree [Wed, 4 May 2011 13:56:27 +0000 (15:56 +0200)]
Add .mailmap file.

13 years agocorrect call to gen_send()
Sunil Shetye [Wed, 4 May 2011 09:43:16 +0000 (15:13 +0530)]
correct call to gen_send()

13 years agoUse proper branch name, provide stddef.h to Doxygen.
Matthias Andree [Wed, 4 May 2011 10:23:30 +0000 (12:23 +0200)]
Use proper branch name, provide stddef.h to Doxygen.

13 years agoDocument transact.c, RecvSplit.
Matthias Andree [Wed, 4 May 2011 10:22:52 +0000 (12:22 +0200)]
Document transact.c, RecvSplit.

13 years agoMake macro expansions safer for VALID_ADDRESS and RBUF_WRITE.
Matthias Andree [Wed, 4 May 2011 10:10:59 +0000 (12:10 +0200)]
Make macro expansions safer for VALID_ADDRESS and RBUF_WRITE.

13 years agoFixup: match prefix caseblind, add some guards, streamline phase handling.
Matthias Andree [Wed, 4 May 2011 00:02:30 +0000 (02:02 +0200)]
Fixup: match prefix caseblind, add some guards, streamline phase handling.

Add a few asserts to catch abuse, and use strlcpy/strlcat rather than
snprintf because some implementations of the latter are unsuitable for
detecting buffer exhaustion.

13 years agoFixup: remove unused variables.
Matthias Andree [Tue, 3 May 2011 23:58:46 +0000 (01:58 +0200)]
Fixup: remove unused variables.

13 years agoDo not search for UNSEEN messages in ranges.
Sunil Shetye [Mon, 2 May 2011 19:36:34 +0000 (01:06 +0530)]
Do not search for UNSEEN messages in ranges.

Add gen_recv_split() to split long protocol messages when the message prefix matches

Order of search commands:

IMAP> A010 SEARCH UNSEEN UNDELETED     (IMAP4 or higher)
IMAP> A011 SEARCH UNSEEN
IMAP> A012 FETCH 1:n FLAGS

13 years agoIgnore stuff from non-VPATH builds or from Eclipse.
Matthias Andree [Tue, 3 May 2011 23:08:16 +0000 (01:08 +0200)]
Ignore stuff from non-VPATH builds or from Eclipse.

13 years agoAdd FETCHMAIL_IMAP_DELETED_REMAINS_UNSEEN env' var.
Matthias Andree [Tue, 3 May 2011 13:37:46 +0000 (15:37 +0200)]
Add FETCHMAIL_IMAP_DELETED_REMAINS_UNSEEN env' var.

Requested by Jonathan Buschmann, to suppress read-notifications on
servers such as MS Exchange or HP OpenMail.

13 years agoCall strlen() only once when removing CRLF from a line
Sunil Shetye [Sun, 1 May 2011 19:05:00 +0000 (00:35 +0530)]
Call strlen() only once when removing CRLF from a line

13 years agoAdd a SockTimeout(int socket, int seconds) function.
Matthias Andree [Fri, 29 Apr 2011 13:08:49 +0000 (15:08 +0200)]
Add a SockTimeout(int socket, int seconds) function.

Uses setsockopt(..., SOL_SOCKET, SO_{SND|RCV}TIMEO, ...).

13 years agoIn the plugin child, call _exit, not exit.
Matthias Andree [Fri, 29 Apr 2011 14:29:21 +0000 (16:29 +0200)]
In the plugin child, call _exit, not exit.

13 years agoProperly report EXIT_FAILURE if the plugin/plugout execvp() fails.
Matthias Andree [Fri, 29 Apr 2011 14:23:16 +0000 (16:23 +0200)]
Properly report EXIT_FAILURE if the plugin/plugout execvp() fails.

13 years agoFix grammar.
Matthias Andree [Fri, 29 Apr 2011 13:07:33 +0000 (15:07 +0200)]
Fix grammar.

13 years agoRemove unused code.
Matthias Andree [Fri, 29 Apr 2011 09:03:54 +0000 (11:03 +0200)]
Remove unused code.

13 years agoFix typo in comment.
Matthias Andree [Thu, 28 Apr 2011 21:18:46 +0000 (23:18 +0200)]
Fix typo in comment.

13 years agoBuild fix for systems that don't have perl in /usr/bin (DragonFly).
Matthias Andree [Thu, 28 Apr 2011 22:22:50 +0000 (00:22 +0200)]
Build fix for systems that don't have perl in /usr/bin (DragonFly).

13 years agoAdd Google Mail links to section I9.
Matthias Andree [Wed, 13 Apr 2011 09:57:13 +0000 (11:57 +0200)]
Add Google Mail links to section I9.

13 years agoAutomatic update.
Matthias Andree [Mon, 11 Apr 2011 12:15:13 +0000 (14:15 +0200)]
Automatic update.

13 years agoBump version.
Matthias Andree [Mon, 11 Apr 2011 12:15:31 +0000 (14:15 +0200)]
Bump version.

13 years agoRemove support for SSLv2 (fixes Debian Bug #622054).
Matthias Andree [Mon, 11 Apr 2011 12:08:32 +0000 (14:08 +0200)]
Remove support for SSLv2 (fixes Debian Bug #622054).

SSLv2 has been deprecated since 1996, and is insecure.
Remove --sslproto SSL2 support.
Set SSL_OP_NO_SSLvSSL_CTX 2 option so that the SSLv23 multi-version
client no longer negotiates SSLv2.

Note that some distributions (such as Debian) build OpenSSL 1.0.0
without SSLv2 support, so on those, the build would fail.

Fixes Debian Bug #622054
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=622054

13 years agoRemove extraneous parentheses.
Matthias Andree [Thu, 7 Apr 2011 13:10:55 +0000 (15:10 +0200)]
Remove extraneous parentheses.

13 years agoxstrdup string constant for ctl->server.service.
Matthias Andree [Tue, 14 Dec 2010 21:02:38 +0000 (22:02 +0100)]
xstrdup string constant for ctl->server.service.