Re: [gentoo-user] Procmail/Fetchmail and Vcron
On Sun, Oct 26, 2003 at 03:17:13AM +, BlueRibbon wrote: Hi! I have this line on my crontab: */5 * * * * /usr/bin/fetchmail -a -s -m /usr/bin/procmail -d \%T Try it without the '\' character. Mine doesn't have that, and it works. - PK But when the cron tries to run the job, it gives me the following error (by mail): sh: -c: line 1: unexpected EOF while looking for matching `'' sh: -c: line 2: syntax error: unexpected end of file fetchmail: SIGPIPE thrown from an MDA or a stream socket error fetchmail: socket error while fetching from pop.netcabo.pt fetchmail: Query status=2 (SOCKET) sh: -c: line 1: unexpected EOF while looking for matching `'' sh: -c: line 2: syntax error: unexpected end of file fetchmail: MDA returned nonzero status 2 sh: -c: line 1: unexpected EOF while looking for matching `'' sh: -c: line 2: syntax error: unexpected end of file fetchmail: SIGPIPE thrown from an MDA or a stream socket error fetchmail: socket error while fetching from pop.netcabo.pt fetchmail: Query status=2 (SOCKET) What's wrong with that line to make this prob happen? Thanx -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
[gentoo-user] Procmail/Fetchmail and Vcron
Originally to: BlueRibbon Hi ya, I have this line on my crontab: */5 * * * * /usr/bin/fetchmail -a -s -m /usr/bin/procmail -d \%T Looks like your fields are out of whack here.. first of all, there should be just 3 asterisks? Here's a line from how I call some cron jobs: 08 0-23/6 * * * /home/bbbs/jdavismail.sh But when the cron tries to run the job, it gives me the following error (by mail): sh: -c: line 1: unexpected EOF while looking for matching `'' sh: -c: line 2: syntax error: unexpected end of file fetchmail: SIGPIPE thrown from an MDA or a stream socket error fetchmail: socket error while fetching from pop.netcabo.pt fetchmail: Query status=2 (SOCKET) sh: -c: line 1: unexpected EOF while looking for matching `'' sh: -c: line 2: syntax error: unexpected end of file fetchmail: MDA returned nonzero status 2 sh: -c: line 1: unexpected EOF while looking for matching `'' sh: -c: line 2: syntax error: unexpected end of file fetchmail: SIGPIPE thrown from an MDA or a stream socket error fetchmail: socket error while fetching from pop.netcabo.pt fetchmail: Query status=2 (SOCKET) I've never run fetchmail from a cron job.. I used to call it under mandrake as a daemon (fetchmail -d 300). I'm not sure if that would be the usage under gentoo. Janis ([EMAIL PROTECTED]) -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Procmail/Fetchmail and Vcron
I don't know what the problem is yet... That didn't solved it :( But... now I execute a file getmail, from the cron (that contains exactly the same command), and ti works... weird! Thanx anyway! :) Pat Kerwan wrote: On Sun, Oct 26, 2003 at 03:17:13AM +, BlueRibbon wrote: Hi! I have this line on my crontab: */5 * * * * /usr/bin/fetchmail -a -s -m /usr/bin/procmail -d \%T Try it without the '\' character. Mine doesn't have that, and it works. - PK But when the cron tries to run the job, it gives me the following error (by mail): sh: -c: line 1: unexpected EOF while looking for matching `'' sh: -c: line 2: syntax error: unexpected end of file fetchmail: SIGPIPE thrown from an MDA or a stream socket error fetchmail: socket error while fetching from pop.netcabo.pt fetchmail: Query status=2 (SOCKET) sh: -c: line 1: unexpected EOF while looking for matching `'' sh: -c: line 2: syntax error: unexpected end of file fetchmail: MDA returned nonzero status 2 sh: -c: line 1: unexpected EOF while looking for matching `'' sh: -c: line 2: syntax error: unexpected end of file fetchmail: SIGPIPE thrown from an MDA or a stream socket error fetchmail: socket error while fetching from pop.netcabo.pt fetchmail: Query status=2 (SOCKET) What's wrong with that line to make this prob happen? Thanx -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
[gentoo-user] Procmail/Fetchmail and Vcron
Hi! I have this line on my crontab: */5 * * * * /usr/bin/fetchmail -a -s -m /usr/bin/procmail -d \%T But when the cron tries to run the job, it gives me the following error (by mail): sh: -c: line 1: unexpected EOF while looking for matching `'' sh: -c: line 2: syntax error: unexpected end of file fetchmail: SIGPIPE thrown from an MDA or a stream socket error fetchmail: socket error while fetching from pop.netcabo.pt fetchmail: Query status=2 (SOCKET) sh: -c: line 1: unexpected EOF while looking for matching `'' sh: -c: line 2: syntax error: unexpected end of file fetchmail: MDA returned nonzero status 2 sh: -c: line 1: unexpected EOF while looking for matching `'' sh: -c: line 2: syntax error: unexpected end of file fetchmail: SIGPIPE thrown from an MDA or a stream socket error fetchmail: socket error while fetching from pop.netcabo.pt fetchmail: Query status=2 (SOCKET) What's wrong with that line to make this prob happen? Thanx -- [EMAIL PROTECTED] mailing list