
我正在嘗試在我的 Debian10 伺服器上配置假期篩選腳本,但它似乎不起作用(它在接收郵件時不會發送自動回复)。
我不太明白 sieve 如何處理腳本的路徑,所以如果有人能向我解釋它們,我將非常感激。
您能否提供如何使用 sieve + Vacation 在 Dovecot 上設定自動回覆系統的逐步指南?伺服器是共享的,是否可以為每個用戶個性化自動回覆設定?
這是我到目前為止所做的:
安裝鴿子洞
sudo apt-get install dovecot-sieve dovecot-managesieved
在/etc/dovecot/conf.d/15-lda.conf
激活 sieve 插件中
protocol lda {
mail_plugins = $mail_plugins sieve
}
在/etc/dovecot/conf.d/20-lmtp.conf
激活 sieve 插件中
protocol lmtp {
mail_plugins = $mail_plugins sieve
}
/etc/dovecot/conf.d/20-managesieve.conf
取消註釋中
protocols = $protocols sieve
/etc/dovecot/90-sieve.conf
在這一行下方加入sieve = file:~/sieve;active=~/.dovecot.sieve
location = file:/etc/dovecot/vacation.sieve
我在文件中添加了下面的腳本/etc/dovecot/vacation.sieve
https://wiki2.dovecot.org/Pigeonhole/Sieve/Examples#Vacation_auto-reply
重新啟動鴿舍
service dovecot restart
如果您需要更多信息,請隨時詢問。