Update docs/content/config/advanced/mail-getmail.md

Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
This commit is contained in:
Casper 2024-08-13 18:53:52 +02:00 committed by GitHub
parent f57e5f68f5
commit c068b31159
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -10,7 +10,9 @@ environment:
- GETMAIL_POLL=5
```
In your DMS config volume (eg: `docker-data/dms/config/`), create a new directory `getmail`. Then you can place a `<ID>.cf` file inside for each remote account that you want to retrieve mail and store into a local DMS account. `<ID>` should be replaced by you, and is just the rest of the filename (eg: `imap-example.cf`). The contents of each file should be configuration like documented below.
In your DMS config volume (eg: `docker-data/dms/config/`), add a subdirectory `getmail/` for including your getmail config files (eg: `imap-example.cf`) for each remote account that you want to retrieve mail from and deliver to the mailbox of a DMS account.
These config files content is documented in the next section with an IMAP and POP3 example to reference.
The directory structure should look similar to this: