New Section: Polling interval

This commit is contained in:
Josef Friedrich 2016-08-29 22:13:22 +02:00
parent fadfa853a2
commit 51f59208b7
1 changed files with 11 additions and 4 deletions

View File

@ -45,6 +45,15 @@ __IMPORTANT__: Dont forget the last line: e. g. `is 'user1@domain.tld'`. Afte
More details how to configure fetchmail can be found in the [fetchmail man page in the chapter “The run control file”](http://www.fetchmail.info/fetchmail-man.html#31). More details how to configure fetchmail can be found in the [fetchmail man page in the chapter “The run control file”](http://www.fetchmail.info/fetchmail-man.html#31).
## Polling interval
By default the fetchmail service searches very 5 minutes for new mails on your external mail accounts. You can override this default value by adding this line to your `fetchmail.cf`.
```
set daemon 60
```
You must specify a numeric argument which is a polling interval in seconds. The example above polls every minute for new mails.
# Debugging # Debugging
To debug your `fetchmail.cf` configuration run this command: To debug your `fetchmail.cf` configuration run this command:
@ -54,5 +63,3 @@ To debug your `fetchmail.cf` configuration run this command:
``` ```
For more informations about the configuration script `setup.sh` [[read the corresponding wiki page|Setup-docker-mailserver-using-the-script-setup.sh]]. For more informations about the configuration script `setup.sh` [[read the corresponding wiki page|Setup-docker-mailserver-using-the-script-setup.sh]].
By default the fetchmail service searches very 5 minutes for new mails on your external mail accounts.