On 12/14/06, Mark Martinec <[EMAIL PROTECTED]> wrote:
> Here is the patch that should apply cleanly to 2.3.3:
>
> Mark


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. (in reply to end of DATA
command))

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? because
I am loosing a lot of email everytime I enable content-filter to try
things...

This is my amavisd-new now:
    defined $ln || $!==0 || $!==EAGAIN
      or die "Error reading from file(1) utility: $!";
    my($err); $proc_fh->close or $err = $!;
    my(@errmsg);
    $?==0 or push(@errmsg, "failed, ".exit_status_str($?,$err));
    if ($index < @part_list) {
    push(@errmsg, sprintf("parsing failure - missing last %d
results",@part_list - $index));
    }
    [EMAIL PROTECTED]  or die "file(1) utility ($file) ".join(", ",@errmsg);
    section_time(sprintf('get-file-type%d', scalar(@part_list)));

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?)

Thanks!

-------------------------------------------------------------------------
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