分类 电脑 下的文章

autocreate plugin is deprecated, use mailbox { auto } setting instead

问题:/var/log/maillog 日志中,有dovecot的警告信息,如

Nov 19 23:25:22 localhost dovecot: imap(laile@s)<1100>: Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead

尝试:将dovecot配置文件中的原:

protocol imap {
  mail_plugins = "autocreate"
}

plugin {
  autocreate = Trash
  autocreate2 = Sent
  autosubscribe = Trash
  autosubscribe2 = Sent
}

替换为:

namespace inbox {
  inbox = yes

  mailbox Trash {
    auto = subscribe # autocreate and autosubscribe the Trash mailbox
    special_use = \Trash
  }
  mailbox Sent {
    auto = subscribe # autocreate and autosubscribe the Sent mailbox
    special_use = \Sent
  }
}

参考:https://serverfault.com/questions/763487/dovecot-autocreate-plugin-is-deprecated-use-mailbox-auto-setting

iredmail多域名lets证书续签脚本

#! /bin/bash
mv /etc/nginx/sites-enabled/00-default.conf /etc/nginx/sites-available/00-default-temp.conf
mv /etc/nginx/sites-available/00-default-forlets.conf /etc/nginx/sites-enabled/00-default.conf
nginx -s reload
####
acme.sh --issue --nginx -d mail.abc.one -d mail.abc.two
mv /etc/nginx/sites-enabled/00-default.conf /etc/nginx/sites-available/00-default-forlets.conf
mv /etc/nginx/sites-available/00-default-temp.conf /etc/nginx/sites-enabled/00-default.conf
nginx -s reload
####
postfix reload
systemctl restart dovecot

再添加到任务计划中:59 02 1 * * bash /aqtest/renew-ssl.sh > /dev/null

参考:https://quericy.me/blog/860/

您的主机不满足在启用Hyper-V或device/Credential Guard的情况下运行VMware Workstation的最低要求

问题:启动VMware虚拟机时,提示错误:您的主机不满足在启用Hyper-V或device/Credential Guard的情况下运行VMware Workstation的最低要求。有关更多详细信息,请参阅 VMware 知识库文章 76918,网址为:https://kb.vmwae.com/kb/76918

尝试:

  1. https://kb.vmwae.com/kb/76918 里提到,如果是用新版本的VMware Workstation(如15的版本),但Windows版本不够新(如19041.264之前的版本),会产生这种错误
  2. 以管理员执行命令 bcdedit /set hypervisorlaunchtype off 关闭hyper-v,因为它可能与vmware的功能起冲突
  3. 重启Windows,再启动vmware虚拟机

参考: