Mailer settings

Operating system

Linux

Joplin version

2.14.1

What issue do you have?

Hello
I have a joplin instance on my personal server, it's running with Docker.
I can't connect through web interface because I have lost password for my 2 account (admin and mine). I still can use joplin with my phone and my computer with android app and the portable application.

I want to use the option to sent recovery password by email but when it's configured, logs told me mailer config is disabled.

Here what I have set :

docker-compose.yml :

    app:
        image: joplin/server:2.14.1-beta
        depends_on:
            - db
        ports:
            - "22300:22300"
        restart: unless-stopped
        environment:
            - APP_PORT=22300
            - APP_BASE_URL=${APP_BASE_URL}
            - DB_CLIENT=pg
            - POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
            - POSTGRES_DATABASE=${POSTGRES_DATABASE}
            - POSTGRES_USER=${POSTGRES_USER}
            - POSTGRES_PORT=${POSTGRES_PORT}
            - POSTGRES_HOST=db
            - MAILER_ENABLED=${MAILER_ENABLED}
            - MAILER_HOST=${MAILER_HOST}
            - MAILER_PORT=${MAILER_PORT}
            - MAILER_SECURITY=${MAILER_SECURITY}
            - MAILER_AUTH_USER=${MAILER_AUTH_USER}
            - MAILER_AUTH_PASSWORD=${MAILER_AUTH_PASSWORD}
            - MAILER_NOREPLY_NAME=${MAILER_NOREPLY_NAME}
            - MAILER_NOREPLY_EMAIL=${MAILER_NOREPLY_EMAIL}

The .env file :

APP_BASE_URL=https://joplin.fqdn.com
APP_PORT=22300
DB_CLIENT=pg
POSTGRES_PASSWORD=password
POSTGRES_DATABASE=joplin
POSTGRES_USER=joplin
POSTGRES_PORT=5432
MAILER_ENABLED=1
MAILER_HOST=mail.server.com
MAILER_PORT=465
MAILER_SECURITY=ssl
MAILER_AUTH_USER=mail@fqdn.com
MAILER_AUTH_PASSWORD=password
MAILER_NOREPLY_NAME=joplinserver
MAILER_NOREPLY_EMAIL=no-reply@fqdn.com

Logs :

app_1  | 21:25:00 0|app  |   enabled: false,
app_1  | 21:25:00 0|app  |   host: '',
app_1  | 21:25:00 0|app  |   port: 465,
app_1  | 21:25:00 0|app  |   security: 'tls',
app_1  | 21:25:00 0|app  |   authUser: '',
app_1  | 21:25:00 0|app  |   authPassword: '********',
app_1  | 21:25:00 0|app  |   noReplyName: '',
app_1  | 21:25:00 0|app  |   noReplyEmail: ''
app_1  | 21:25:00 0|app  | }

...

app_1  | 21:25:01 0|app  | 2024-02-14 21:25:01: EmailService: Service will be disabled because mailer config is not set or is explicitly disabled

Does the settings are correct ?

Thank you for your help.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.