[FUG-BR] qmail+simscan

Luiz Gustavo S. Costa luizgustavo em luizgustavo.pro.br
Quinta Janeiro 14 10:34:44 BRST 2010


sem esquecer de "compilar" o arquivo com simscanmk (acho que é isso...
to de cabeça, sem um console aqui pra confirmar...)

2010/1/14 BSD <cat em bsd.com.br>:
> como esta o simcontrol?
>
> # cat /var/qmail/control/simcontrol
> :clam=yes,spam=yes,spam_hits=15,attach=.exe:.bat:.scr:.com
>
> Em 14/01/2010 10:17, Renata Dias escreveu:
>> Caros,
>>
>> Vi que existem alguns topicos relacionados a este mesmo problema, porém
>> nenhum deles tem a solução.
>> Tenho um servidor com FreeBSD 6.2, qmail + vpopmail e como solução antispam
>> simscan+spamassassin.
>> Nenhuma mensagem é considerada SPAM, no log de SMTP apresenta apenas:
>>
>> simscan:[67016]:CLEAN (0.00/0.00)
>>
>> Com debug ativado:
>>
>> 2010-01-14 10:01:04.497623500 simscan: cdb looking up
>> 2010-01-14 10:01:04.498135500 simscan: starting: work dir:
>> /var/qmail/simscan/1263470464.497881.67448
>> 2010-01-14 10:01:09.515421500 simscan: F envelope is dma_259 em xxx.com.br
>> 2010-01-14 10:01:09.515617500 simscan: T1 envelope is comercialpj em yyy.com.br
>> 2010-01-14 10:01:09.515901500 simscan: pelookup: called with
>> dma_259 em xxx.com.br
>> 2010-01-14 10:01:09.516208500 simscan: pelookup: domain is xxx.com.br
>> 2010-01-14 10:01:09.516214500 simscan: cdb looking up xxx.com.br
>> 2010-01-14 10:01:09.516218500 simscan: pelookup: local part is dma_259
>> 2010-01-14 10:01:09.516222500 simscan: lpart: local part is **
>> 2010-01-14 10:01:09.516227500 simscan: cdb looking up dma_259 em xxx.com.br
>> 2010-01-14 10:01:09.516232500 simscan: pelookup: called with
>> comercialpj em yyy.com.br
>> 2010-01-14 10:01:09.516236500 simscan: pelookup: domain is yyy.com.br
>> 2010-01-14 10:01:09.516258500 simscan: cdb looking up yyy.com.br
>> 2010-01-14 10:01:09.516263500 simscan: cdb for yyy.com.br found
>> clam=no,spam=yes
>> 2010-01-14 10:01:09.516268500 simscan: pelookup clam = no
>> 2010-01-14 10:01:09.516287500 simscan: pelookup spam = yes
>> 2010-01-14 10:01:09.516292500 simscan: pelookup: local part is comercialpj
>> 2010-01-14 10:01:09.516298500 simscan: lpart: local part is **
>> 2010-01-14 10:01:09.516306500 simscan: cdb looking up comercialpj em yyy.com.br
>> 2010-01-14 10:01:09.520002500 simscan: clamdscan disabled
>> 2010-01-14 10:01:09.520165500 simscan: calling spamc
>> 2010-01-14 10:01:09.520173500 simscan: calling /usr/local/bin/spamc  spamc
>> -u comercialpj em yyy.com.br
>> 2010-01-14 10:01:09.526728500 simscan: cdb looking up version spam
>> 2010-01-14 10:01:09.526940500 simscan: runned_scanners is  spam: 3.2.5
>> 2010-01-14 10:01:09.526946500 simscan: found 3.2.5
>> 2010-01-14 10:01:09.526951500 simscan:[67447]:CLEAN
>> (0.00/0.00):5.0293s:=?ISO-8859-1?Q?Atualiza=E7=E3o_para_Instrutores_de_Treinamento?=:200.200.200.200:
>> dma_259 em xxx.com.br:comercialpj em yyy.com.br
>> 2010-01-14 10:01:09.526974500 simscan: done, execing qmail-queue
>> 2010-01-14 10:01:09.530951500 simscan: qmail-queue exited 0
>>
>> O SpamAssassin está pontuando quando rodo o comando:
>>
>> # spamc -c -d 127.0.0.1<  teste-email.eml
>> 4.8/5.0
>>
>> # spamc -d 127.0.0.1<  gtube.txt
>> X-Spam-Checkr-Version: SpamAssassin: Provale Informatica.
>> X-Spam-Flag: YES
>> X-Spam-Checker-Version: SpamAssassin
>> 3.2.5-spambr_20030926a-spamassassin_3.2.5
>>          (2008-06-10) on email.unimedpinda.com.br
>> X-Spam-Level: ++++++++++++++++++++++++++++++++++++++++++++++++++
>> X-Spam-Status: Yes, hits=1002.5 required=5.0
>> Subject: [SPAM] Test spam mail (GTUBE)
>> Message-ID:<GTUBE1.1010101 em example.net>
>> Date: Wed, 23 Jul 2003 23:30:00 +0200
>> From: Sender<sender em example.net>
>> To: Recipient<recipient em example.net>
>> Precedence: junk
>> MIME-Version: 1.0
>> Content-Type: text/plain; charset=us-ascii
>> Content-Transfer-Encoding: 7bit
>> X-Spam-Prev-Subject: Test spam mail (GTUBE)
>> This is the GTUBE, the
>>          Generic
>>          Test for
>>          Unsolicited
>>          Bulk
>>          Email
>> If your spam filter supports it, the GTUBE provides a test by which you
>> can verify that the filter is installed correctly and is detecting incoming
>> spam. You can send yourself a test mail containing the following string of
>> characters (in upper case and with no white spaces and line breaks):
>> XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X
>> You should send this test mail from an account outside of your network.
>>
>>
>>
>>
>> Alguma dica??
>>
>> Obrigada.
>>
>>
>
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>



-- 
Luiz Gustavo Costa (Powered by BSD)
*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+
mundoUnix - Consultoria em Software Livre
http://www.mundounix.com.br
ICQ: 2890831 / MSN: contato em mundounix.com.br
Blog: http://www.luizgustavo.pro.br


Mais detalhes sobre a lista de discussão freebsd