mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-02 09:05:14 +02:00
Update wiki to change the fetchmail poll interval
parent
2e72a2411c
commit
25607c9234
1 changed files with 5 additions and 4 deletions
|
@ -1,9 +1,10 @@
|
|||
To enable the [fetchmail](http://www.fetchmail.info) service to retrieve e-mails set the environment variable `ENABLE_FETCHMAIL` to `1`. Your `docker-compose.yml` file should look like following snippet:
|
||||
|
||||
```
|
||||
```yaml
|
||||
...
|
||||
environment:
|
||||
- ENABLE_FETCHMAIL=1
|
||||
- FETCHMAIL_POLL=300
|
||||
...
|
||||
```
|
||||
|
||||
|
@ -49,10 +50,10 @@ More details how to configure fetchmail can be found in the [fetchmail man page
|
|||
|
||||
## 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`.
|
||||
By default the fetchmail service searches very 5 minutes for new mails on your external mail accounts. You can override this default value by changing the ENV variable `FETCHMAIL_POLL`.
|
||||
|
||||
```
|
||||
set daemon 60
|
||||
```yaml
|
||||
- FETCHMAIL_POLL=60
|
||||
```
|
||||
You must specify a numeric argument which is a polling interval in seconds. The example above polls every minute for new mails.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue