aaPanel_Kern
Hello, thanks for your answer.
I'm using port 25 and I don't have SSL set for the email.
I'm getting this error in the email log:
Aug 20 09:56:30 mail dovecot: master: Warning: Killed with signal 15 (by pid=402472 uid=0 code=kill)
Aug 20 09:56:31 mail dovecot: master: Dovecot v2.3.16 (7e2e900c1a) starting up for imap, pop3, lmtp (core dumps disabled)
Aug 20 09:57:01 mail dovecot: imap-login: Login: user=<admin@mydomain.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=402501, secured, session=<Wp9CxRggxox/AAAB>
Aug 20 09:57:01 mail dovecot: imap(admin@mydomain.com)<402501><Wp9CxRggxox/AAAB>: Disconnected: Connection closed (CLOSE finished 0.000 secs ago) in=73 out=1482 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 20 09:57:23 mail postfix/submission/smtpd[402524]: connect from localhost.localdomain[127.0.0.1]
Aug 20 09:57:23 mail postfix/submission/smtpd[402524]: TLS SNI localhost from localhost.localdomain[127.0.0.1] not matched, using default chain
Aug 20 09:57:23 mail postfix/submission/smtpd[402524]: lost connection after EHLO from localhost.localdomain[127.0.0.1]
Aug 20 09:57:23 mail postfix/submission/smtpd[402524]: disconnect from localhost.localdomain[127.0.0.1] ehlo=2 starttls=1 commands=3
Aug 20 09:57:31 mail postfix/submission/smtpd[402524]: connect from localhost.localdomain[127.0.0.1]
Aug 20 09:57:31 mail postfix/submission/smtpd[402524]: TLS SNI localhost from localhost.localdomain[127.0.0.1] not matched, using default chain
Aug 20 09:57:31 mail postfix/submission/smtpd[402524]: lost connection after EHLO from localhost.localdomain[127.0.0.1]
Aug 20 09:57:31 mail postfix/submission/smtpd[402524]: disconnect from localhost.localdomain[127.0.0.1] ehlo=2 starttls=1 commands=3
And I'm getting this error when trying to connect with nodemailer:
/www/wwwroot/nodeserver/node_modules/nodemailer/lib/smtp-connection/index.js:798
err = new Error(message);
^
Error: Missing credentials for "PLAIN"
at SMTPConnection._formatError (/www/wwwroot/nodeserver/node_modules/nodemailer/lib/smtp-connection/index.js:798:19)
at SMTPConnection.login (/www/wwwroot/nodeserver/node_modules/nodemailer/lib/smtp-connection/index.js:452:38)
at /www/wwwroot/nodeserver/node_modules/nodemailer/lib/smtp-transport/index.js:272:32
at SMTPConnection.<anonymous> (/www/wwwroot/nodeserver/node_modules/nodemailer/lib/smtp-connection/index.js:215:17)
at Object.onceWrapper (node:events:633:28)
at SMTPConnection.emit (node:events:519:28)
at SMTPConnection._actionEHLO (/www/wwwroot/nodeserver/node_modules/nodemailer/lib/smtp-connection/index.js:1360:14)
at SMTPConnection._processResponse (/www/wwwroot/nodeserver/node_modules/nodemailer/lib/smtp-connection/index.js:982:20)
at SMTPConnection._onData (/www/wwwroot/nodeserver/node_modules/nodemailer/lib/smtp-connection/index.js:763:14)
at SMTPConnection._onSocketData (/www/wwwroot/nodeserver/node_modules/nodemailer/lib/smtp-connection/index.js:195:44) {
code: 'EAUTH',
command: 'API'
}