文件操作 - dovecot-dict-sql.conf.ext
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/doc/dovecot-2.2.36/example-config/dovecot-dict-sql.conf.ext
编辑文件内容
# This file is commonly accessed via dict {} section in dovecot.conf #connect = host=localhost dbname=mails user=testuser password=pass # CREATE TABLE quota ( # username varchar(100) not null, # bytes bigint not null default 0, # messages integer not null default 0, # primary key (username) # ); map { pattern = priv/quota/storage table = quota username_field = username value_field = bytes } map { pattern = priv/quota/messages table = quota username_field = username value_field = messages } # CREATE TABLE expires ( # username varchar(100) not null, # mailbox varchar(255) not null, # expire_stamp integer not null, # primary key (username, mailbox) # ); map { pattern = shared/expire/$user/$mailbox table = expires value_field = expire_stamp fields { username = $user mailbox = $mailbox } }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件