KumoMTA seems to ignore my smtp_server_auth_plain

Did everything, KumoMTA seems to ignore my configs…

Just don’t know what I’m missing…

Linux version
Distributor ID: Ubuntu
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename: focal

KumoMTA version
kumomta/unknown,now 2024.09.02.062344.c5476b89 amd64 [installed]

GIST
https://gist.github.com/joaquim-manzini/a06e4799331c9ca477c777ff0e8351ce

Pls provide a trace of the test.

I just head-scratched my way though something similar.
Wanted to configure something along the lines of “use auth always” (running outbound only)
Are you by chance injecting form one of the relay_hosts?

From testing I found that Kumo will simply pass auth if injecting from a relay_host, even if you add auth requirement for relaying in your listener_domains.toml for all domains

Sample requirement entry:

["*"]
relay_to = true
log_oob = false
log_arf = false
relay_from_authz = ['your-user-here']

After setting relay_hosts to empty table - the requirement started working as expected.

Yes, relay_hosts take precedence and is an instant approval.