1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-17 14:37:02 +00:00
Files
go-chasquid-smtp/test/t-11-dovecot/msmtprc
Alberto Bertogli cfe0e48c0a auth: Allow users without a domain
Some deployments already have users that authenticate without a domain.
Today, we refuse to even consider those, and reject them at parsing time.

However, it is a use-case worth supporting, at least with some
restrictions that make the complexity manageable.

This patch changes the auth package to support authenticating users
without an "@domain" part.

Those requests will always be directly passed on to the fallback
authenticator, if available.

The dovecot fallback authenticator can already handle this case just fine.
2021-06-11 20:09:15 +01:00

34 lines
445 B
Plaintext

account default
host srv
port 1587
tls on
tls_trust_file config/certs/srv/fullchain.pem
from user@srv
auth on
user user@srv
password password
account smtpport : default
port 1025
account subm_tls : default
port 1465
tls_starttls off
account baduser : default
user unknownuser@srv
password secretpassword
account badpasswd : default
user user@srv
password badsecretpassword
account naked : default
from naked@srv
user naked
password gun