Displaying 1 result from an estimated 1 matches for "virtual_global_quota_check".
2009 Jan 19
0
Reject message if user is over quota. 2/3 solution for Postfix w/ PostgreSQL
...for handling alias addresses.
The procedure is designed for global quota settings. If one of you is
using quota settings per user, you have to modify the procedure.
Integrating in main.cf:
smtpd_recipient_restrictions =
...
reject_unlisted_recipient
check_recipient_access pgsql:/etc/postfix/virtual_global_quota_check.cf
...
virtual_global_quota_check.cf:
# The hosts that Postfix will try to connect to
hosts = localhost
# The user name and password to log into the pgsql server.
user = $Your_Postfix_database_user
password = $PASSWORD
# The database name on the servers.
dbname = mailsys
# The query
query = SEL...