Post-login scripting
j.emerlik
j.emerlik at gmail.com
Fri Oct 20 17:50:37 EEST 2017
Thx, seems to be a good idea.
I understand that Dovecot SASL does not support the Post-Login scripts.
2017-10-20 16:36 GMT+02:00 Gedalya <gedalya at gedalya.net>:
> I use an access policy server which mostly does rate-limiting and also
> writes to a database.
> It's written in perl.
> If all you want to do is to write some records for every connection then
> the script would be rather simple.
> You just need to put "check_policy_service unix:...." in the right place,
> presumably in smtpd_client_restrictions, I guess if you put it before
> permit_sasl_authenticated it would still have the auth details, due to
> delayed evaluation.
>
More information about the dovecot
mailing list