Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: fpcomputers on February 28, 2006, 03:39:01 PM
-
Hi,
in SME version 6.5 and before i created a file to get mail from other servers. This file was made in
templates/etc/crontab and looks like
*/2 * * * * root /usr/bin/fetchmail -a -f
In the root dir I've created the .fetchmailrc where the accounts are stored included the password.
After all I use /sbin/e-smith/expand-template /etc/crontab
All this works fine but in version 7.0 pre 3 I can't get this solution to work.
Nothing happens at all.
Does someone have a solution for me to get this at work under version 7.0pre3?
Thanx in regard,
Fred Wormsbecher
-
Try looking in the /var/log/cron logfile to see if there is an error message associated with that cron. Every cron that runs should have an entry and a possible error entry every time the cron runs. Often you can see things like permission problems that appear to be otherwise hidden.
Larry
-
in SME version 6.5 and before i created a file to get mail from other servers. This file was made in
templates/etc/crontab and looks like
*/2 * * * * root /usr/bin/fetchmail -a -f
In the root dir I've created the .fetchmailrc where the accounts are stored included the password.
After all I use /sbin/e-smith/expand-template /etc/crontab
All this works fine but in version 7.0 pre 3 I can't get this solution to work.
Nothing happens at all.
Check "man fetchmail". "-f" needs to be followed by a filepath, e.g. "-f /root/.fetchmailrc".