Sending alert to client after quota has reached 100%

Dan Conway darkc0de at archnix6.net
Mon Apr 19 18:36:22 EEST 2021


Hello all, I hope you are doing well.

In regards to the quota_warning configuration, more specifically when an 
email is sent to the user when quota has passed a certain percentage, i.e.:

quota_warning = <limit configuration> <quota-warning socket name> <parameters>
#quota_warning2 = ...
#quota_warning3 = ..etc..

Is it possible to communicate with the client by sending an ALERT IMAP 
message to stdout much like post-login scripting, rather than sending an 
email to the user?

i.e:

#!/bin/sh

# Message goes to stdout
printf "* OK [ALERT] This is an alert\r\n"
exec "$@"

Thank you.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20210419/7855824c/attachment.html>


More information about the dovecot mailing list