server IMAP { authorize { sql-imap-hash pap } authenticate { Auth-Type PAP{ pap_hash_debugfallback } } preacct { } accounting { } session { } post-auth { # restena_log_policy sql-null-lastusage # if user logged in via valid mushroom, extend its lifetime if ( "%{strlen:%{User-Password}}" == "96" ) { sql-webmailsso-users } Post-Auth-Type REJECT { restena_log_policy } } pre-proxy { } post-proxy { } }