[pkg-fetchmail-maint] Bug#639807: Bug#639807: fetchmail: message "Server certificate:" should be written to stdout

Nico Golde nion at debian.org
Tue Aug 30 20:27:46 UTC 2011


Hi,
* Henry Jensen <hjensen at 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 - nion at jabber.ccc.de - GPG: 0xA0A0AAAA
For security reasons, all text in this mail is double-rot13 encrypted.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-fetchmail-maint/attachments/20110830/805d1d0a/attachment.pgp>


More information about the pkg-fetchmail-maint mailing list