当前位置:网站首页>Dovecot set mailbox quota
Dovecot set mailbox quota
2022-07-25 21:49:00 【Full stack programmer webmaster】
Hello everyone , I meet you again , I'm your friend, Quan Jun .
First according to Now enable quota
conf.d/10-mail.conf:
# Space separated list of plugins to load for all services. Plugins specific to
# IMAP, LDA, etc. are added to this list in their own .conf files.
mail_plugins = $mail_plugins quotaconf.d/20-imap.conf:
protocol imap {
# Space separated list of plugins to load (default is global mail_plugins).
mail_plugins = $mail_plugins imap_quota
}conf.d/90-quota.conf:
plugin {
#quota = dirsize:User quota
quota = maildir:User quota
#quota = dict:User quota::proxy::quota
#quota = fs:User quota
quota_exceeded_message = Quota exceeded( The email space of the other party is insufficient ), please go to http://www.example.com/over_quota_help for instructions on how to fix this.
}Last modified dovecot-sql.conf.ext Inside, users query information
user_query = \
SELECT maildir as home, 889 AS uid, 889 AS gid ,\
concat('*:bytes=',quota) AS quota_rule\
FROM mailbox \
WHERE name = '%n' AND domain = '%d'
password_query = SELECT CONCAT(name, '@', domain) AS user, \
passwd AS password ,concat('*:bytes=',quota) AS userdb_quota_rule\
FROM mailbox \
WHERE name = '%n' AND domain = '%d'Be careful ‘maildir:’,quota It's a configuration file 90-quota.conf Inside Corresponding quota = maildir:User quota
If it is the modification method limitation quoto Then make corresponding modifications .
Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/127922.html Link to the original text :https://javaforall.cn
边栏推荐
- 919. Complete binary tree inserter: simple BFS application problem
- 函数栈帧的创建和销毁
- Ijcai2022 meeting! Microsoft and other tutorials on domain generalization
- LeetCode_ 93_ Restore IP address
- Stm3 (cubeide) lighting experiment
- Fastjson deserialization vulnerability utilization analysis collection
- [51Nod1676 无向图同构]无向图哈希[通俗易懂]
- 【饭谈】测试平台为什么有组件化?模块化?很多看不到的地方设计的很好是种浪费么?
- I/O案例实操
- 狗粮的成分
猜你喜欢

C#Socket

How will Web3 change the future of people?

【饭谈】那些看似为公司着想,实际却让人无法理解的事(二:面试时的软素质“眼缘”)

CNN structural design skills: taking into account speed accuracy and engineering implementation

5、 Pinda general permission system__ PD tools XXS (anti cross site script attack)
![[database] index](/img/57/4921cf3eee9e8395415a8624b28d0a.png)
[database] index

My heart's broken! After being cheated by 30000, a 16-year-old girl was unconvinced and cheated by 50000

919. 完全二叉树插入器 : 简单 BFS 运用题

新版Maixhub部署(V831与K210)

How to implement distributed locks with redis?
随机推荐
QT | learn about QT creator by creating a simple project
Shopify sellers: share some tips for social media marketing!
如何快速搭建图片服务器[通俗易懂]
Idea resolves the prompt of profile properties disappear
5、 Pinda general permission system__ PD tools XXS (anti cross site script attack)
若依如何解决导出使用下载插件出现异常?
Come again
【Flink】FLink RocksDBListState 报错 You cannot add null to a ListState
H5 realize the animation effect of a scratch card
大厂面试官:千万级数据量的表,如何进行快速查询?
【面试:并发篇24:多线程:综合练习】顺序控制
【饭谈】如何设计好一款测试平台?
C#程序设计的6大原则
919. 完全二叉树插入器 : 简单 BFS 运用题
Configuration and use of multithreading
[redis underlying parsing] linked list type
MPI learning notes (II): two implementation methods of matrix multiplication
919. Complete binary tree inserter: simple BFS application problem
五、品达通用权限系统__pd-tools-xxs(防跨站脚本攻击)
pyqt5使用pyqtgraph绘制多个Y值散点图