Hi Mark,

>> as expected (by you) the email.txt file is correctly encoded (meaning
>> unchanged). However in the tcpdump you clearly see that the file
>> returned in not the same file that comes in. I hope you (or someone
>> else) can give me some more tipps on debugging with the help of the
>> debug.log I made.
>
> I can not reproduce it, nevertheless the following change may have
> some effect on your system:
>
> (patch for 2.3.3):
>
> --- amavisd~  Mon Aug 22 01:46:15 2005
> +++ amavisd   Sun Aug 20 03:01:40 2006
> @@ -11538,4 +11538,6 @@
>      $self->{fh_pers} = IO::File->new($fname,'+>',0640)
>        or die "Can't create file $fname: $!";
> +    binmode($self->{fh_pers}, ":bytes")
> +      or die "Can't cancel :utf8 mode on $fname: $!"  if  
> $unicode_aware;
>      @stat_list = lstat($fname); add_entropy(@stat_list);
>      ($self->{file_dev}, $self->{file_ino}) = @stat_list;

That didn't help (even for 2.4.2). As email.txt seems to be correct,  
is there another way for amavisd-new to return the email.txt? If I  
understood the source correctly the filehandle gets passed around  
(lost count after some time), maybe reopening the file with a new  
filehander, which wont be used by other perl functions as often, may  
fix my particular that problem. Or does it already work that way?

Regards,
Alexander Schäfer



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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