All,

I got working with the following edits to auth-system.conf.ext:

userdb passwd-file {
  driver = passwd-file
  auth_username_format=%{user|username}
  passwd_file_path = /etc/passwd
  fields {
    user = %{user|username}
    name = %{user|lower}
    home = /var/vmail/%{user}
  }
  skip = found

And edits to 10-auth.conf 

auth_username_format=%{user|username}

I can now authenticate via email address.

I thought I would provide the fix incase others have this issue.

Very Respectfully,
Daniel Reinhardt

PS Dovecot support is awesome




Sent with Proton Mail secure email.

On Sunday, October 18th, 2026 at 6:40 AM, Aki Tuomi via dovecot 
<[email protected]> wrote:

> Have you tried setting `log_debug=category=auth` and check logs? It might 
> tell you where the problem lies.
> 
> Aki
> 
> > On 18/10/2026 07:06 EEST Daniel Reinhardt via dovecot <[email protected]> 
> > wrote:
> >
> >
> > Horst,
> >
> > I have that set to default, and it doesn't allow email address to be used.
> >
> > I get the same error as No Authentication Error.
> >
> > Very Respectfully,
> > Daniel Reinhardt
> >
> >
> >
> > Sent with Proton Mail secure email.
> >
> > On Sunday, October 18th, 2026 at 4:03 AM, Horst B Simon via dovecot 
> > <[email protected]> wrote:
> >
> > > Hi Daniel
> > > The %n is invalid in Dovecot 2.4 please see my previous email which had
> > > the correct syntax
> > > Horst
> > >
> > >
> 
> _______________________________________________
> dovecot mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> 
_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to