“plugin antispam não configurado” [fechado]

16

Estou tentando fazer com que o plug-in dovecot-antispam esteja funcionando em um servidor 15.10 (não posso dist-upgrade, está em um vps) e estou recebendo a mensagem de erro anti spam plugin not configured ao tentar mover mensagens para ou da minha pasta de lixo eletrônico.

dovecot-antispam Version: 2.0+20130822-2build1
dovecot-core Version: 1:2.2.9-1ubuntu5
dovecot-sieve Version: 1:2.2.9-1ubuntu5

Esta é a última parte da instalação, caso contrário dovecot e sieve estão funcionando como esperado, juntamente com amavisd-new / spamassassin / etc. Eu não estou usando DSPAM .

A mensagem de erro que estou vendo no meu cliente de e-mail (não importa qual deles, todos exibem a mesma mensagem de erro) parece ter apenas um resultado do Google e um encadeamento da lista de discussão Dovecot de alguns anos costas.

  

link

Eu também li este tópico Ask Ubuntu:

  

dovecot com o plugin antispam

Sem sorte ainda.

15-lda.conf :

protocol imap {
    mail_plugins = $mail_plugins antispam
}

90-antispam.conf :

plugin {
    antispam_backend = pipe
    antispam_signature = X-Spam-Flag
    antispam_signature_missing = error

    antispam_trash = trash;Garbage;Trash;Deleted Items;Deleted Messages
    antispam_trash_pattern = trash;Trash;Deleted *
    antispam_trash_pattern_ignorecase = TRASH

    antispam_spam = Spam;Junk
    antispam_spam_pattern = spam;Spam;junk;Junk
    antispam_spam_pattern_ignorecase = SPAM;JUNK

    antispam_pipe_tmpdir = /var/tmp
    antispam_pipe_program = /usr/bin/sa-learn-pipe.sh

    antispam_debug_target = syslog
    antispam_verbose_debug = 1
}

/usr/bin/sa-learn-pipe.sh :

#!/bin/bash

echo /usr/bin/sa-learn $* /tmp/sendmail-msg-$$.txt
echo "$$-start ($*)" >> /tmp/sa-learn-pipe.log

#echo $* > /tmp/sendmail-parms.txt
cat<&0 >> /tmp/sendmail-msg-$$.txt

/usr/bin/sa-learn $* /tmp/sendmail-msg-$$.txt && rm -f /tmp/sendmail-msg-$$.txt &

echo "$$-end" >> /tmp/sa-learn-pipe.log

exit 0

Eu tenho o log detalhado ativado, e vejo o seguinte no meu syslog :

Jun  3 22:08:23 pile imap: antispam: plugin initialising (2.0-notgit)
Jun  3 22:08:23 pile imap: antispam: verbose debug enabled
Jun  3 22:08:23 pile imap: antispam: "Spam" is exact match spam folder
Jun  3 22:08:23 pile imap: antispam: "Junk" is exact match spam folder
Jun  3 22:08:23 pile imap: antispam: "spam" is wildcard match spam folder
Jun  3 22:08:23 pile imap: antispam: "Spam" is wildcard match spam folder
Jun  3 22:08:23 pile imap: antispam: "junk" is wildcard match spam folder
Jun  3 22:08:23 pile imap: antispam: "Junk" is wildcard match spam folder
Jun  3 22:08:23 pile imap: antispam: "spam" is case-insensitive wildcard match spam folder
Jun  3 22:08:23 pile imap: antispam: "junk" is case-insensitive wildcard match spam folder
Jun  3 22:08:23 pile imap: antispam: no unsure folders
Jun  3 22:08:23 pile imap: antispam: "trash" is exact match trash folder
Jun  3 22:08:23 pile imap: antispam: "Garbage" is exact match trash folder
Jun  3 22:08:23 pile imap: antispam: "Trash" is exact match trash folder
Jun  3 22:08:23 pile imap: antispam: "Deleted Items" is exact match trash folder
Jun  3 22:08:23 pile imap: antispam: "Deleted Messages" is exact match trash folder
Jun  3 22:08:23 pile imap: antispam: "trash" is wildcard match trash folder
Jun  3 22:08:23 pile imap: antispam: "Trash" is wildcard match trash folder
Jun  3 22:08:23 pile imap: antispam: "Deleted *" is wildcard match trash folder
Jun  3 22:08:23 pile imap: antispam: "trash" is case-insensitive wildcard match trash folder
Jun  3 22:08:23 pile imap: antispam: pipe backend program = /usr/bin/sa-learn-pipe.sh
Jun  3 22:08:23 pile imap: antispam: pipe backend tmpdir /var/tmp
Jun  3 22:08:23 pile dovecot: imap([email protected]): Disconnected: Logged out in=91 out=905

Só para testar e verificar se está lendo o arquivo de configuração, adicionei a palavra "Garbage" na minha lista de pastas. Não está afetando nada.

Neste momento, não sei ao certo para onde ir. Algum de vocês já adquiriu este plugin Dovecot para funcionar com sucesso? É a última peça do meu quebra-cabeça de servidor de email.

Veja o que eu vejo no Roundcube:

Editar: mais pesquisas me levam a este tópico recente na lista do pombal .... e o cartaz acabou desistindo e usando um método diferente.

    
por Taco Bob 04.06.2016 / 04:15

0 respostas