I have installed 5.8 on to laptop and added fetchmail.
When I invoke fetchmail from the command line it just works, no hassle.
When I put it into a crontab, in my name as /usr/local/bin/fetchmail
it complains that there are no mailservers have been specified.
When I add -f /home/martin/.fetchmailrc it tells me:
/var/log/.fetchmail.pid Permission denied, obviously I dont have
In comp.unix.bsd.openbsd.misc, you wrote:
I have installed 5.8 on to laptop and added fetchmail.
When I invoke fetchmail from the command line it just works, no hassle.
When I put it into a crontab, in my name as /usr/local/bin/fetchmail
it complains that there are no mailservers have been specified.
When I add -f /home/martin/.fetchmailrc it tells me:
/var/log/.fetchmail.pid Permission denied, obviously I dont have
From the man page (man fetchmail):
...
~/.fetchmail.pid
lock file to help prevent concurrent runs (non-root mode).
...
/var/run/fetchmail.pid
lock file to help prevent concurrent runs (root mode, Linux systems)
I find it a little odd that your pid file ended up in /var/log/.fetchmail.pid.
That aside, I'd guess that your cron job is not running as you. Are you explicitely setting the user field in the crontab entry to _you_?
In comp.unix.bsd.openbsd.misc, you wrote:
I have installed 5.8 on to laptop and added fetchmail.
When I invoke fetchmail from the command line it just works, no hassle.
When I put it into a crontab, in my name as /usr/local/bin/fetchmail
it complains that there are no mailservers have been specified.
When I add -f /home/martin/.fetchmailrc it tells me:
/var/log/.fetchmail.pid Permission denied, obviously I dont have
From the man page (man fetchmail):
...
~/.fetchmail.pid
lock file to help prevent concurrent runs (non-root mode).
...
/var/run/fetchmail.pid
lock file to help prevent concurrent runs (root mode, Linux systems)
I find it a little odd that your pid file ended up in /var/log/.fetchmail.pid.
That aside, I'd guess that your cron job is not running as you. Are you explicitely setting the user field in the crontab entry to _you_?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 285 |
Nodes: | 16 (2 / 14) |
Uptime: | 60:59:06 |
Calls: | 6,488 |
Calls today: | 1 |
Files: | 12,094 |
Messages: | 5,274,430 |