我有一个安装了 postfix 和 dovecot 的邮件服务器。Postfix 被配置为使用 dovecot 的 lmtp 服务以应用一些 sieve 脚本。
mailbox_transport = lmtp:unix:private/dovecot-lmtp
到目前为止,这似乎有效。但是,当我的服务器收到发给 ilka 帐户的邮件(与所有其他帐户相同)时,我在 mail.log 中收到了这个神秘的错误:
dovecot: lmtp(ilka): Error: wFYTAsmc7lvCLgAAinrl1Q: sieve: file storage: Failed to stat sieve storage path: stat(/var/mail//ilka/sieve/scripts/) failed: Not a directory
在 dovecot 的conf.d/90-sieve.conf我实际上声明
sieve = file:~/sieve;active=~/.dovecot.sieve
那么 dovecot 是如何想出这个包含两个斜杠的奇怪(且无效)文件路径的呢?我敢肯定,我一定是做了一些非常愚蠢的错误配置,但我不知道在哪里......
感谢您的帮助!
问候, 伊尔卡