Zip Attachments

Jorge Costinha jlcostinha at halla.pt
Mon Apr 7 09:04:54 IST 2008


i want to zip the attachments everytime their size > 5000k and are 
coming From a specific email address.
but it's not working... nothing is getting zip at all.

thanks in advance,

Jorge

here's the MailScanner -v output:

Running on
Linux mx.halla.pt 2.6.22.14-72.fc6 #1 SMP Wed Nov 21 13:44:07 EST 2007 
i686 i686 i386 GNU/Linux
This is Fedora Core release 6 (Zod)
This is Perl version 5.008008 (5.8.8)

This is MailScanner version 4.65.3
Module versions are:
1.00    AnyDBM_File
1.18    Archive::Zip
1.04    Carp
1.119     Convert::BinHex
2.27    Date::Parse
1.00    DirHandle
1.05    Fcntl
2.74    File::Basename
2.09    File::Copy
2.01    FileHandle
1.08    File::Path
0.18    File::Temp
0.90    Filesys::Df
1.35    HTML::Entities
3.56    HTML::Parser
2.37    HTML::TokeParser
1.22    IO
1.13    IO::File
1.13    IO::Pipe
1.74    Mail::Header
1.86    Math::BigInt
3.05    MIME::Base64
5.420    MIME::Decoder
5.420    MIME::Decoder::UU
5.420    MIME::Head
5.420    MIME::Parser
3.03    MIME::QuotedPrint
5.420    MIME::Tools
0.11    Net::CIDR
1.09    POSIX
1.19    Scalar::Util
1.78    Socket
1.4    Sys::Hostname::Long
0.18    Sys::Syslog
1.86    Time::HiRes
1.02    Time::localtime

Optional module versions are:
1.30    Archive::Tar
0.21    bignum
missing    Business::ISBN
missing    Business::ISBN::Data
0.17    Convert::TNEF
missing    Data::Dump
1.814    DB_File
1.13    DBD::SQLite
1.56    DBI
1.14    Digest
1.01    Digest::HMAC
2.36    Digest::MD5
2.11    Digest::SHA1
missing    Encode::Detect
0.17008    Error
0.18    ExtUtils::CBuilder
missing    ExtUtils::ParseXS
missing    Inline
missing    IO::String
1.04    IO::Zlib
2.23    IP::Country
missing    Mail::ClamAV
3.002000    Mail::SpamAssassin
v2.005    Mail::SPF
1.999001    Mail::SPF::Query
0.19    Math::BigRat
0.2806    Module::Build
0.20    Net::CIDR::Lite
0.61    Net::DNS
v0.003    Net::DNS::Resolver::Programmable
missing    Net::LDAP
 4.004    NetAddr::IP
missing    Parse::RecDescent
missing    SAVI
2.64    Test::Harness
missing    Test::Manifest
1.95    Text::Balanced
1.35    URI
0.7203    version
0.62    YAML



Julian Field wrote:
> Are you saying something doesn't work as expected?
> You haven't actually said you have a problem, or what the problem is.
> Plus some basic information such as the output of MailScanner -v would 
> help us to help you.
>
> Jorge Costinha wrote:
>> i got
>>
>> Zip Attachment = %rules-dir%/filename.rules
>> Attachments min total size to zip = 5000k
>>
>> where in filename.rules i got:
>>
>> From:   <specific email>  yes
>> FromOrTo:   default        no
>>
>> what am i missing?
>>
>> PS- i also have the Maximum Message Size = 
>> %rules-dir%/anotherfilename.rules.  this is working as it should.
>>
>> thanks in advance.
>>
>> Jorge
>>
>>
>>
>>
>
> Jules
>





More information about the MailScanner mailing list