aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.h
Commit message (Collapse)AuthorAgeFilesLines
* tls-aux.c: add helper to obtain default cert pathsMatthias Andree2021-01-301-0/+4
| | | | | | | | | | | ...and compile it as standalone test program. After "make check", you can check t.tls-aux.log in the build area for the defaults. Note that environment overrides can be made, see SSL_CTX_set_default_verify_paths(3) or, for instance, https://www.openssl.org/docs/man1.1.1/man3/SSL_CTX_set_default_verify_paths.html OpenSSL 3.x may ship an openssl-env(7) manual page.
* Add fm_realpath(): a malloc()ating realpath() wrapper.Matthias Andree2020-05-041-0/+4
|
* Fix HAVE_DECL_ users to check value, not definition.Matthias Andree2020-03-301-1/+1
| | | | | | | All such uses in fetchmail stem from AC_CHECK_DECLS(), which will always define a HAVE_DECL_ macro with either 0 or 1, thus we must not check if that macro is defined, but we must check its value.
* Properly error-check reading the idfile.Matthias Andree2020-03-301-1/+1
| | | | Fixes #3 (Gitlab issue#).
* 6.4.1, regression fix for default file locations.Matthias Andree2019-09-281-0/+1
| | | | | | | | The fix between 6.4.0-rc4 and 6.4.0 for Debian Bug#941129 caused a regression in the default file locations, some files were looked for without dot (.fetchmail.pid, .fetchmailrc). Reported by Cy Schubert.
* Align with legacy_6x.Matthias Andree2019-08-251-2/+2
| | | | | | * Normalize include order. * Backport missed bug fixes. * Remove dead code.
* Minor Doxygen updates/fixes.Matthias Andree2019-08-201-2/+2
| | | | Reported by: Jens Schleusener (fossies.org)
* FreeBSD cleanups to header shuffling.Matthias Andree2019-08-051-7/+0
|
* Waive AC_TYPE_SIGNAL and assume signal handlers return void.Matthias Andree2019-05-121-0/+1
| | | | Reported by: autoupdate.
* In-depth fix for to64frombits() BASE64 encoder buffer sizing.Matthias Andree2018-04-141-2/+2
|
* UIDL database speedup with Patricia trees.Matthias Andree2016-12-111-2/+3
| | | | | | | Import Rainer Weikusat's code that uses Patricia trees instead of linear lists. Snapshot Rainer's patch 2010-05-24 19:30:42
* Accept more options with a running daemon.Matthias Andree2016-07-061-1/+1
| | | | (Cherry-picked from master's 1a92b2909610096a11d26f7a7317d32819354be3.)
* TLS overhaul, bumping version to 6.4Matthias Andree2015-01-261-3/+3
| | | | | | | | | | | | | | | Removes SSLv2, enables TLSv1.1 and v1.2 more easily, permits SSLv3 (only if specified) and newer TLSv1.1+ for STLS/STARTTLS. Only negotiates TLSv1 and newer by default, SSLv3 must now be specified explicitly, as a consequence of the POODLE attack. This is meant to be a minimally upgraded version, and cannot be usefully done as a 6.3.X release. It is strongly recommended that users review their configuration - especially --sslproto - per instructions in the NEWS file and manual page. It has changed semantics and in many cases --sslproto auto or perhaps --sslproto tls1.2+ should be used now.
* Do not translate header tags such as "Subject:".Matthias Andree2014-05-201-2/+5
| | | | Reported by Gonzalo Pérez de Olaguer Córdoba, Debian Bug#744907.
* Remove comment that confuses splint.Matthias Andree2013-05-111-1/+1
|
* Document transact.c, RecvSplit.Matthias Andree2011-05-041-7/+10
|
* Do not search for UNSEEN messages in ranges.Sunil Shetye2011-05-041-0/+11
| | | | | | | | | | 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
* Factor out common NTLM code.Matthias Andree2010-10-091-0/+5
|
* Fix missing prototype for norm_charmap.Matthias Andree2010-10-091-2/+2
|
* Fix prototype warnings, remove unused functions.Matthias Andree2010-10-051-10/+2
|
* X.509 matching split out; disallow TLD wildcards.Matthias Andree2010-08-271-0/+3
|
* Avoid wedging Exchange 2007 with GSSAPI.Matthias Andree2010-08-211-0/+1
| | | | | | | | | Exchange 2007 wedges if we try GSSAPI authentication and fail for lack of suitable credentails (for instance, because the user did not run kinit). Only try GSSAPI automatically if we have credentials. Reported by Patrick Rynhart, Debian Bug #568455, and Alan Murrell, to the fetchmail-users list.
* Fix some rare or minor issues found with Clang 2.7 analyzer.Matthias Andree2010-06-031-2/+2
|
* Split string list stuff from uid.c into new idlist.c.Matthias Andree2010-04-241-21/+21
|
* Complete Doxygen documentation of uid.c and related definitions.Matthias Andree2010-04-241-10/+19
|
* Add --sslcertfile option and FETCHMAIL_NO_DEFAULT_X509_PATHS env var,Matthias Andree2010-04-181-0/+1
| | | | and always load the default X.509 trust stores, unless the latter is set.
* Fix MD5Digest prototype and remove unneeded type casts.Matthias Andree2010-04-181-1/+1
|
* Fix MD5 compile on Solaris.Matthias Andree2010-03-191-1/+1
|
* Further type fixes.Matthias Andree2010-03-181-4/+4
|
* Fix lots of warnings, most around string literals...Matthias Andree2010-03-181-9/+9
| | | | | | | ...that were converted to char* when they should have been converted to const char *. Use braces for empty if/else statements.
* Rename bad-header pass to bad-header accept, ...Matthias Andree2010-02-241-1/+1
| | | | to resolve an ambiguity found by Frédéric Marchal.
* Feature: bad-header {reject|pass}Matthias Andree2010-02-241-0/+3
|
* Refactoring: Rename smtp_open() to smtp_setup()Matthias Andree2010-02-101-0/+1
|
* Fix IMAP IDLE and untagged (* ...) response parser, by Sunil Shetye.Matthias Andree2010-01-221-0/+1
| | | | | | | | | | | | | The IMAP client no longer skips messages from several IMAP servers including Dovecot if fetchmail's "idle" is in use. Causes were that fetchmail (a) ignored some untagged responses when it should not (b) relied on EXISTS messages in response to EXPUNGE, which aren't mandated by RFC-3501 (the IMAP standard) and aren't sent by Dovecot either. Fix by Sunil Shetye (the fix also consolidates IMAP response handling, improving overall robustness of the IMAP client), bug report and testing by Matt Doran, with further hints from Timo Sirainen. svn path=/branches/BRANCH_6-3/; revision=5459
* Add sdump(), split xmalloc.h out of fetchmail.hMatthias Andree2009-08-051-10/+1
| | | | svn path=/branches/BRANCH_6-3/; revision=5390
* Treat permanent delivery errors as temporary (configurable).Matthias Andree2009-05-241-0/+1
| | | | | | | | | | | | | | | | Fetchmail no longer drops permanently undelivered messages by default, to match historic documentation. It does this by adding a new "softbounce" option, see below. Fixes Debian Bug#471283, demotes Debian Bug#494418 to wishlist. There is a new "softbounce" global option that prevents the deletion of messages that have not been forwarded. It defaults to "true" for fetchmail 6.3.X in order to match historic documentation. This may change its default in the next major release. NOTE: untested. svn path=/branches/BRANCH_6-3/; revision=5315
* Major progress ticker bugfix/overhaul.Matthias Andree2009-05-041-0/+6
| | | | | | | | | | | | | | Progress tickers had been used inconsistently for a long time, and documentation was outdated, too. Factor out common code to ease maintenance, use the report_flush() function, and add and use a macro (want_progress()) to determine if progress ticker output is desired. This makes for a much more consistent look on screen and in logfiles and should be much easier to fix later on. TODO: test syslog output. svn path=/branches/BRANCH_6-3/; revision=5290
* Add report_flush(fp) function (report.c).Matthias Andree2009-05-041-0/+2
| | | | svn path=/branches/BRANCH_6-3/; revision=5289
* Merge Daniel Richard G.'s --sslcommonname option.Matthias Andree2008-03-071-0/+1
| | | | | | | | Exception from no-features policy on 6.3.X is made to keep people away from doing more dangerous things in order to get rid of CommonName mismatch warnings. svn path=/branches/BRANCH_6-3/; revision=5165
* Remove FETCHMAIL_DEBUG diversion that couldn't be officially enabled and wasMatthias Andree2007-11-061-12/+0
| | | | | | prone to symlink attacks. Found by Nico Golde. svn path=/branches/BRANCH_6-3/; revision=5134
* Strengthen APOP a bit (validate RFC-822 syntax) in order to fend offMatthias Andree2007-03-181-0/+3
| | | | | | Leurent-style MITM attacks which are based on MD5 and APOP weaknesses. svn path=/branches/BRANCH_6-3/; revision=5057
* Drop PS_TRUNCATED (27), which is never returned.Matthias Andree2006-12-161-1/+0
| | | | svn path=/branches/BRANCH_6-3/; revision=4991
* First step towards really fixing TLS vuln, CVE-2006-5867, still incomplete.Matthias Andree2006-11-261-0/+4
| | | | svn path=/branches/BRANCH_6-3/; revision=4962
* Document sslproto details.Matthias Andree2006-11-011-1/+2
| | | | svn path=/branches/BRANCH_6-3/; revision=4924
* Add a comment.Matthias Andree2006-09-251-1/+1
| | | | svn path=/branches/BRANCH_6-3/; revision=4911
* Add IMAP AUTH=EXTERNAL support. BerliOS Patch #1095.Matthias Andree2006-08-141-0/+4
| | | | | | | Courtesy of Götz 'nimrill' Babin-Ebell. This patch also makes --sslproto arguments case insensitive. svn path=/branches/BRANCH_6-3/; revision=4896
* Wrap getaddrinfo() and block SIGALRM where needed.Matthias Andree2006-08-141-0/+3
| | | | | | Also wrap freeaddrinfo() without added functionality. svn path=/branches/BRANCH_6-3/; revision=4895
* fix compilation on systems that don't know struct addrinfo (Solaris 2.6).Matthias Andree2006-08-131-0/+2
| | | | svn path=/branches/BRANCH_6-3/; revision=4891
* Freeaddrinfo() fix for Uli Zappe's bug.Matthias Andree2006-08-071-1/+10
| | | | | | This might fix Debian Bug#294547 and Bug#377135. svn path=/branches/BRANCH_6-3/; revision=4880
* Revise UID_DELETED comment.Matthias Andree2006-05-171-2/+2
| | | | svn path=/branches/BRANCH_6-3/; revision=4843