Skip to content

How to configure Fetchmail with a remote IMAP server? #3994

Answered by polarathene
Doni49 asked this question in Q&A
Discussion options

You must be logged in to vote

Local test between two DMS with fetchmail

Here you go, this will let you try the feature locally with two instances of DMS.

# compose.yaml
services:
  dms-fetch:
    image: ghcr.io/docker-mailserver/docker-mailserver:latest
    hostname: mail.example.test
    environment:
      ENABLE_FETCHMAIL: 1
      # We change this setting to 10 for quicker testing:
      FETCHMAIL_POLL: 10
    # Link the DNS lookup `remote.test` to resolve to the `dms-remote` container IP (for `@remote.test` address):
    # This is only for this example, since no real DNS service is configured, this is a Docker internal DNS feature:
    links:
      - "dms-remote:remote.test"
    # NOTE: Optional, You only need to p…

Replies: 2 comments 17 replies

Comment options

You must be logged in to vote
2 replies
@Doni49
Comment options

@Doni49
Comment options

Comment options

You must be logged in to vote
15 replies
@polarathene
Comment options

@Doni49
Comment options

@polarathene
Comment options

@Doni49
Comment options

@polarathene
Comment options

Answer selected by polarathene
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants