aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
Commit message (Collapse)AuthorAgeFilesLines
* Fix: combination of --plugin and -f - failsAlexander Zangerl2012-09-031-1/+2
| | | | | | | | | | | | | | | | | | | | | | scenario: you want to remote-control fetchmail, but you don't want to write passwords into files, so you feed fetchmail a minimal rcfile via stdin with -f -. this by itself works fine. if you also want or need to use a --plugin (eg. socat for socks), then things fail badly: the plugin is run without a stdin fd, hence can't take input from fetchmail, lots of fun ensues. plugins without -f - work fine, it's just the combination that fails. explanation: the root cause is rcfile_y.y, line 493, which closes whatever fd carried the rcfile. with -f - this closes fetchmail's stdin - and so far that's unproblematic. however, in socket.c lines 166ff things go wrong: fetchmail sets up the plugin with a socketpair, which will likely include the first unused fd - and fd zero is now indeed unused. in line 180ff a dup2 replumbing from "that fd" (=zero) to zero is performed - and then "that fd" is closed. and hey presto, we've got no fd zero = stdin for the plugin. solution: the simplest solution (patch attached) is to make the fclose of the rcfile conditional, ie. don't close if it's stdin. in the long run the dup2+close code might be made more robust by not doing a dup2+close if fd[0] is already 0 or 1.
* Multidrop: Do not lose wildcard flag, allow asterisk anywhere.Matthias Andree2010-10-121-11/+11
|
* Add --sslcertfile option and FETCHMAIL_NO_DEFAULT_X509_PATHS env var,Matthias Andree2010-04-181-1/+2
| | | | and always load the default X.509 trust stores, unless the latter is set.
* Plug parser memory leaks, avoid re-strdup'ing strings.Matthias Andree2010-04-131-53/+53
| | | | Independently, a nearly identical change was proposed by Michael Banack.
* Rename bad-header pass to bad-header accept, ...Matthias Andree2010-02-241-2/+2
| | | | to resolve an ambiguity found by Frédéric Marchal.
* Feature: bad-header {reject|pass}Matthias Andree2010-02-241-0/+3
|
* Silence bison warning about 2 shift/reduce conflictsMatthias Andree2010-02-231-0/+2
|
* Treat permanent delivery errors as temporary (configurable).Matthias Andree2009-05-241-1/+3
| | | | | | | | | | | | | | | | 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
* Fix a few compiler warnings around implicit conversion or extra ";".Matthias Andree2009-01-141-1/+1
| | | | svn path=/branches/BRANCH_6-3/; revision=5261
* Documentation and program output now /consistently/ claim that theMatthias Andree2008-06-301-1/+1
| | | | | | | | | rcfile must not have more than 0700 (u=rwx,g=,o=) permissions, but fetchmail will still silently accept additional g=x permissions for compatibility with previous 6.2.X and 6.3.X versions. Inconsistency (program 0710, manpage 0600) reported by Petr Uzel. svn path=/branches/BRANCH_6-3/; revision=5211
* Merge Daniel Richard G.'s --sslcommonname option.Matthias Andree2008-03-071-1/+2
| | | | | | | | 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
* .fetchmailrc/.fetchids may now be symlinks, Debian Bug#452907 (Roger Leigh).Matthias Andree2007-12-261-1/+1
| | | | svn path=/branches/BRANCH_6-3/; revision=5144
* Doxygen-related comment fixes.Matthias Andree2007-12-091-2/+3
| | | | svn path=/branches/BRANCH_6-3/; revision=5142
* Add pidfile option, requested by Héctor García.Matthias Andree2006-04-021-4/+2
| | | | svn path=/branches/BRANCH_6-3/; revision=4770
* Further cleanups to compile with C++ compiler.Matthias Andree2006-03-151-3/+3
| | | | svn path=/branches/BRANCH_6-3/; revision=4744
* Add full support for --service option.Matthias Andree2005-09-211-0/+6
| | | | svn path=/trunk/; revision=4307
* Merge Sunil Shetye's --limitflush patch.Matthias Andree2005-09-171-1/+3
| | | | svn path=/trunk/; revision=4289
* Large protocol independence patch.Matthias Andree2005-08-281-6/+6
| | | | svn path=/trunk/; revision=4280
* Remove port/service dualism and make everything a service.Matthias Andree2005-08-021-11/+1
| | | | svn path=/trunk/; revision=4219
* INCOMPATIBLE: DROP --netsec/-T option, NET_SECURITY macro - the required ↵Matthias Andree2005-07-301-20/+1
| | | | | | library is no longer available. svn path=/trunk/; revision=4192
* Make tracepolls a server option, as documented. Fixes Debian bug #156094.Matthias Andree2005-07-181-4/+4
| | | | svn path=/trunk/; revision=4121
* Fix miscellaneous warnings.Matthias Andree2004-10-201-5/+3
| | | | svn path=/trunk/; revision=3953
* Enable permissions checking under Cygwin.Eric S. Raymond2004-01-131-0/+7
| | | | svn path=/trunk/; revision=3874
* Sunil's transaction patches.Eric S. Raymond2003-10-151-1/+3
| | | | svn path=/trunk/; revision=3858
* Better default for showdots.Eric S. Raymond2003-10-101-2/+2
| | | | svn path=/trunk/; revision=3842
* Before the IDLE patch.Eric S. Raymond2003-02-281-3/+3
| | | | svn path=/trunk/; revision=3792
* Sunil Shetye's latest fix patch.Eric S. Raymond2002-09-091-1/+2
| | | | svn path=/trunk/; revision=3707
* Sunil Shetye's re-exec patch.Eric S. Raymond2002-09-041-5/+24
| | | | svn path=/trunk/; revision=3696
* Debian 5.9.10 fixes.Eric S. Raymond2002-04-011-7/+1
| | | | svn path=/trunk/; revision=3603
* Expose the ESMTP name and password options.Eric S. Raymond2002-03-101-1/+3
| | | | svn path=/trunk/; revision=3596
* Minor fixes.Eric S. Raymond2002-03-091-1/+1
| | | | svn path=/trunk/; revision=3584
* Minor fixes for 5.9.8.Eric S. Raymond2002-02-151-1/+1
| | | | svn path=/trunk/; revision=3578
* Don't bomb silently on SSL when SSL isn't compiled.Eric S. Raymond2002-02-011-2/+14
| | | | svn path=/trunk/; revision=3574
* _( -> GT_(Eric S. Raymond2001-09-241-11/+11
| | | | svn path=/trunk/; revision=3478
* Must solve that damn linking problem next.Eric S. Raymond2001-07-311-0/+3
| | | | svn path=/trunk/; revision=3426
* Ready to ship another release.Eric S. Raymond2001-06-251-3/+3
| | | | svn path=/trunk/; revision=3385
* Implemented fetchdomains.Eric S. Raymond2001-06-241-2/+7
| | | | svn path=/trunk/; revision=3373
* Tracepolls switch implemented.Eric S. Raymond2001-06-051-0/+3
| | | | svn path=/trunk/; revision=3337
* SSL certification handling.Eric S. Raymond2001-05-141-1/+4
| | | | svn path=/trunk/; revision=3314
* Minor cleanup patches.Eric S. Raymond2001-04-101-1/+1
| | | | svn path=/trunk/; revision=3289
* Error message correction.Eric S. Raymond2001-03-181-1/+1
| | | | svn path=/trunk/; revision=3264
* Added sslproto.Eric S. Raymond2001-03-031-1/+2
| | | | svn path=/trunk/; revision=3183
* We can specify NTLM as an authentication type.Eric S. Raymond2001-02-271-23/+6
| | | | svn path=/trunk/; revision=3160
* preauth -> auth.Eric S. Raymond2001-02-191-19/+19
| | | | svn path=/trunk/; revision=3121
* Trivially get rid of 60 conflicts.Eric S. Raymond2001-02-121-12/+16
| | | | svn path=/trunk/; revision=3075
* Looks like we've got the new authentication logic done.Eric S. Raymond2001-02-121-1/+3
| | | | svn path=/trunk/; revision=3072
* Let's get rid of the old protocols with preauthentication bundled in.Eric S. Raymond2001-02-111-2/+5
| | | | svn path=/trunk/; revision=3071
* Spambounce patch.Eric S. Raymond2000-12-121-1/+4
| | | | svn path=/trunk/; revision=2998
* 5-6-0bis fix for smtpname.Eric S. Raymond2000-11-271-1/+2
| | | | svn path=/trunk/; revision=2989
* Ready to ship.Eric S. Raymond2000-11-111-0/+3
| | | | svn path=/trunk/; revision=2983