fetchmail-friends
[Top] [All Lists]

Re: [fetchmail]ODMR - excessive output to stderr

2002-02-01 19:47:30
Chris Hastie <lists(_at_)oak-wood(_dot_)co(_dot_)uk>:
I've been trying to configure fetchmail to collect by ODMR from a 
crontab. Using the -s option still resulted in a lot of mail arriving 
warning me of such terrible events as:

| fetchmail: Turnaround now...

or

| fetchmail: You have no mail.

So far as I can make out these mails arrive because the information is 
sent to stderr, and so is not silenced by the -s option.

A work around for now I guess is to use

| /usr/local/bin/fetchmail  > /dev/null 2>&1

in the crontab, but I would quite like to get mail advising me of real 
errors. The two messages above seem to me be a normal part of an ODMR 
session and don't warrant being classed as errors.

Why use crontab?  Fetchmail has a daemon mode, so I'd rather not hack in 
extra features to support crontab.
-- 
                <a href="http://www.tuxedo.org/~esr/";>Eric S. Raymond</a>


<Prev in Thread] Current Thread [Next in Thread>
  • Re: [fetchmail]ODMR - excessive output to stderr, Eric S. Raymond <=