19 Oct
2024
19 Oct
'24
3:31 p.m.
I fixed the problem I had.
My mail server no longer rejects emails I receive to my username written in large cap e.g. USERNAME@DOMAIN.COM.
In the file /etc/dovecot/conf.d/10-auth.conf I had:
auth_username_format = %n
I updated that line to:
auth_username_format = %Ln
which, I understand, lowercase the username.
Also, before I updated the above file, I had fiddled with conf.d/auth-passwdfile.conf.ext which was then different from the configuration I found there:
https://doc.dovecot.org/2.3/configuration_manual/basic_configuration/
Mine was:
passdb {
driver = passwd-file
args = scheme=CRYPT username_format=%u /etc/dovecot/users
}
userdb {
driver = passwd-file
args = username_format=%Lu /etc/dovecot/users # I have an extra 'L' here
}
so I reverted the penultimate line to:
args = username_format=%u /etc/dovecot/users
thank you all for your help.