Post-Auth external check?
Hello all,
is it possible to include some post-auth check in the password authentication? So after dovecot has found a user allowed to login to execute some external script for checking additional conditions which gives back simple true or false wether the login should be allowed?
-- Regards, Stephan
On Thu, Mar 28, 2024 at 09:19:56AM +0100, Stephan von Krawczynski wrote:
is it possible to include some post-auth check in the password authentication? So after dovecot has found a user allowed to login to execute some external script for checking additional conditions which gives back simple true or false wether the login should be allowed?
Have a look at https://doc.dovecot.org/admin_manual/post_login_scripting/ There is an example for denying a connection in an external script.
-- Thomas Mechtersheimer - Necklenbroicher Str. 45a - D-40667 Meerbusch - Germany EMail: thomasm@wupper.com IRC-Nick: Mechti Of course I'm crazy, but that doesn't mean I'm wrong. I'm mad but not ill.
Sounds like
https://doc.dovecot.org/configuration_manual/authentication/auth_policy/
Aki
On 28/03/2024 10:19 EET Stephan von Krawczynski <skraw.ml@ithnet.com> wrote:
Hello all,
is it possible to include some post-auth check in the password authentication? So after dovecot has found a user allowed to login to execute some external script for checking additional conditions which gives back simple true or false wether the login should be allowed?
-- Regards, Stephan
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
participants (3)
-
Aki Tuomi
-
Stephan von Krawczynski
-
Thomas Mechtersheimer