Hello,
I've been trying to configure the mailer of the Joplin server I've followed the link bellow.
Problem is that I'm getting always the sames error
joplin_app | 2023-10-17 08:50:30: EmailService: Email was queued - scheduling maintenance
joplin_app | 2023-10-17 08:50:30: App: POST /admin/users/XJ7l4HiJkqfltLQblxIOdh (302) (175ms)
joplin_app | 2023-10-17 08:50:31: App: GET /admin/users//XJ7l4HiJkqfltLQblxIOdh (200) (14ms)
joplin_app | 2023-10-17 08:50:31: App: GET /css/bulma.min.css (200) (1ms)
joplin_app | 2023-10-17 08:50:32: App: GET /css/main.css (200) (2ms)
joplin_app | 2023-10-17 08:50:32: App: GET /css/fontawesome/css/all.min.css (200) (1ms)
joplin_app | 2023-10-17 08:50:32: App: GET /js/zxcvbn.js (200) (1ms)
joplin_app | 2023-10-17 08:50:32: App: GET /js/jquery.min.js (200) (1ms)
joplin_app | 2023-10-17 08:50:32: App: GET /css/index/user.css (200) (1ms)
joplin_app | 2023-10-17 08:50:32: App: GET /js/main.js (200) (1ms)
joplin_app | 2023-10-17 08:50:32: App: GET /images/Logo.png (200) (1ms)
joplin_app | 2023-10-17 08:50:32: App: GET /css/fontawesome/webfonts/fa-solid-900.woff2 (200) (1ms)
joplin_app | 2023-10-17 08:50:40: [warn] BaseService: Untitled: Skipping maintenance because it is already in progress
joplin_app | 2023-10-17 08:51:01: [error] EmailService: Could not run maintenance: Error: Could not initialize transporter. Service will be disabled: Connection timeout
joplin_app | at SMTPConnection._formatError (/home/joplin/packages/server/node_modules/nodemailer/lib/smtp-connection/index.js:790:19)
joplin_app | at SMTPConnection._onError (/home/joplin/packages/server/node_modules/nodemailer/lib/smtp-connection/index.js:776:20)
joplin_app | at Timeout.<anonymous> (/home/joplin/packages/server/node_modules/nodemailer/lib/smtp-connection/index.js:235:22)
joplin_app | at listOnTimeout (node:internal/timers:569:17)
joplin_app | at processTimers (node:internal/timers:512:7) {
joplin_app | code: 'ETIMEDOUT',
joplin_app | command: 'CONN'
joplin_app | }
joplin_app | 2023-10-17 08:51:01: EmailService: Maintenance completed in 120214ms
Compose config:
#Mail configuration for joplinserver
- MAILER_ENABLED=1
- MAILER_HOST=mail.domain.online
- MAILER_PORT=465
- MAILER_SECURITY=starttls
- MAILER_AUTH_USER=XXXXXXXX@domain.online
- MAILER_AUTH_PASSWORD=XXXXXXXXXXXXXXXX
- MAILER_NOREPLY_NAME=joplinapp
- MAILER_NOREPLY_EMAIL=XXXXXXXX@domain.online
I do believe that I have everything right, I have no idea why is the error occurring.
Thank you.