Filename rule question

Marco Induni minduni at ti-edu.ch
Mon Jul 30 10:07:13 IST 2007


Hi Glenn, any news about my email ?

Thank you

------------------------------------

Hi Glenn I'm back, hpo you enjoyed your vacation
> Good. . . I'm on vacation too;).
> 
> On 09/07/07, Marco Induni <minduni at ti-edu.ch> wrote:
>> Glenn Steen wrote:
>> > On 06/07/07, Marco Induni <minduni at ti-edu.ch> wrote:
>> >> Glenn Steen wrote:
>> > (snip)
>> >> >>
>> >> >>
>> >> > To my tired eyes that doesn't look that bad... More's the pity...
>> >> Hope now you eyes are better
>> > :-)
>> >
>> >> > Seems you don't install SA and Clamav by way of Jules easy 
>> package (or
>> >> > else a lot more of the optional modules would be there)... Hm... One
>> >> > could start installing those, of course, but I don't see them having
>> >> > an effect.
>> >> In fact, we use uvscan(mcafee) and sometime clamav AV, but they are
>> >> installed apart (SA via CPAN / clamav make /make install)
>> > Ok. I don't think you need remove/reinstall with Jules package... It
>> > does more or less those, and then adds a lot of perl modules to make
>> > Mail::ClamAV happy. Would be passing strange if that had any impact on
>> > this problem.
>> >
>> >> >   You did say that restoring the default filename/filetype
>> >> > rules files and reloading/restarting MailScanner didn't have any
>> >> > effect either? Most strange.
>> >> Yes, it is so.
>> >
>> > This make me think there is something seriously wrong here... And
>> > perhaps not _directly_ related to the rule file used... Unless of
>> > course the files aren't readable or something strange like that...
>> > Nah, probably not.
>> >
>> >> > How did you install the MIME::* packages? Via jules installer or via
>> >> > distro or CPAN?
>> >> Via jules. I've installed the new version a couple of days ago.
>> >>
>> > You could try reinstall them (force them from CPAN or something), just
>> > to see that they build/install OK...

I've extracted all the MIME from the Jules rpm and then installed
manually (perl Makefile.pl / make / make install) this is the output of
all the steps

[root MIME-tools-5.420]# perl Makefile.PL
Checking for module File::Path (version 1)... ok.
Checking for module File::Spec (version 0.6)... ok.
Checking for module IO::Stringy (version 1.211)... ok.
Checking for module MIME::Base64 (version 3.03)... ok.
Checking for module Mail::Field (version 1.05)... ok.
Checking for module Mail::Header (version 1.01)... ok.
Checking for module Mail::Internet (version 1.0203)... ok.
Checking if your kit is complete...
Looks good
Writing Makefile for MIME-tools

