Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Markus Schmuck on February 14, 2001, 11:12:02 AM
-
Hi ,
I read the information about the custom templates, but I still don´t know how to start fetchmail from crontab. I want fetchmail to look every 30 minutes after new mail in my pop-accounts. What entry do I need in crontab? Can someone help me, please?
thanks,
Markus
-
> I read the information about the custom templates, but I
> still don´t know how to start fetchmail from crontab. I want
> fetchmail to look every 30 minutes after new mail in my
> pop-accounts. What entry do I need in crontab? Can someone
> help me, please?
Go just this 2 steps:
crontab -e -u root
0-59/30 * * * * fetchmail
sample .fetchmailrc in /root (with dot in front)
---
set logfile "/var/log/fetchmail.log"
set postmaster "POSTMASTER"
poll POP.ourISP.COM with protocol POP3, with options
user "YouUserName" there with password "YouPassword" is
Youlocalusername here with options rewrite mimedecode fetchall pass8bits
POSTMASTER:= your postmaster on e-smith
POP.ourISP.COM:= your providers pop3 server
YouUserName:= you username on POP.ourISP.COM
YouPassword:= password for YouUserName
Youlocalusername:= username on e-smith
greetings
Holger
-
> crontab -e -u root
> 0-59/30 * * * * fetchmail
I read it´s better to change the custom-templates than the config-files. With "crontab -e -u root" I´m changing the /etc/crontab, will this not be lost when e-smith is rewriting the configfiles during saving configuration.
Thanks and greetings,
Markus
-
> I read it´s better to change the custom-templates than the
> config-files. With "crontab -e -u root" I´m changing the
> /etc/crontab,
No, it´s /var/spool/cron/root
>will this not be lost when e-smith is rewriting
> the configfiles during saving configuration.
IMHO, it will not be lost
greetings
Holger Imbery