체로 걸러지지 않거나 여과되지 않은 비둘기장

체로 걸러지지 않거나 여과되지 않은 비둘기장
root@debian11:/etc/dovecot# dovecot -n
# 2.3.13 (89f716dc2): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.5.13 (cdd19fe3)
# OS: Linux 5.10.0-26-amd64 x86_64 Debian 11.8
# Hostname: localhost
auth_username_format = %n
listen = 127.0.0.1, ::1
log_path = /var/log/dovecot.log
mail_debug = yes
mail_location = mbox:~/mail:INBOX=/var/mail/%u
mail_privileged_group = mail
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
namespace inbox {
  inbox = yes
  location =
  mailbox Drafts {
    special_use = \Drafts
  }
  mailbox Junk {
    special_use = \Junk
  }
  mailbox Sent {
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox Trash {
    special_use = \Trash
  }
  prefix =
}
passdb {
  driver = pam
}
plugin {
  sieve = file:~/sieve;active=~/.dovecot.sieve
  sieve_default = /etc/dovecot/sieve/global/default.sieve
  sieve_global = /etc/dovecot/sieve/global/
  sieve_max_redirects = 30
}
protocols = " imap sieve pop3 sieve"
ssl_cert = </etc/dovecot/private/dovecot.pem
ssl_client_ca_dir = /etc/ssl/certs
ssl_dh = # hidden, use -P to show it
ssl_key = # hidden, use -P to show it
userdb {
  driver = passwd
}
protocol lda {
  mail_plugins = " sieve"
}

로그에 이것밖에 없네

Nov 06 23:46:41 master: Info: Dovecot v2.3.13 (89f716dc2) starting up for imap, sieve, pop3, sieve (core dumps disabled)

Roundcube가 Managesieve에 성공적으로 연결되었습니다.

메시지의 제목은 다음과 같습니다

X-Spam_score: -5.2
X-Spam_bar: ---

exim4+비둘기장+mailroundcube+스팸신

기타 로그

Nov  6 23:02:00 localhost dovecot: managesieve(admin)<258896><89DBU4EJyJp/AAAB>: Disconnected: Logged out bytes=54/518

Nov 6 23:01:29 localhost roundcube: <3muamjlk> S: OK "Dovecot (Debian) ready."

roundcube는 WEB UI에서 새 필터를 생성하지만 작동하지 않습니다. roundcube는 roundcube.sieve 및 심볼릭 링크를 생성합니다. 전역 스크립트도 만들었지만 작동하지 않습니다.

답변1

Dovecot이 Sieve 서비스를 올바르게 프로비저닝하고 관리하고 있는 것으로 보입니다. 메일 배달에 Sieve 파일/서비스를 사용하려면 (지정되지 않은) 메일 배달 에이전트를 조정해야 합니다.

관련 정보