Dovecot does not recognize imported messages

lty lty at cndns.com
Wed May 8 12:54:19 EEST 2019


 

Today I tried to import mail directly on the server's home directory on
the server. I copied it directly. I didn't use the imap protocol. Dovcot
didn't recognize these emails. I didn't display these imported emails on
my page, recalculating disk quotas. It will not increase the used
capacity. I try to send an email to this user, dovcot recognizes all the
emails, and recalculates the disk cooperation, this time is correct.
Why can't I identify the mail I imported? 

> [root at imap2 ~]# dovecot -n
> # 2.2.36 (1f10bfa63): /etc/dovecot/dovecot.conf
> # Pigeonhole version 0.4.24 (124e06aa)
> # OS: Linux 2.6.32-431.el6.x86_64 x86_64 CentOS release 6.5 (Final) 
> # Hostname: imap
> auth_master_user_separator = *
> auth_mechanisms = PLAIN LOGIN
> default_internal_user = vmail
> default_vsz_limit = 2 G
> deliver_log_format = msgid=%m, subject=%s, from=%f, %$
> dict {
> acl = mysql:/etc/dovecot/dovecot-share-folder.conf
> quotadict = mysql:/etc/dovecot/dovecot-used-quota.conf
> }
> disable_plaintext_auth = no
> first_valid_uid = 2000
> last_valid_uid = 2000
> listen = *
> mail_fsync = never
> mail_gid = 2000
> mail_location = maildir:/%Lh/Maildir/:INDEX=/%Lh/Maildir/
> mail_plugins = quota lazy_expunge zlib fts fts_solr
> mail_uid = 2000
> maildir_stat_dirs = yes
> 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
> mmap_disable = yes
> namespace {
> list = children
> location = maildir:/%%Lh/Maildir/:INDEX=/%%Lh/Maildir/Shared/%%u
> prefix = Shared/%%u/
> separator = /
> subscriptions = yes
> type = shared
> }
> namespace {
> hidden = yes
> list = no
> location = maildir:/var/vmail/backup/expunged/%d/%n
> prefix = .DELETED/
> separator = /
> }
> namespace inbox {
> inbox = yes
> location = 
> 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
> }
> prefix = 
> separator = /
> }
> passdb {
> args = /etc/dovecot/dovecot-mysql.conf
> driver = sql
> }
> passdb {
> args = /etc/dovecot/dovecot-fallback-password-mysql.conf
> driver = sql
> }
> passdb {
> args = /etc/dovecot/dovecot-fallback-mysql.conf
> driver = sql
> }
> passdb {
> args = /etc/dovecot/dovecot-master-users-password
> driver = passwd-file
> master = yes
> }
> plugin {
> acl = vfile:/etc/dovecot/dovecot-acl
> acl_globals_only = yes
> auth_socket_path = /var/run/dovecot/auth-master
> fts_autoindex_exclude = Junk
> fts_autoindex_exclude2 = Trash
> fts_autoindex_exclude3 = Sent
> fts_autoindex_exclude4 = Drafts
> fts_autoindex_max_recent_msgs = 20
> lazy_expunge = .DELETED/
> mail_replica = tcp:10.0.11.152:1111
> quota = dict:user::proxy::quotadict
> quota_grace = 0%%
> quota_max_mail_size = 70M
> quota_rule = *:storage=1G
> quota_rule2 = *:messages=0
> quota_warning = storage=85%% quota-warning 85 %u
> quota_warning2 = storage=90%% quota-warning 90 %u
> quota_warning3 = storage=95%% quota-warning 95 %u
> sieve = /%Lh/sieve/dovecot.sieve
> sieve_default = /var/vmail/sieve/dovecot.sieve
> sieve_default_name = managesieve
> sieve_dir = /%Lh/sieve
> }
> protocols = pop3 imap sieve
> service anvil {
> client_limit = 20500
> }
> service auth {
> client_limit = 20500
> unix_listener /var/spool/postfix/private/auth {
> group = postfix
> mode = 0666
> user = postfix
> }
> unix_listener auth-master {
> group = vmail
> mode = 0666
> user = vmail
> }
> unix_listener auth-userdb {
> group = vmail
> mode = 0660
> user = vmail
> }
> }
> service dict {
> unix_listener dict {
> group = vmail
> mode = 0660
> user = vmail
> }
> }
> service imap-login {
> process_min_avail = 24
> service_count = 0
> vsz_limit = 2 G
> }
> service imap {
> process_limit = 1024000
> process_min_avail = 24
> vsz_limit = 2 G
> }
> service pop3-login {
> service_count = 0
> }
> service quota-warning {
> executable = script /usr/local/bin/dovecot-quota-warning.sh
> unix_listener quota-warning {
> group = vmail
> mode = 0660
> user = vmail
> }
> }
> ssl_ca = </etc/pki/tls/certs/c.cn.ca-bundle
> ssl_cert = </etc/pki/tls/certs/c.cn.crt
> ssl_key = # hidden, use -P to show it
> syslog_facility = local6
> userdb {
> args = /etc/dovecot/dovecot-mysql.conf
> driver = sql
> }
> userdb {
> args = /etc/dovecot/dovecot-fallback-user-mysql.conf
> driver = sql
> }
> protocol lda {
> auth_socket_path = /var/run/dovecot/auth-master
> lda_mailbox_autocreate = yes
> mail_fsync = optimized
> mail_plugins = quota lazy_expunge zlib fts fts_solr sieve
> syslog_facility = local6
> }
> protocol imap {
> imap_client_workarounds = tb-extra-mailbox-sep
> imap_id_send = NAME dovecot VERSION 2.1.17
> mail_max_userip_connections = 20
> mail_plugins = quota lazy_expunge zlib fts fts_solr imap_quota mail_log imap_zlib notify
> }
> protocol pop3 {
> mail_max_userip_connections = 20
> mail_plugins = quota lazy_expunge zlib fts fts_solr mail_log notify
> pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
> pop3_uidl_format = %08Xu%08Xv
> }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20190508/0a00be36/attachment.html>


More information about the dovecot mailing list