Skip to content

Desktop mail client unable to connect to mailserver #1944

@KyleDuPlessis

Description

@KyleDuPlessis

Subject

I would like to contribute to the project
I would like to configure a not documented mail server use case
I would like some feedback concerning a use case
I have questions about TLS/SSL/STARTTLS/OpenSSL
Other

Description

My desktop mail client (Mozilla Thunderbird) cannot connect to mailserver: "Thunderbird failed to find the settings for your email account". I have verified that the email account exists using: ./setup.sh -i tvial/docker-mailserver:latest email list. I'm using a bare domain (host name = domain name) - followed these instructions. What's causing the issue and how can it be resolved?

Screenshot from 2021-05-03 19-14-10

Mailserver output:

.

docker-compose.yml:

version: '2'
services:
  mail:
    image: tvial/docker-mailserver:latest
    hostname: ${HOSTNAME}
    domainname: ${DOMAINNAME}
    container_name: ${CONTAINER_NAME}
    ports:
    - "25:25"
    - "143:143"
    - "587:587"
    - "993:993"
    - "465:465"
    - "995:995"
    - "110:110"
    environment:
    - SSL_TYPE=manual
    - SSL_CERT_PATH=/tmp/ssl/certs/cert.crt
    - SSL_KEY_PATH=/tmp/ssl/private/cert.key
    - ENABLE_POP3=1
    - ENABLE_CLAMAV=0
    - ENABLE_FAIL2BAN=1
    - ENABLE_SPAMASSASSIN=0

    volumes:
    - /etc/ssl:/tmp/ssl:ro
    - maildata:/var/mail
    - mailstate:/var/mail-state
    - maillogs:/var/log/mail
    - ./config/:/tmp/docker-mailserver/
    env_file:
    - .env
    - env-mailserver
    cap_add:
    - NET_ADMIN
    - SYS_PTRACE
    restart: always
volumes:
  maildata:
    driver: local
  mailstate:
    driver: local
  maillogs:
    driver: local

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/questionSomeone asked a question - feel free to answermeta/help wantedThe OP requests help from others - chime in! :Dmeta/needs triageThis issue / PR needs checks and verification from maintainersmeta/staleThis issue / PR has become stale and will be closed if there is no further activitypriority/low

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions