Can't send emails from Joplin Server

Operating system

Linux

Joplin version

3.4.3

What issue do you have?

Hi,

I set up a Jolpin Server on Docker om my Synology NAS. Unfortunately I can't sent any email

Here is the mailing part of my Docker Compose


     MAILER_HOST: server.provider.net
     MAILER_PORT: 465
     MAILER_SECURITY: ssl
     MAILER_AUTH_USER: xxx@example.com
     MAILER_AUTH_PASSWORD: totallysecure
     MAILER_NOREPLY_NAME: Joplin Server
     MAILER_NOREPLY_EMAIL: xxx@example.com

In the logs I can find this

___
[error] EmailService: Could not run maintenance: Error: Could not initialize transporter. Service will be disabled: Greeting never received

23:39:30 1|app  |     at SMTPConnection._formatError (/home/joplin/packages/server/node_modules/nodemailer/lib/smtp-connection/index.js:809:19)

23:39:30 1|app  |     at SMTPConnection._onError (/home/joplin/packages/server/node_modules/nodemailer/lib/smtp-connection/index.js:795:20)

23:39:30 1|app  |     at Timeout.<anonymous> (/home/joplin/packages/server/node_modules/nodemailer/lib/smtp-connection/index.js:729:22)

23:39:30 1|app  |     at listOnTimeout (node:internal/timers:569:17)

23:39:30 1|app  |     at processTimers (node:internal/timers:512:7) {

23:39:30 1|app  |   code: 'ETIMEDOUT',

23:39:30 1|app  |   command: 'CONN'

23:39:30 1|app  | }

Any Ideas?

ok I treid some things and I changed the setting the Securtity setting from ssl to tls

MAILER_HOST: server.provider.net
     MAILER_PORT: 465
     MAILER_SECURITY: tls
     MAILER_AUTH_USER: xxx@example.com
     MAILER_AUTH_PASSWORD: totallysecure
     MAILER_NOREPLY_NAME: Joplin Server
     MAILER_NOREPLY_EMAIL: xxx@example.com

Now The server says that my credentials are wrong. But these credentials work in my email-program as well as in the webmail application

[error] EmailService: Could not run maintenance: Error: Could not initialize transporter. Service will be disabled: Invalid login: 535 5.7.8 Error: authentication failed: authentication failure

00:15:01 1|app  |     at SMTPConnection._formatError (/home/joplin/packages/server/node_modules/nodemailer/lib/smtp-connection/index.js:809:19)

00:15:01 1|app  |     at SMTPConnection._actionAUTHComplete (/home/joplin/packages/server/node_modules/nodemailer/lib/smtp-connection/index.js:1588:34)

00:15:01 1|app  |     at SMTPConnection.<anonymous> (/home/joplin/packages/server/node_modules/nodemailer/lib/smtp-connection/index.js:556:26)

00:15:01 1|app  |     at SMTPConnection._processResponse (/home/joplin/packages/server/node_modules/nodemailer/lib/smtp-connection/index.js:993:20)

00:15:01 1|app  |     at SMTPConnection._onData (/home/joplin/packages/server/node_modules/nodemailer/lib/smtp-connection/index.js:774:14)

00:15:01 1|app  |     at TLSSocket.SMTPConnection._onSocketData (/home/joplin/packages/server/node_modules/nodemailer/lib/smtp-connection/index.js:195:44)

00:15:01 1|app  |     at TLSSocket.emit (node:events:517:28)

00:15:01 1|app  |     at addChunk (node:internal/streams/readable:368:12)

00:15:01 1|app  |     at readableAddChunk (node:internal/streams/readable:341:9)

00:15:01 1|app  |     at TLSSocket.Readable.push (node:internal/streams/readable:278:10) {

00:15:01 1|app  |   code: 'EAUTH',

00:15:01 1|app  |   response: '535 5.7.8 Error: authentication failed: authentication failure',

00:15:01 1|app  |   responseCode: 535,

00:15:01 1|app  |   command: 'AUTH PLAIN'

00:15:01 1|app  | }

Thats all strange for me. Maybe somebody of you has an idea?

No ideas?