Authentication per Service

Sami Ketola sami.ketola at dovecot.fi
Sat Jan 18 15:24:07 EET 2020


Hi,

can't you just check "account_locked" or similar flag in the password_query and user_query on your sql config?

Sami


> On 18 Jan 2020, at 10.30, Oliver Welter <mail at oliwel.de> wrote:
> 
> Hi All,
> 
> I use dovecot (v2.3.4) with a SQL backend for user authentication,
> passwords are
> stored in CRAMMD5 format.
> 
> My SMTP server uses "doveadm auth" via auth-socket to perform sender
> authentification. To shut down SMTP access for hacked passwords I want
> to have a dedicated flag in the user database to allow/disallow SMTP for
> a user withouth disabling his account for IMAP.
> 
> So, is there any option to use a separate passdb definition or
> additional parameters by either setting this in socket definition of
> "service auth" or using "-x auth_info"?
> 
> 
> TIA
> 
> Oliver
> -- 
> Protect your environment -  close windows and adopt a penguin!
> 
> 



More information about the dovecot mailing list