Hello,
I also proceeded according to this thread
(https://dovecot.org/list/dovecot/2022-January/123979.html), but it is not
working.
My settings are as follows:
[]# dovecot -n
# 2.3.16 (7e2e900c1a): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.5.16 (09c29328)
\# OS: Linux 5.15.0-125-generic x86_64 Ubuntu 22.04.5 LTS
# Hostname: localhost
auth_debug = yes
auth_debug_passwords = yes
auth_default_realm = example.com
auth_mechanisms = plain login
auth_username_format = %u
auth_verbose = yes
dict {
quota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
}
mail_debug = yes
mail_home = /home/vmail/%d/%n
mail_location = maildir:~/Maildir
mail_plugins = quota virtual
mail_privileged_group = mail
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character
vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy
include variables body enotify environment mailbox date index ihave duplicate
mime foreverypart extracttext
namespace inbox {
inbox = yes
location =
mailbox 보낼편지함 {
auto = subscribe
}
mailbox Archive {
auto = subscribe
special_use = \Archive
}
mailbox Drafts {
auto = subscribe
special_use = \Drafts
}
mailbox Junk {
auto = subscribe
special_use = \Junk
}
mailbox Sent {
auto = subscribe
special_use = \Sent
}
mailbox Trash {
auto = subscribe
special_use = \Trash
}
mailbox virtual/All {
auto = subscribe
comment = All my messages
special_use = \All
}
mailbox virtual/Flagged {
auto = subscribe
comment = All my flagged messages
special_use = \Flagged
}
prefix = INBOX/
separator = /
type = private
}
namespace virtual {
hidden = yes
list = no
location =
virtual:/etc/dovecot/virtual:INDEX=~/.virtual:CONTROL=~/.virtual:VOLATILEDIR=~/.virtual/
prefix = virtual/
separator = /
type = private
}
passdb {
args = /etc/dovecot/dovecot-sql.conf.ext
driver = sql
}
plugin {
quota = dict:User quota::proxy::quota
quota_grace = 10%%
quota_max_mail_size = 100M
quota_rule = *:storage=1G
quota_rule2 = INBOX/Trash:storage=+100M
quota_status_overquota = 552 5.2.2 Mailbox is full
quota_warning = storage=95%% quota-warning 95 %u
quota_warning2 = storage=80%% quota-warning 80 %u
quota_warning4 = -storage=100%% quota-warning -100 %u
sieve = file:~/sieve;active=~/.dovecot.sieve
sieve_before = /var/mail/SpamToJunk.sieve
}
protocols = " imap lmtp sieve pop3"
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
}
}
service dict {
unix_listener dict {
group = vmail
mode = 0600
user = vmail
}
}
service lmtp {
unix_listener /var/spool/postfix/private/dovecot-lmtp {
group = postfix
mode = 0600
user = postfix
}
}
service quota-warning {
executable = script /usr/local/bin/quota-warning.sh
unix_listener quota-warning {
user = vmail
}
user = dovecot
}
service stats {
unix_listener stats-reader {
group = www-data
mode = 0660
user = www-data
}
unix_listener stats-writer {
group = www-data
mode = 0660
user = www-data
}
}
ssl = required
ssl_cert = </etc/letsencrypt/live/mail/fullchain.pem
ssl_client_ca_dir = /etc/ssl/certs
ssl_dh = # hidden, use -P to show it
ssl_key = # hidden, use -P to show it
ssl_prefer_server_ciphers = yes
userdb {
args = /etc/dovecot/dovecot-sql.conf.ext
driver = sql
}
verbose_ssl = yes
protocol lmtp {
mail_plugins = quota virtual quota sieve virtual
}
protocol lda {
mail_plugins = quota virtual sieve virtual
}
protocol imap {
mail_plugins = quota virtual imap_quota virtual
}
local_name mail.edgenet.kr {
ssl_cert = </etc/letsencrypt/live/mail/fullchain.pem
ssl_key = # hidden, use -P to show it
}
[]# cat /etc/dovecot/virtual/Flagged/dovecot-virtual
*
flagged
[]# cat /etc/dovecot/virtual/All/dovecot-virtual
*
all
[/home/vmail/domain/user/Maildir]# ls -al
합계 84
drwx------ 13 vmail vmail 4096 12월 11 15:12 .
drwx------ 5 vmail vmail 4096 12월 11 13:49 '.&vPSwvNO4ycDVaA-'
drwx------ 3 vmail vmail 4096 12월 11 15:13 ..
drwx------ 5 vmail vmail 4096 12월 11 13:49 .Archive
drwx------ 5 vmail vmail 4096 12월 11 13:49 .Drafts
drwx------ 5 vmail vmail 4096 12월 11 14:02 .Junk
drwx------ 5 vmail vmail 4096 12월 11 13:49 .Sent
drwx------ 5 vmail vmail 4096 12월 11 14:02 .Trash
drwx------ 5 vmail vmail 4096 12월 11 13:49 .virtual.All
drwx------ 5 vmail vmail 4096 12월 11 13:49 .virtual.Flagged
drwx------ 2 vmail vmail 4096 12월 11 15:12 cur
-rw------- 1 vmail vmail 110 12월 11 13:48 dovecot-uidlist
-rw------- 1 vmail vmail 8 12월 11 14:02 dovecot-uidvalidity
-r--r--r-- 1 vmail vmail 0 12월 11 13:48 dovecot-uidvalidity.675919c5
-rw------- 1 vmail vmail 3728 12월 11 14:26 dovecot.index.cache
-rw------- 1 vmail vmail 1940 12월 11 15:12 dovecot.index.log
-rw------- 1 vmail vmail 7404 12월 11 15:03 dovecot.list.index.log
-rw------- 1 vmail vmail 288 12월 11 14:02 dovecot.mailbox.log
-rw------- 1 vmail vmail 0 12월 11 13:48 maildirfolder
drwx------ 2 vmail vmail 4096 12월 11 13:49 new
-rw------- 1 vmail vmail 81 12월 11 13:49 subscriptions
drwx------ 2 vmail vmail 4096 12월 11 13:48 tmp
Can I get help to resolve the issue?
_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]