fetchmail-friends
[Top] [All Lists]

Re: [fetchmail]supress errors in log

2005-11-10 09:49:03
On 10/11/05, Paul Goodyear <pgudge(_at_)gmail(_dot_)com> wrote:
-- /etc/crontab
*/1   *   *   *   *   user1   /usr/local/bin/fetchmail --silent --syslog

when fetchmal runs all logs about "no emails on server", and all
"Server CommonName mismatch: localhost.localdomain !=
mail.myserver.net" are not sent to the user which is great.

But when the internet dies, or not available the user is still swamped
emails containing:

"fetchmail: another foreground fetchmail is running at <uid>"

Can these be stopped also?

A few options:

* Try a longer interval - frankly 1 minute is overkill.

* Use daemon mode - it's there for a reason!

* Append ">/dev/null 2>/dev/null" (or ">/dev/null 2>&1") to direct all
output to /dev/null

--
                 Please keep list traffic on the list.
Rob MacGregor
      Whoever fights monsters should see to it that in the process he
        doesn't become a monster.                  Friedrich Nietzsche

_______________________________________________
Fetchmail-friends mailing list
Fetchmail-friends(_at_)lists(_dot_)ccil(_dot_)org
http://lists.ccil.org/cgi-bin/mailman/listinfo/fetchmail-friends