aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.h
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Revise comments.Matthias Andree2006-05-151-1/+1
| | | | svn path=/branches/BRANCH_6-3/; revision=4841
* Add pidfile option, requested by Héctor García.Matthias Andree2006-04-021-12/+6
| | | | svn path=/branches/BRANCH_6-3/; revision=4770
* Add folder information to headers in tracepoll mode. Matthias Andree2006-04-011-0/+1
| | | | | | Reported by Terry Brown. svn path=/branches/BRANCH_6-3/; revision=4764
* Tighter check if strerror declaration is needed.Matthias Andree2006-03-151-3/+3
| | | | svn path=/branches/BRANCH_6-3/; revision=4743
* Fix more compiler warnings.Matthias Andree2006-03-141-3/+3
| | | | svn path=/branches/BRANCH_6-3/; revision=4736
* merge Mirek's fetchmail-signed.patchMatthias Andree2006-03-141-11/+11
| | | | svn path=/branches/BRANCH_6-3/; revision=4734
* Rename a methods and some variables to steer clear of C++ namespace.Matthias Andree2006-03-131-1/+1
| | | | svn path=/branches/BRANCH_6-3/; revision=4733
* Fix a few compiler warnings through casts.Matthias Andree2006-01-111-1/+1
| | | | | | Make MD5Update argument const. svn path=/branches/BRANCH_6-3/; revision=4621
* Revise Maillennium workaround so that it is reported only once per server, ↵Matthias Andree2006-01-071-0/+8
| | | | | | in daemon mode. svn path=/branches/BRANCH_6-3/; revision=4613
* * SMTP/LMTP cleanup to fix these two bugs:Matthias Andree2005-12-201-0/+1
| | | | | | | | | - switch back to SMTP after having tried LMTP hosts (multiple smtphost hosts) - switch back to LMTP after sending a bounce. The patch removes the global state variable that was the root of this problem. Patch by Sunil Shetye. svn path=/branches/BRANCH_6-3/; revision=4581
* Sunil Shetye fixed these problems in a patch posted to fetchmail-devel:Matthias Andree2005-11-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 1. parsed_host is not freed in some cases. This happens when the first smtp server is down in this setup: poll mailserver ... smtphost "smtpserver1" "smtpserver2" ... 2. parsed_host is being initialized for UNIX socket also. For UNIX socket, parsed_host should be NULL. 3. If EHLO fails on a UNIX socket, it tries HELO on a network socket! 4. ctl->destaddr is allocated memory in two cases. This memory is never freed. 5. ctl->destaddr was being assigned in a very convoluted manner. Since, parsed_host is already set correctly now, it can be used directly. svn path=/trunk/; revision=4443
* Document host_fqdn() interface.Matthias Andree2005-11-101-1/+11
| | | | svn path=/trunk/; revision=4398