Hi, * Henry Jensen <hjen...@gmx.de> [2011-08-30 15:57]: > When using fetchmail in verbose SSL mode, fetchmail writes the message > "Server certificate:" to stderr. > Since this message is not an error (an it is not consistent with the ususal > behaviour of fetchmail) it > should be written to stdout instead. > > Since I run fetchmail crom a cronjob this behaviour becomes particular > annoying, because cron is > sending the output of stderr every time fetchmail runs. > > Patch: > > diff -urN fetchmail-6.3.18.orig//socket.c fetchmail-6.3.18//socket.c > --- fetchmail-6.3.18.orig//socket.c 2010-10-09 10:26:22.000000000 +0200 > +++ fetchmail-6.3.18//socket.c 2011-08-30 14:15:50.000000000 +0200 > @@ -618,7 +618,7 @@ > > if (outlevel >= O_VERBOSE) { > if (depth == 0 && SSLverbose) > - report(stderr, GT_("Server certificate:\n")); > + report(stdout, GT_("Server certificate:\n")); > else { > if (_firstrun) { > _firstrun = 0; > >
Makes sense to me, Matthias, can you include this patch for the next release? Cheers Nico -- Nico Golde - http://www.ngolde.de - n...@jabber.ccc.de - GPG: 0xA0A0AAAA For security reasons, all text in this mail is double-rot13 encrypted.
pgpqGf9AOTSV5.pgp
Description: PGP signature