http://www.pldaniels.com/inflex/questions.html#3
How do I add more file types to block?
Around line 306 of the /usr/local/inflex/inflex script. You will notice
there are lines which look like (note, filename scanning starts at ~325):
${cut} -d: -f2 ${tmpdir}/fileresults | ${grep} "MS-DOS executable" >>
${typebadfileslog}
${cut} -d: -f2 ${tmpdir}/fileresults | ${grep} "PC bitmap data" gt;gt;
${typebadfileslog}
${cut} -d: -f2 ${tmpdir}/fileresults | ${grep} "AVI" gt;gt;
${typebadfileslog}
The file type descriptor (ie "AVI", "MPEG") is from the /etc/magic file.
Just add another ${grep} line to the end of the current list, with the new
/etc/magic tag type you're trying to block.
pelo que diz no site, vc. pode tb procurar por strings, uma curiosidade, vc.
usa o maildrop tb. ou n�o?
http://www.pldaniels.com/inflex/questions.html#4
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Jaci Ricardo L. Passos
Sent: ter�a-feira, 15 de outubro de 2002 11:45
To: [EMAIL PROTECTED]
Subject: [FUGSPBR] Inflex e /usr/share/misc/magic file
Ol� lista !
Instalei o inflex em um servidor de e-mail para barrar
arquivos por tipo de acordo com sua extens�o.
O problema � que quero adicionar novos tipos de arquivos e o
inflex se baseia no "banco de dados" /usr/share/misc/magic s�
que n�o tenho a m�nima id�ia de como fazer isto, ou seja,
como adicionar novos tipos de arquivos ao magic.
Por exemplo... quero adicionar o bloqueio aos arquivos tipo
pps, bat...etc.
No aguardo da ajuda...
Um abra�o,
================================
Jaci Ricardo Leal Passos
(41)425-1870 / (41)9128-0867
Paranagu� - Paran� - Brasil
================================
---
UOL Elei��es 2002 - Todos os lances da disputa pol�tica
http://eleicoes.uol.com.br/
_______________________________________________________________
Sair da Lista: http://www2.fugspbr.org/mailman/listinfo/fugspbr
Historico: http://www4.fugspbr.org/lista/html/FUG-BR/
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.401 / Virus Database: 226 - Release Date: 09/10/02
_______________________________________________________________
Sair da Lista: http://www2.fugspbr.org/mailman/listinfo/fugspbr
Historico: http://www4.fugspbr.org/lista/html/FUG-BR/