> Do you have any examples of such a function and how/where it is used ?
> I have a better idea: > Have a function for whitelisting IPs, possible /24's or similiar, where a > login to roundcube or other webmail client (with 2FA) will add the IP onto a > whitelist for that account. For some it might be sufficient to just return the allow_nets field: https://doc.dovecot.org/configuration_manual/authentication/allow_nets/ Best regards Gerald