%for %%local in %%dovecot_local_authentifications
  %set %%user = %%normalize_family(%%local)
  %set %%password = %%getVar('local_authentification_password_' + %%user)
  %set %%ip = %%getVar('local_authentification_ip_' + %%user)
%%user:{SHA512-CRYPT}%%sha512_crypt(%%password)::::::allow_nets=%%ip
%end for