当前位置:网站首页>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
边栏推荐
- redis主从架构锁失效问题(主从)
- 新版Maixhub部署(V831与K210)
- [introduction to C language] zzulioj 1016-1020
- [interview: concurrent 25: multithreading: volatile] visibility
- How to configure and use rocksdb in the flinksql environment
- ONEFLOW V0.8.0 officially released
- C#程序设计的6大原则
- mysql8.0 mha实现高可用《mha》
- I/O案例实操
- 【饭谈】Web3.0到来后,测试人员该何去何从?(十条预言和建议)
猜你喜欢

Research: more than 70% of doctors are still prescribing unsafe antibiotic drugs

2022最新软件测试八股文,能不能拿心仪Offer就看你背得怎样了
![PHP zero time task, PHP laravel time task schedule [dry goods]](/img/09/c9a4c83fe23c852aa76a6f5a6cea52.png)
PHP zero time task, PHP laravel time task schedule [dry goods]

【Redis底层解析】字符串类型

GPON introduction and Huawei OLT gateway registration and configuration process

C#Socket

Shopify sellers: share some tips for social media marketing!
![[hand tear STL] BitSet (bitmap), bloom filter](/img/bc/a6e3c2ccce478460a2742852eee9cf.png)
[hand tear STL] BitSet (bitmap), bloom filter

How to choose sentinel vs. hystrix current limiting?

立创EDA——我为什么要学EDA
随机推荐
MPI学习笔记(二):矩阵相乘的两种实现方法
How to evaluate hardware resources (number of CPUs, memory size) when Oracle migrates from small computers to x86 architecture? Is there a measurement index or company?
ORIGYN基金会正式启动$OGY Staking,引领新一轮生态利好
YUV420 YUV420sp 图像格式「建议收藏」
少儿编程 电子学会图形化编程等级考试Scratch一级真题解析(判断题)2022年6月
I'm also drunk. Eureka delayed registration and this pit!
Research: more than 70% of doctors are still prescribing unsafe antibiotic drugs
[interview: concurrent 25: multithreading: volatile] visibility
MySQL master-slave configuration
Detailed explanation of Ag search tool parameters
函数栈帧的创建和销毁
[JS] the problem pointed by this
Tesseract OCR初探
The noise reduction effect is increased by more than 6 times! With the microphone inside the headset, this wireless noise reduction headset is unusual!
[database] index
Detailed explanation of JVM memory model and structure (five model diagrams)
mysql8.0 mha实现高可用《mha》
sql语句练习题整理
Create files, file permissions, ownership, and sticky bits
Unity metaverse (II), mixamo & animator hybrid tree and animation fusion