aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
Commit message (Collapse)AuthorAgeFilesLines
* Major progress ticker bugfix/overhaul.Matthias Andree2009-05-041-24/+29
| | | | | | | | | | | | | | 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
* Fix pre-/post-connect error/signal reporting.Matthias Andree2009-04-091-5/+12
| | | | svn path=/branches/BRANCH_6-3/; revision=5267
* Fix Debian Bug#508667: do not lose PS_MAXFETCH (13) exit status.Matthias Andree2008-12-151-2/+4
| | | | | | Reported by Michelle Konzack. svn path=/branches/BRANCH_6-3/; revision=5255
* FIXME: (driver.c::fetchmessages) mark wholesize and separatefetchbody to be ↵Matthias Andree2008-06-131-0/+3
| | | | | | unified. svn path=/branches/BRANCH_6-3/; revision=5192
* Merge Daniel Richard G.'s --sslcommonname option.Matthias Andree2008-03-071-4/+6
| | | | | | | | 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
* Fix pluralization in oversized-messages warning.Matthias Andree2007-02-181-2/+4
| | | | svn path=/branches/BRANCH_6-3/; revision=5039
* Drop PS_TRUNCATED (27), which is never returned.Matthias Andree2006-12-161-2/+0
| | | | svn path=/branches/BRANCH_6-3/; revision=4991
* When the server name cannot be canonicalized, log the gai_strerror value.Matthias Andree2006-09-261-2/+3
| | | | svn path=/branches/BRANCH_6-3/; revision=4916
* Add IMAP AUTH=EXTERNAL support. BerliOS Patch #1095.Matthias Andree2006-08-141-1/+1
| | | | | | | 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-4/+4
| | | | | | Also wrap freeaddrinfo() without added functionality. svn path=/branches/BRANCH_6-3/; revision=4895
* Ignore SIGPIPE, EPIPE must suffice as error.Matthias Andree2006-08-141-22/+5
| | | | | | Calling longjmp() from a signal handler is unsafe. svn path=/branches/BRANCH_6-3/; revision=4893
* switch setjmp/longjmp to sigsetjmp/siglongjmpMatthias Andree2006-08-131-15/+4
| | | | svn path=/branches/BRANCH_6-3/; revision=4892
* Freeaddrinfo() fix for Uli Zappe's bug.Matthias Andree2006-08-071-1/+11
| | | | | | This might fix Debian Bug#294547 and Bug#377135. svn path=/branches/BRANCH_6-3/; revision=4880
* Keep all non-error syslog messages on one line per downloaded message.Matthias Andree2006-08-011-5/+3
| | | | svn path=/branches/BRANCH_6-3/; revision=4874
* * IMAP4 patch by Sunil Shetye:Matthias Andree2006-05-211-3/+3
| | | | | | | - do not depend on server updating RECENT counts at all - also enter IDLE loop when messages are present on the server. svn path=/branches/BRANCH_6-3/; revision=4847
* Consistency: rename preprocessor label.Matthias Andree2006-05-101-1/+1
| | | | svn path=/branches/BRANCH_6-3/; revision=4821
* Document that qmail-pop3d miscalculates the message sizes.Matthias Andree2006-05-081-0/+3
| | | | svn path=/branches/BRANCH_6-3/; revision=4817
* Add folder information to headers in tracepoll mode. Matthias Andree2006-04-011-0/+2
| | | | | | Reported by Terry Brown. svn path=/branches/BRANCH_6-3/; revision=4764
* Work around C libraries that return a NULL in getaddrinfo()'s ai_canonname Matthias Andree2006-03-211-1/+9
| | | | | | | record, to avoid a segfault. Affects, for instance, FreeBSD 4.11. Reported and patched by "Voldemar" via fetchmail-users@. svn path=/branches/BRANCH_6-3/; revision=4750
* Further cleanups to compile with C++ compiler.Matthias Andree2006-03-151-7/+6
| | | | svn path=/branches/BRANCH_6-3/; revision=4744
* Fix lost if ().Matthias Andree2006-03-141-0/+1
| | | | svn path=/branches/BRANCH_6-3/; revision=4738
* Fix more compiler warnings.Matthias Andree2006-03-141-18/+21
| | | | svn path=/branches/BRANCH_6-3/; revision=4736
* merge Mirek's fetchmail-signed.patchMatthias Andree2006-03-141-3/+2
| | | | svn path=/branches/BRANCH_6-3/; revision=4734
* Rename a methods and some variables to steer clear of C++ namespace.Matthias Andree2006-03-131-10/+10
| | | | svn path=/branches/BRANCH_6-3/; revision=4733
* Stop printing blank lines in verbose syslog mode.Matthias Andree2006-03-031-2/+2
| | | | svn path=/branches/BRANCH_6-3/; revision=4715
* Fix a few compiler warnings through casts.Matthias Andree2006-01-111-2/+2
| | | | | | Make MD5Update argument const. svn path=/branches/BRANCH_6-3/; revision=4621
* Drop line from 6.4.0 patch that accidentally hit the branch.Matthias Andree2005-12-131-1/+0
| | | | svn path=/branches/BRANCH_6-3/; revision=4542
* Merge patch by Sunil Sheteye to fix five bugs:Matthias Andree2005-12-131-12/+46
| | | | | | | | | | | | * Close SMTP sockets early, to reduce resource usage, trigger earlier delivery with some MTAs and avoid SIGPIPE (SIG 13) when the SMTP listener gets bored and drops the connection after timeout. * Don't treat hitting a fetch limit (PS_MAXFETCH) as error. * Fix negative "messages left on server" on idle/repoll with fetchlimit. * Properly track logout stage (STAGE_LOGOUT). * Preserve error conditions across postconnect script. svn path=/branches/BRANCH_6-3/; revision=4541
* Plug potential memory and socket leak when polling multiple folders or when ↵Matthias Andree2005-12-081-1/+3
| | | | | | the upstream sends bogus message sizes. Patch by Sunil Shetye. svn path=/branches/BRANCH_6-3/; revision=4527
* In oversized warning messages, print the account name, too. Fixes DebianMatthias Andree2005-11-171-4/+4
| | | | | | Bug#213299. Sunil Shetye. svn path=/trunk/; revision=4456
* Revise some error messages so they are less confusing. Sunil Shetye.Matthias Andree2005-11-101-6/+7
| | | | svn path=/trunk/; revision=4401
* Pass the tag to ->trail method.Matthias Andree2005-11-091-2/+2
| | | | svn path=/trunk/; revision=4395
* Rename isafile -> is_a_file, isidletimout -> is_idletimeoutMatthias Andree2005-09-251-3/+3
| | | | | | to keep clear of ctype.h namespace. svn path=/trunk/; revision=4322
* Make SSL connection failures PS_SOCKET (not PS_AUTHFAIL). Reported by Thomas ↵Matthias Andree2005-09-211-1/+1
| | | | | | Wolff. svn path=/trunk/; revision=4314
* Expunge between IMAP folders when polling multiple folders. Sunil Shetye.Matthias Andree2005-09-211-0/+8
| | | | | | Fix IMAP expunged message counting. Sunil Shetye. svn path=/trunk/; revision=4301
* Merge Sunil Shetye's --limitflush patch.Matthias Andree2005-09-171-21/+24
| | | | svn path=/trunk/; revision=4289
* Large protocol independence patch.Matthias Andree2005-08-281-71/+12
| | | | svn path=/trunk/; revision=4280
* Remove port/service dualism and make everything a service.Matthias Andree2005-08-021-16/+1
| | | | svn path=/trunk/; revision=4219
* Get rid of alloca() in fetchmail.Matthias Andree2005-07-311-15/+17
| | | | svn path=/trunk/; revision=4209
* Plug memory leaks.Matthias Andree2005-07-311-0/+3
| | | | svn path=/trunk/; revision=4197
* INCOMPATIBLE: DROP --netsec/-T option, NET_SECURITY macro - the required ↵Matthias Andree2005-07-301-2/+2
| | | | | | library is no longer available. svn path=/trunk/; revision=4192
* strcpy -> strlcpy, strcat -> strlcatMatthias Andree2005-07-301-5/+5
| | | | svn path=/trunk/; revision=4186
* Add a comment.Matthias Andree2005-07-261-1/+1
| | | | svn path=/trunk/; revision=4185
* Delete oversized messages with --flush when daemon mode isn't used.Matthias Andree2005-07-231-8/+5
| | | | | | Debian Bug#212240. svn path=/trunk/; revision=4173
* Add a comment.Matthias Andree2005-07-231-0/+6
| | | | svn path=/trunk/; revision=4166
* Fix Debian bug #301964, socket leak.Matthias Andree2005-07-201-1/+1
| | | | svn path=/trunk/; revision=4127
* Fix memset() argument order.Matthias Andree2005-07-031-1/+1
| | | | svn path=/trunk/; revision=4085
* Use getaddrinfo to canonicalize hostnames if INET6_ENABLE. Patch by Matthias ↵Matthias Andree2005-07-031-1/+32
| | | | | | Andree. svn path=/trunk/; revision=4078
* i18n fixes, cs.po updates, by Miloslav Trmac.Matthias Andree2005-07-031-6/+5
| | | | svn path=/trunk/; revision=4076
* Nalin Dahyabhai's fix for driver.c to not call the private Kerberos Matthias Andree2005-07-031-1/+0
| | | | | | krb5_init_ets() function. Sent by Miloslav Trmac. svn path=/trunk/; revision=4070