c0699d9e0842a53c047fcbd695fa93ce435baa8f |
|
19-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Added quota-status service for asking if user is over quota.
Implemented Postfix-compatible policy server protocol initially. Usage:
service quota-status {
executable = quota-status -p postfix
unix_listener /var/spool/postfix/private/quota-status {
user = postfix
}
client_limit = 1
}
Postfix:
smtpd_recipient_restrictions =
...
check_policy_service unix:private/quota-status |