Alfredo,

> In my tests I found that the problem is amavisd. For some reason amavisd
> child can't finish the work and stay in use.
> I'm using amavisd-new 2.3.3.
...
> Note that all childs are in use. I identified that a single e-mail
> message with 600KB with many .GIF attachments is causing
> this problem on amavis. ...
> The lastest lines in amavis debug log are: 
>
> Nov 13 01:47:25 mail02 amavis[24641]: (24641-06) File-type of p012: JPEG
> image data, JFIF standard 1.01; (image, jpg)
> Nov 13 01:47:25 mail02 amavis[24641]: (24641-06) decompose_part: p001 -
> atomic
> Nov 13 01:47:25 mail02 amavis[24641]: (24641-06) do_ascii: Decoding part
> p002

I'm not surprised that do_ascii is the guilty one. There were several issues
with Convert::UUlib in the past, more exactly with its underlying uulib.
Make sure you have the most recent version of Convert::UUlib
(the uulib comes with the Convert::UUlib Perl module).

> Any of you know how can I do to solve this problem on the source code?
> I have the original message on backup to make tests.

Good for you, you are able to experiment with decoding on that
message. Since the last entry in your log indicates that decoding of
part p002 by Convert::UUlib was underway, grab that part from a
leftover temporary directory and examine it. Try a command line
utility uudeview on that part. The uudeview comes with uulib
and uses the same uulib library (but could be a different version
of the library on your system).

It is possible to disable decoding attempts on plain text files by do_ascii
by modifying the list @decoders in amavisd.conf (or assigning a new
list to this variable). If you have an explicit assignment to @decoders
in amavisd.conf, just leave out the entries:
  ['asc',  \&do_ascii],
  ['uue',  \&do_ascii],
  ['hqx',  \&do_ascii],
  ['ync',  \&do_ascii],

If you don't have an explicit assignmenment and rely on defaults,
you can remove the entries from the default list in @decoders
by inserting the following somewhere in amavisd.conf:

# remove routine do_ascii (and its underlying Convert::UUlib)
# as a decoder from the @decoders list:
$_->[1] eq \&do_ascii and undef($_)  for @decoders;

  Mark


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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