jon6fingrs / mbsync-dovecot

example docker compose file for dovecot and mbsync
GNU General Public License v3.0
21 stars 0 forks source link

Where do I set username and password for the dovecot container for my web client to log into? #3

Open Leopere opened 2 years ago

Leopere commented 2 years ago

https://github.com/jon6fingrs/mbsync-dovecot/blob/main/README.md#dovecot the env vars for Dovecot for credentials are for my mail client connection?

Leopere commented 2 years ago

Fixed my horrible issue title.

jon6fingrs commented 2 years ago

Fixed my horrible issue title.

The dovecot credentials are the credentials you are creating for the local imap server. Set them to whatever you want and use those from your local clients.

Leopere commented 2 years ago

Thank you for clearing that up I wasn't certain if these credentials were just for the far server.

I was having trouble logging in with them in my testing. I'm sure I'm the point of failure here.

Leopere commented 2 years ago

I've been trying to use RainLoop for accessing this Dovecot instance using this configuration essentially.

  webmail:
    image: hardware/rainloop
    restart: always
    deploy:
      replicas: 1
      labels:
        - "traefik.enable=true"
        - "traefik.http.routers.mbsync.tls=true"
        - "traefik.http.services.mbsync.loadbalancer.server.port=8888"
        - "traefik.http.routers.mbsync.rule=Host(`mbsync.example.com`)"
        - "traefik.http.routers.mbsync.entrypoints=websecure"
        - "traefik.http.routers.mbsync.tls.certresolver=letsencryptresolver"
        - "traefik.http.routers.mbsync.service=mbsync"
        - "traefik.docker.network=traefik"
    labels:
      - "traefik.backend=mbsync"
      - "traefik.enable=true"
      - "traefik.port=8888"
      - "traefik.frontend.rule=Host:mbsync.example.com"
      - "traefik.docker.network=traefik"
    volumes:
      - /mnt/tank/persist/example.com/mbsync/production/data:/rainloop/data
    networks:
      - traefik

However, it seems RainLoop refuses only to have IMAP configured is there a recommended client you suggest using for accessing the mbsync data?

jon6fingrs commented 1 year ago

Yea email_username, email_password, server_address are to specify your local imap server settings.

Mbsync is all remote imap server settings and dovecot is all local imap server settings for the server you’re creating.

On Thu, Jun 23, 2022, at 1:11 PM, Leopere wrote:

https://github.com/jon6fingrs/mbsync-dovecot/blob/main/README.md#dovecot the env vars for Dovecot for credentials are for my mail client connection?

— Reply to this email directly, view it on GitHub https://github.com/jon6fingrs/mbsync-dovecot/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMXQZUSNERRYLXFA5CI5QALVQSLD7ANCNFSM5ZVCNT6Q. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Leopere commented 1 year ago

I gotta refresh my memory with this ticket because I really want to bail on Google products entirely and this will definitely help.