Shaun,

> I notice that my amavisd (latest) uses internal decoders for the following:
>   .mail .asc .uue .hqx .ync .zip
> Is there any benefit to using external decoders for these, and if so,
> what programs should I be looking for, to install?

Some internal decoders (like the ones listed) have no external counterpart,
so you currently have no choice.

For .asc .uue .hqx .ync an external counterpart could be a uudeview,
which uses the same underlying library (but may be somewhat more poorly
maintained than the library than comes with a Perl module).

For .zip one could use unzip, although the Perl module is well maintained
and looks trustworty.

For .mail (i.e. a mail message encapsulated within a mail) we just re-use
the same mail parser as for outer message: MIME::Parser.

There is currently no interface code in amavisd to call external unzip
or uudeview.

Benefits of an external module is that if something goes wrong there,
it doesn't bring down the Perl process (with amavisd) along.
External module may be faster than internal, although it is
not always so.

Drawbacks often are that the caller (amavisd) has less control
on where archive members get extracted to, how are they named,
obtaining in-archive original member names, and being able to
enforce sanity size limits.

  Mark

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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