gw0 / docker-dovecot-getmail

Docker image: Private email gateway with dovecot and getmail
http://gw.tnode.com/docker/dovecot-getmail/
26 stars 13 forks source link

how to connect to dovecot #3

Open balli1187 opened 3 years ago

balli1187 commented 3 years ago

Hallo,

and first of all thanks for this image. I hav been searching for a long time for a "personal mail archiv" like this.

I set up the container and created a getmail-account file for a tet mail address. How can i connect to the dovecot server?

I can't find any point to enter dovecot user credentials or find preconfigured ones.

Thanks for help.

gw0 commented 3 years ago

For connecting to Dovecot, the provided example Docker command and docker-compose.example.yaml expose the following default ports -p 143 -p 993 -p 4190 (imap, imaps, managesieve). So, your email client should use IMAP and connect to these ports on your server (also do not forget to set up your firewalls and port forwarding accordingly).

For user credentials, are these instructions in README.md insufficient?

Users are created automatically with default password (replaceMeNow) on first start. To reset user passwords (of a running container):

$ docker exec -it mail passwd user

balli1187 commented 3 years ago

Sorry for newbie Question. Actually i haven't seen this before - sorry. In the meantime i fired up the container and found some help in the logs (like automated creation of users).

Never the less i have Problems connecting to the dovecot server - at least on my iPhone. I get the message that e-mails cannot be recieved cause password is missing but it might be a client related issue and i will check with another client.

Beside this i get errors from getmail but i will open another issue for it.

gw0 commented 3 years ago

First try basic connectivity (nc or telnet) and then with another email client.