[root MIME-tools-5.420]# make
cp lib/MIME/Decoder/Gzip64.pm blib/lib/MIME/Decoder/Gzip64.pm
cp lib/MIME/Body.pm blib/lib/MIME/Body.pm
cp lib/MIME/Field/ContDisp.pm blib/lib/MIME/Field/ContDisp.pm
cp lib/MIME/Field/ContType.pm blib/lib/MIME/Field/ContType.pm
cp lib/MIME/Decoder/NBit.pm blib/lib/MIME/Decoder/NBit.pm
cp lib/MIME/Parser/Results.pm blib/lib/MIME/Parser/Results.pm
cp lib/MIME/Words.pm blib/lib/MIME/Words.pm
cp lib/MIME/Entity.pm blib/lib/MIME/Entity.pm
cp lib/MIME/Parser/Filer.pm blib/lib/MIME/Parser/Filer.pm
cp lib/MIME/Head.pm blib/lib/MIME/Head.pm
cp lib/MIME/Field/ParamVal.pm blib/lib/MIME/Field/ParamVal.pm
cp lib/MIME/Decoder/BinHex.pm blib/lib/MIME/Decoder/BinHex.pm
cp lib/MIME/Tools.pm blib/lib/MIME/Tools.pm
cp lib/MIME/Field/ConTraEnc.pm blib/lib/MIME/Field/ConTraEnc.pm
cp lib/MIME/Decoder/Binary.pm blib/lib/MIME/Decoder/Binary.pm
cp lib/MIME/Decoder.pm blib/lib/MIME/Decoder.pm
cp lib/MIME/Decoder/UU.pm blib/lib/MIME/Decoder/UU.pm
cp lib/MIME/Decoder/Base64.pm blib/lib/MIME/Decoder/Base64.pm
cp lib/MIME/Decoder/QuotedPrint.pm blib/lib/MIME/Decoder/QuotedPrint.pm
cp lib/MIME/WordDecoder.pm blib/lib/MIME/WordDecoder.pm
cp lib/MIME/Parser.pm blib/lib/MIME/Parser.pm
cp lib/MIME/Parser/Reader.pm blib/lib/MIME/Parser/Reader.pm
Manifying blib/man3/MIME::Body.3pm
Manifying blib/man3/MIME::Decoder::Gzip64.3pm
Manifying blib/man3/MIME::Field::ContDisp.3pm
Manifying blib/man3/MIME::Parser::Results.3pm
Manifying blib/man3/MIME::Field::ContType.3pm
Manifying blib/man3/MIME::Decoder::NBit.3pm
Manifying blib/man3/MIME::Entity.3pm
Manifying blib/man3/MIME::Head.3pm
Manifying blib/man3/MIME::Parser::Filer.3pm
Manifying blib/man3/MIME::Words.3pm
Manifying blib/man3/MIME::Field::ParamVal.3pm
Manifying blib/man3/MIME::Decoder::BinHex.3pm
Manifying blib/man3/MIME::Tools.3pm
Manifying blib/man3/MIME::Field::ConTraEnc.3pm
Manifying blib/man3/MIME::Decoder::Binary.3pm
Manifying blib/man3/MIME::Decoder.3pm
Manifying blib/man3/MIME::Decoder::UU.3pm
Manifying blib/man3/MIME::Decoder::QuotedPrint.3pm
Manifying blib/man3/MIME::Decoder::Base64.3pm
Manifying blib/man3/MIME::WordDecoder.3pm
Manifying blib/man3/MIME::Parser::Reader.3pm
Manifying blib/man3/MIME::Parser.3pm

[root MIME-tools-5.420]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/Body..............ok
t/Decoder...........ok
t/Entity............ok
t/Gauntlet..........ok
t/Head..............ok
t/Misc..............ok
t/Parser............ok
t/ParserEncoded.....ok
t/ParserPreamble....ok
t/Ref...............ok
t/WordDecoder.......ok
t/Words.............ok
All tests successful.
Files=12, Tests=239,  4 wallclock secs ( 2.85 cusr +  0.24 csys =  3.09 CPU)


[root MIME-tools-5.420]# make install
Writing
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/MIME-tools/.packlist
Appending installation info to
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/perllocal.pod


Also, I've tried to block the attachment with the

Deny Filenames = default.asp

directly on the Mailscanner.conf, but I received the mail with the
attachment

Cheers
Marco


>> > Apart from this, you don't see any strange log entries in the normal
>> > syslog? We really need to get a handle on what is going bonkers here.
>> > Cheers
>> Glenn,
>> I'm on vacation. I will do it all the test starting from 24 of july.
>> So I will not bother you for 2 weeks ;-)
>>
>> Cheers
>> Marco
>>
>> -- 
>> MailScanner mailing list
>> mailscanner at lists.mailscanner.info
>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>
>> Before posting, read http://wiki.mailscanner.info/posting
>>
>> Support MailScanner development - buy the book off the website!
>>
> 
> 


-- 
Marco Induni
Universita` della Svizzera italiana
Servizi informatici / TI-EDU
Galleria 2
CH-6928 Manno (Switzerland)
E-mail: minduni at ti-edu.ch
Tel: +41 58 666 6656
Fax: +41 58 666 6650



More information about the MailScanner mailing list