Trying to set up my mail server and smtp server but no way to figure out why authentication failed, for example because of wrong password or wrong domain or wrong user name?
2023-12-14T09:42:03.830292Z DEBUG session{instance="submissions" protocol=Smtp remote.ip="172.18.0.1" remote.port=48860}: smtp::inbound::auth: context="auth" event="authenticate" result="failed" is unfortunately not verbose enough.
How can we reproduce the problem?
I can reproduce the problem by doing the following steps:
Set up stalwart by following the docs https://stalw.art/docs/install/docker (1. choose Local disk using Maildir, 2. choose No, create a new directory for me, 3. type in your cloud.mydomain.net as domain name and mail.cloud.mydomain.net as server hostname. 4. add DKIM, SPF and DMARC as advised to your DNS config)
try to authenticate using an smtp client with noreply@cloud.mydomain.net as user, my-Complicated-password as password, 578 as port, mail.cloud.mydomain.net as smtp server domain. Then trying to send mail but only getting 2023-12-14T09:42:03.830292Z DEBUG session{instance="submissions" protocol=Smtp remote.ip="172.18.0.1" remote.port=48860}: smtp::inbound::auth: context="auth" event="authenticate" result="failed", so no idea what is wrong.
Version
v0.3.x
Which directory type are you using for local address resolution?
What happened?
Trying to set up my mail server and smtp server but no way to figure out why authentication failed, for example because of wrong password or wrong domain or wrong user name?
2023-12-14T09:42:03.830292Z DEBUG session{instance="submissions" protocol=Smtp remote.ip="172.18.0.1" remote.port=48860}: smtp::inbound::auth: context="auth" event="authenticate" result="failed"
is unfortunately not verbose enough.How can we reproduce the problem?
I can reproduce the problem by doing the following steps:
set up a user by following https://stalw.art/docs/directory/types/memory/ (by adding athe following to config.toml
noreply@cloud.mydomain.net
as user,my-Complicated-password
as password, 578 as port,mail.cloud.mydomain.net
as smtp server domain. Then trying to send mail but only getting2023-12-14T09:42:03.830292Z DEBUG session{instance="submissions" protocol=Smtp remote.ip="172.18.0.1" remote.port=48860}: smtp::inbound::auth: context="auth" event="authenticate" result="failed"
, so no idea what is wrong.Version
v0.3.x
Which directory type are you using for local address resolution?
None
What operating system are you using?
Linux
Relevant log output
Code of Conduct