Thanks, your thorough response is VERY APPRECIATED!


--- Mark Martinec <[EMAIL PROTECTED]> wrote:

> email builder,
> 
> > Recently comparing a fresh install to our older conf file and this was
> > part of the diff... wondering if I should change these things in our conf
> > file or not?
> >
> > -$file   = 'file';   # file(1) utility; use recent versions
> > -$gzip   = 'gzip';
> > -$bzip2  = 'bzip2';
> > -$lzop   = 'lzop';
> > -$rpm2cpio   = ['rpm2cpio.pl','rpm2cpio'];
> > -$cabextract = 'cabextract';
> > -$uncompress = ['uncompress', 'gzip -d', 'zcat'];
> > -$unfreeze   = ['unfreeze', 'freeze -d', 'melt', 'fcat'];
> > -$arc        = ['nomarch', 'arc'];
> > -$unarj      = ['arj', 'unarj'];
> > -$unrar      = ['rar', 'unrar'];
> > -$zoo    = 'zoo';
> > -$lha    = 'lha';
> > -$pax    = 'pax';
> > -$cpio   = ['gcpio','cpio'];
> > -$ar     = 'ar';
> > -$ripole = 'ripole';
> 
> 2.3.0 release notes:
> - new config variable @decoders (with its policy banks counterpart) makes
>   it possible to enable/disable decoding of individual file content types
>   from the configuration file, and to adjust the external decoders paths
> and
>   search order, all in one place. This list now makes the following config
>   variables obsolete: $arc, $gzip, $bzip2, $lzop, $uncompress, $unfreeze,
> $lha,
>   $unarj, $unrar, $zoo, $pax, $cpio, $ar, $rpm2cpio, $cabextract, $ripole;
>   although they are still observed for compatibility reasons if @decoders
> list
>   is left at its default value;
> 
> 
> > -$dspam  = 'dspam';
> > +# $dspam = 'dspam';
> 
> If you are using dspam, leave $dspam variable in place.
> 
> > -  [qr/.*/ => 1],  # true for everything else
> > +  [qr/^/ => 1],  # true for everything else
> 
> Same thing - a cosmetic change.
> 
> > -  qr'\.[^./]*\.(exe|vbs|pif|scr|bat|cmd|com|cpl|dll)\.?$'i,
> > + 
> qr'\.[^./]*[A-Za-z][^./]*\.(exe|vbs|pif|scr|bat|cmd|com|cpl|dll)\.?$'i,
> 
> 2.3.0 release notes:
> - restrict the 'double extension' banning rule to require at least one
> letter
>   in the next-to-last dot-delimited field; this allows filenames such as
>   prog.33.22.01.exe not to be blocked by this rule;
> 
> 
> > -# qr'[{}]', # curly braces in names (serve as Class ID extensions -
> CLSID)
> > +# qr'\{[0-9a-z]{4,}(-[0-9a-z]{4,}){0,7}\}?'i,  # Class ID extensions
> CLSID
> 
> 2.3.0 release notes:
> - tightened up a sample regular expression in amavisd.conf for catching
>   Class ID (CLSID) extensions in file names;
> 
> 
> > -# qr'^message/partial$'i, qr'^message/external-body$'i, # rfc2046 MIME
> > +# qr'^message/partial$'i,         # rfc2046 MIME type
> > +# qr'^message/external-body$'i,   # rfc2046 MIME type
> 
> Same thing - cosmetic split into separate rules.
> 
> > [EMAIL PROTECTED] = (
> > +  ['mail', \&do_mime_decode],
> > +  ['asc',  \&do_ascii],
> > +  ['uue',  \&do_ascii],
> > +  ['hqx',  \&do_ascii],
> > +  ['ync',  \&do_ascii],
> > +  ['F',    \&do_uncompress, ['unfreeze','freeze -d','melt','fcat'] ],
> > +  ['Z',    \&do_uncompress, ['uncompress','gzip -d','zcat'] ],
> > +  ['gz',   \&do_gunzip],
> > +  ['gz',   \&do_uncompress,  'gzip -d'],
> > +  ['bz2',  \&do_uncompress,  'bzip2 -d'],
> > +  ['lzo',  \&do_uncompress,  'lzop -d'],
> > +  ['rpm',  \&do_uncompress, ['rpm2cpio.pl','rpm2cpio'] ],
> > +  ['cpio', \&do_pax_cpio,   ['pax','gcpio','cpio'] ],
> > +  ['tar',  \&do_pax_cpio,   ['pax','gcpio','cpio'] ],
> > +  ['tar',  \&do_tar],
> > +  ['deb',  \&do_ar,          'ar'],
> > +# ['a',    \&do_ar,          'ar'],  # unpacking .a seems an overkill
> > +  ['zip',  \&do_unzip],
> > +  ['rar',  \&do_unrar,      ['rar','unrar'] ],
> > +  ['arj',  \&do_unarj,      ['arj','unarj'] ],
> > +  ['arc',  \&do_arc,        ['nomarch','arc'] ],
> > +  ['zoo',  \&do_zoo,         'zoo'],
> > +  ['lha',  \&do_lha,         'lha'],
> > +# ['doc',  \&do_ole,         'ripole'],
> > +  ['cab',  \&do_cabextract,  'cabextract'],
> > +  ['tnef', \&do_tnef_ext,    'tnef'],
> > +  ['tnef', \&do_tnef],
> > +  ['exe',  \&do_executable, ['rar','unrar'], 'lha', ['arj','unarj'] ],
> > +);
> 
> 2.3.0 release notes:
> - new config variable @decoders (with its policy banks counterpart) makes
>   it possible to enable/disable decoding of individual file content types
>   from the configuration file, and to adjust the external decoders paths
> and
>   search order, all in one place. This list now makes the following config
>   variables obsolete: $arc, $gzip, $bzip2, $lzop, $uncompress, $unfreeze,
> $lha,
>   $unarj, $unrar, $zoo, $pax, $cpio, $ar, $rpm2cpio, $cabextract, $ripole;
>   although they are still observed for compatibility reasons if @decoders
> list
>   is left at its default value;
> 
> 
> No need to explicitly assign to @decoders in amavisd.conf
> if defaults need not be changed.
> 
>   Mark
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to