33.5. Running the Fetchmail Daemon

If you are using the module to manage a single Fetchmail configuration file, it is possible to start a background process to regularly check the servers and mailboxes in that file.

To do this, follow these steps:

1.
At the bottom of the main page is a button labeled Start Fetchmail Daemon. In the description next to it is a text field for entering the number of seconds that the daemon should wait between checks. A short period (such as 60 seconds) means that you will receive email sooner, but at the cost of using more bandwidth and CPU time, due to frequent checking.

2.
After entering a checking period, hit the Start Fetchmail Daemon button to start the background fetchmail process. The page will be redisplayed, but with the button now labeled Stop Fetchmail Daemon.

As the name suggests, you can click on the new Stop button at any time to kill the running daemon process. When the module detects that it is no longer running, the Start button will appear again.

If your system is rebooted, the Fetchmail daemon will, of course, be stopped. For it to be started again automatically at boot time you will need to create a bootup action as explained in Chapter 9. This action must run the fetchmail –d interval –f configfile command, with interval replaced by the checking period and configfile replaced with the full path to the configuration file.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.217.145.223