@ k1eOx
Thanks for the script!
One could also pull the zimbraPasswordMaxAge on a per user base if the default has been changed individualy:


EXPIREVAL=`zmprov ga $USER zimbraPasswordMaxAge |...