Andres,

> Mark, this is the output of the error with the patch applied:
>
> Dec 14 14:12:27 pc009 postfix/smtp[5276]: 5E08039A34D:
> to=<[EMAIL PROTECTED]>, relay=127.0.0.1[127.0.0.1], delay=22,
> status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in
> processing, id=05248-01, parts_decode_ext FAILED: file(1) utility
> (/usr/bin/file) failed, DIED on signal 11 (000b), parsing failure -
> missing last 1 results at (eval 44) line 164.

Thanks, that is now much more informative.

So it seems your file(1) crashes with segmentation violation (SEGV).
Very bad.

It would be worth preserving the mail part that caused the problem
for later experiments. It probably still is in a temporary directory,
also the mail is most likely still in the queue.

See if upgrading file(1) to the current version solves the problem
(4.19 at ftp://ftp.astron.com/pub/file/ ).

If it does, you are done, otherwise the maintainer or the file(1)
utility needs to be notified and a test sample made available.

> amavis is not running in debug mode, is there any way to force amavis
> to run (with some command line options) and not with postfix?

Setting $log_level to 5 is almost the same as running 'amavisd debug'.
You still need to connect (telnet) and simulate a SMTP session,
there is no test mode to supply a sample mail otherwise.

> because I am loosing a lot of email everytime I enable
> content-filter to try things...

Why would you be losing any mail?

Unless you make a serious (almost intentional) misconfiguration,
normally mail just stays in MTA queue for a later retry.

> I changed this line
>     $?==0 or push(@errmsg, "failed, ".exit_status_str($?,$err));
>  from yours
>     $?==0 or or push(@errmsg, "failed, ".exit_status_str($?,$err));
>
> Because i thought that you had a typo (two or statements, am I right?)

Yes, a typo, sorry. Just one 'or'.

  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
AMaViS-user@lists.sourceforge.net
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