aboutsummaryrefslogtreecommitdiffstats
path: root/transact.c
Commit message (Collapse)AuthorAgeFilesLines
* 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-1/+4
|
* Remove 'message delimiter found while scanning headers' error message.Matthias Andree2009-07-141-10/+5
| | | | | | | RFC-5322 allows for messages without the CRLF+body part, so fetchmail should not complain about legal messages. svn path=/branches/BRANCH_6-3/; revision=5387
* Fix a signedness compiler warning.Matthias Andree2009-05-251-1/+1
| | | | svn path=/branches/BRANCH_6-3/; revision=5328
* Major progress ticker bugfix/overhaul.Matthias Andree2009-05-041-3/+3
| | | | | | | | | | | | | | 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
* if ( ... return) else if -> 2 * ifMatthias Andree2009-05-041-1/+2
| | | | svn path=/branches/BRANCH_6-3/; revision=5280
* Fix formatting around MIME decoding.Matthias Andree2009-05-041-17/+16
| | | | svn path=/branches/BRANCH_6-3/; revision=5279
* Factor out dots ticker function.Matthias Andree2009-05-041-20/+20
| | | | svn path=/branches/BRANCH_6-3/; revision=5278
* Fix a few compiler warnings around implicit conversion or extra ";".Matthias Andree2009-01-141-3/+3
| | | | svn path=/branches/BRANCH_6-3/; revision=5261
* Support user@example.org (full-address) mappings for multidropMatthias Andree2006-08-071-5/+25
| | | | | | on the left-hand side of mappings. svn path=/branches/BRANCH_6-3/; revision=4885
* Freeaddrinfo() fix for Uli Zappe's bug.Matthias Andree2006-08-071-2/+3
| | | | | | This might fix Debian Bug#294547 and Bug#377135. svn path=/branches/BRANCH_6-3/; revision=4880
* Detect write errors when stuffing delimiter line between header and body.Matthias Andree2006-07-311-5/+8
| | | | | | | Correct error message when copying message text fails. Fix a comment that falsely asserts we were generating invalid Received: headers. svn path=/branches/BRANCH_6-3/; revision=4869
* For protocols such as IMAP that are not delimited by "." lines, truncateMatthias Andree2006-05-121-0/+17
| | | | | | | | | the input buffer when the message has been completely read, to avoid taking trailing garbage into the message if the terminal CRLF is missing. Fixes Debian Bug#312415. (Patch suggested by Mike Jones, Manchester Univ.). svn path=/branches/BRANCH_6-3/; revision=4824
* a few more type fixes for report/snprintf, patch by Miloslav Trmac.Matthias Andree2006-04-011-1/+1
| | | | svn path=/branches/BRANCH_6-3/; revision=4767
* Add folder information to headers in tracepoll mode. Matthias Andree2006-04-011-0/+4
| | | | | | Reported by Terry Brown. svn path=/branches/BRANCH_6-3/; revision=4764
* Further cleanups to compile with C++ compiler.Matthias Andree2006-03-151-7/+6
| | | | svn path=/branches/BRANCH_6-3/; revision=4744
* merge Mirek's fetchmail-signed.patchMatthias Andree2006-03-141-8/+7
| | | | svn path=/branches/BRANCH_6-3/; revision=4734
* Rename a methods and some variables to steer clear of C++ namespace.Matthias Andree2006-03-131-2/+2
| | | | svn path=/branches/BRANCH_6-3/; revision=4733
* Remove dead variable and add a few comments on the 'invalid header' issue.Matthias Andree2006-03-031-3/+11
| | | | svn path=/branches/BRANCH_6-3/; revision=4714
* Fix segfault in multidrop mode with headerless email.Matthias Andree2005-12-081-21/+10
| | | | | | | | Reported by Daniel Drake, patch by Sunil Shetye. This was actually modified from Sunil's patch to leave the if() {...} braces in the code to avoid ambiguities later. svn path=/branches/BRANCH_6-3/; revision=4530
* Document details about the UWIMAP folder internal data/X-IMAP: thingy.Matthias Andree2005-11-231-0/+23
| | | | svn path=/trunk/; revision=4475
* Global variable cleanup, to fix daemon mode reinitialization problems.Matthias Andree2005-10-211-5/+13
| | | | | | Patch by Sunil Shetye. svn path=/trunk/; revision=4362
* Rename isafile -> is_a_file, isidletimout -> is_idletimeoutMatthias Andree2005-09-251-4/+4
| | | | | | to keep clear of ctype.h namespace. svn path=/trunk/; revision=4322
* Make "envelope 'Delivered-To'" work with dropdelivered. Timothy Lee.Matthias Andree2005-09-231-5/+14
| | | | svn path=/trunk/; revision=4319
* Large protocol independence patch.Matthias Andree2005-08-281-10/+15
| | | | svn path=/trunk/; revision=4280
* Add a FIXME comment.Matthias Andree2005-08-261-0/+1
| | | | svn path=/trunk/; revision=4263
* Remove port/service dualism and make everything a service.Matthias Andree2005-08-021-6/+2
| | | | svn path=/trunk/; revision=4219
* Fix compiler warning.Matthias Andree2005-07-311-1/+1
| | | | svn path=/trunk/; revision=4207
* Fix progress stars and hashes.Matthias Andree2005-07-311-3/+3
| | | | svn path=/trunk/; revision=4204
* Kill alloca().Matthias Andree2005-07-311-1/+4
| | | | svn path=/trunk/; revision=4200
* strcpy -> strlcpy, strcat -> strlcatMatthias Andree2005-07-301-4/+4
| | | | svn path=/trunk/; revision=4186
* Make tracepolls a server option, as documented. Fixes Debian bug #156094.Matthias Andree2005-07-181-1/+1
| | | | svn path=/trunk/; revision=4121
* Nalin Dahyabhai's fix for sink.c/transact.c to reserve sufficient Matthias Andree2005-07-031-4/+4
| | | | | | | space for \r\n trailers in snprintf calls. Sent by Miloslav Trmac, possibly fixing Red Hat bug #114470. svn path=/trunk/; revision=4071
* Check for SockWrite() return and bail out on short writes.Matthias Andree2004-12-221-1/+4
| | | | svn path=/trunk/; revision=4016
* Misc. sprintf and pid_t fixes.Matthias Andree2004-11-101-2/+3
| | | | svn path=/trunk/; revision=4000
* Clean up the horrible HAVE_[V]SNPRINTF mess, use Trio on systems that lackMatthias Andree2004-11-101-67/+6
| | | | | | real snprintf or vsnprintf. svn path=/trunk/; revision=3996
* Fix miscellaneous warnings.Matthias Andree2004-10-201-5/+1
| | | | svn path=/trunk/; revision=3953
* Merge 2004-03-25-6.2.5-egidy-parserec.diff.Matthias Andree2004-10-121-1/+1
| | | | | | | | | | | | | | | | | | | Gerd v. Egidy writes: a received header looking like this Received: from code ([20.191.144.116]) by currently causes fetchmail 6.2.5 to segfault when in multidrop/received mode. Looks like there is a check for \0 missing in parse_received, the attached patch fixes this. (Committer's note: the sample looks incomplete but anyways the patch makes sense to me.) svn path=/trunk/; revision=3941
* Safe fixes for compiler warnings.Matthias Andree2004-08-091-1/+2
| | | | svn path=/trunk/; revision=3929
* Don't output progress dots if output is only going to syslog.Graham Wilson2004-08-091-2/+2
| | | | svn path=/trunk/; revision=3928
* Cast arguments of is*() ctype.h functions to unsigned char to be 8-bit safe.Matthias Andree2004-06-191-11/+11
| | | | svn path=/trunk/; revision=3903
* Compiler warnings fixes, preprocessor and minor general cleanup.Matthias Andree2004-06-181-4/+4
| | | | svn path=/trunk/; revision=3901
* Fix various compiler warnings.Matthias Andree2004-06-181-7/+7
| | | | svn path=/trunk/; revision=3899
* Bulletproof the dup killer.Eric S. Raymond2003-10-101-7/+3
| | | | svn path=/trunk/; revision=3856
* Storage cleanup for new dup killer code.Eric S. Raymond2003-10-101-4/+4
| | | | svn path=/trunk/; revision=3855
* Dup killer now uses an MD5 hash of the message headers.Eric S. Raymond2003-10-101-23/+26
| | | | svn path=/trunk/; revision=3853
* Typo that will not die.Eric S. Raymond2003-10-101-1/+1
| | | | svn path=/trunk/; revision=3849
* Typo fix.Eric S. Raymond2003-10-101-1/+1
| | | | svn path=/trunk/; revision=3848
* Smash out nuls.Eric S. Raymond2003-10-101-20/+23
| | | | svn path=/trunk/; revision=3846
* Smash all NULs out of headers.Eric S. Raymond2003-10-101-0/+14
| | | | svn path=/trunk/; revision=3845