Initialization Script - Fetchmail

Matt Florido matt at floridonet.com
Thu Mar 17 16:51:39 UTC 2005


On Thu, March 17, 2005 8:39 am, Jeff Kinz said:
[...]
>>
>> The problem is when the server is restarted, fetchmail is not
>> initialized.
>>  What am I missing?
>
> As a sanity check, make sure you are invoking fetchmail with the daemon
> mode option turned on:
> #######################################################################
> DAEMON MODE
>        The --daemon <interval> or -d <interval> option runs fetchmail
> in daemon mode. You must specify a numeric argument which is a polling
> interval in seconds.
>
>        In daemon mode, fetchmail puts itself in background and runs
> forever, querying each specified host and then sleeping for the given
> polling interval.
>
>        Simply invoking
>
>               fetchmail -d 900
>
> will, therefore, poll all the hosts described in your ~/.fetchmailrc
> file (except those explicitly excluded with the `skip' verb) once every
> fifteen minutes.
> #######################################################################
>

Thanks.  Here's part of my init script:
start() {
    echo -n $"Starting Fetchmail: "
    /usr/bin/fetchmail -d 180

-- 
Regards,
Matt Florido




More information about the fedora-list mailing list