Two-Factor Authentication - alternative access

Hello, i see there is Two-Factor Authentication option in the Control Panel , yet i don’t see alternative mechanism (in case ie devise lost or stollen).
Does someone use this and what is alternative algorithm in such an event? Thanx!

I don’t use the MFA but you can try in your terminal command line

./mailinabox/management/cli.py

You can then use

sudo ./mailinabox/management/cli.py user mfa disable user@domain.com [id]

Where [id] is the first number u see when you user mfa show user@email

I haven’t tried since mine is off.

Usage:
management/cli.py system default-quota [new default] (set default quota for system)
management/cli.py user (lists users)
management/cli.py user add user@domain.com [password]
management/cli.py user password user@domain.com [password]
management/cli.py user remove user@domain.com
management/cli.py user make-admin user@domain.com
management/cli.py user quota user@domain [new-quota]
management/cli.py user remove-admin user@domain.com
management/cli.py user admins (lists admins)
management/cli.py user mfa show user@domain.com (shows MFA devices for user, if any)
management/cli.py user mfa disable user@domain.com [id] (disables MFA for user)
management/cli.py alias (lists aliases)
management/cli.py alias add incoming.name@domain.com sent.to@other.domain.com
management/cli.py alias add incoming.name@domain.com ‘sent.to@other.domain.com, multiple.people@other.domain.com
management/cli.py alias remove incoming.name@domain.com

PS: Just tried, and the above will work to disable the MFA for the user.

1 Like