Hi,
please take this for the next fetchmail version. Without it, fetchmail logs
"You have no mail." for every ODMR poll without mail (and that can be many
if you have a short poll cycle). That should be consistent with the general
behaviour: "Log only if something is happening".
And since this is definitely not an error, it should go to stdout.
Regards,
Jakob
--- fetchmail-6.2.5/odmr.c Wed Oct 15 21:17:42 2003
+++ fetchmail-6.2.5-jh1/odmr.c Fri Mar 19 23:53:35 2004
@@ -113,8 +113,8 @@
return(PS_EXCLUDE);
case 453: /* You have no mail */
- if (outlevel > O_SILENT)
- report(stderr, GT_("You have no mail.\n"));
+ if (outlevel >= O_VERBOSE)
+ report(stdout, GT_("You have no mail.\n"));
return(PS_NOMAIL);
case 502: /* Command not implemented */