Re: POP3 commands and Fetchmail


Subject: Re: POP3 commands and Fetchmail
From: Reid Ellis (rae@tnir.mef.org)
Date: Fri Sep 17 1999 - 08:03:21 MDT


Evan Read <evan@netaccess.co.nz> said:
> fetchmail: Invalid command, try one of: STAT, LIST [msg], RETR msg, TOP
> msg n, DELE msg, UIDL [msg], NOOP, RSET, QUIT
>
> Which is fair enough as it doesn't seem to affect the mailbox at all. But
> when I run it from CRON, cron sends me this in message email form instead.

Change your cron entry to filter the error out; something like:

0,30 * * * * /usr/bin/fetchmail -s 2>&1 | grep -v 'Invalid command'

This way you still get other error messages mailed to you.

Reid



This archive was generated by hypermail 2a24 : Fri Oct 01 1999 - 16:13:44 MDT