mirror of
https://github.com/iredmail/iRedMail
synced 2026-06-08 14:51:59 +00:00
8 lines
465 B
SQL
8 lines
465 B
SQL
\c PH_VMAIL_DB_NAME;
|
|
|
|
-- Set correct privilege for ROLE: vmail
|
|
GRANT SELECT ON admin, alias, alias_domain, domain, domain_admins, mailbox, maillists, recipient_bcc_domain, recipient_bcc_user, sender_bcc_domain, sender_bcc_user, anyone_shares, share_folder, deleted_mailboxes, sender_relayhost, forwardings, moderators TO PH_VMAIL_DB_BIND_USER;
|
|
|
|
-- Update per-user real-time mailbox usage
|
|
GRANT SELECT, UPDATE, INSERT, DELETE ON used_quota TO PH_VMAIL_DB_BIND_USER;
|