From: Lars H. <lhe...@us...> - 2002-02-28 14:46:27
|
> The directory (/var/amavis/amavis-milter-XXTNRFDl) and the file in it > was created and removed ... > (I made a sleep before the problematic call). > > Any hints what went wrong or what I can do about it??? This one was just pointed out to me yesterday, and the fix is not yet in cvs (but in my working copy). It's a milter specific problem, and I guess the reason that it hasn't been seen before is that most milter users are also using amavisd. I can't send a complete diff, but it'll be in cvs tomorrow. (amavis.in) @@ -284,11 +290,12 @@ while (read(\*STDIN, $buf, $BUFSIZE)) { print $fh $buf; } - } - # The same file also serves as input to the parser - $fh->flush() or die "Can't flush file $TEMPDIR/email.txt: $!"; - $fh->seek(0,0) or die "Can't rewind file $TEMPDIR/email.txt: $!"; + # The same file also serves as input to the parser + $fh->flush() or die "Can't flush file $TEMPDIR/email.txt: $!"; + $fh->seek(0,0) or die "Can't rewind file $TEMPDIR/email.txt: $!"; + + } |