Re: [AMaViS-user] Body gets always UTF-8 encoded

2006-08-21 Thread Mark Martinec
Alexander, > > smtp-sink comes with Postfix > > Im tired but I got my proof! I give in ISO and get out Unicode! > $smtp->datasend("ae:$ae:oe:$oe:ue:$ue\n"); Nice proof, naughty Perl584/Net::Cmd/syswrite ! Perhaps it's time to upgrade Perl to 5.8.8 and see if the problem persists, before investin

Re: [AMaViS-user] Body gets always UTF-8 encoded

2006-08-21 Thread Mark Martinec
Alexander, > > Could you please add a line: > > use warnings FATAL => 'utf8'; > > to every __DATA__ section in amavisd - it may catch > > a conversion problem which could otherwise be only > > reported to STDERR and not noticed. > No errors. I hate those bugs that say they arn't there. Thanks.

Re: [AMaViS-user] Body gets always UTF-8 encoded

2006-08-21 Thread Mark Martinec
Alexander Schäfer, > It worked as you described, no problem with that one liner. > I then encapsulated your while loop (inside amavid-new) for Net::SMTP- > datasend and put a copy of the data to a new file, guess what that > worked too.. so I think the conversion happens inside Net::SMTP. So I > w

Re: [AMaViS-user] Body gets always UTF-8 encoded

2006-08-21 Thread Alexander Schäfer
Hi Mark, > Could you please add a line: > use warnings FATAL => 'utf8'; > to every __DATA__ section in amavisd - it may catch > a conversion problem which could otherwise be only > reported to STDERR and not noticed. > > The appatched patch does it for amavisd 2.4.2. > With 2.3.3 it would be ana

Re: [AMaViS-user] Body gets always UTF-8 encoded

2006-08-21 Thread Alexander Schäfer
Hi Mark, > This one-liner is pretty much equivalent of what is going on within > amavisd: > > perl -MIO::File -e '$f=IO::File->new("0.lis","+>",0640) or die $!; > printf("%s\n",join(",",PerlIO::get_layers($f))); print $f "\344 > \366\374\n"; > $f->flush or die $!; $f->seek(0,0) or die $!; $

Re: [AMaViS-user] Feature request - X-Amavis-OS-Fingerprint

2006-08-21 Thread Mark Martinec
Jeff, > It would be nice if I could configure amavisd to add the > X-Amavis-OS-Fingerprint header to all mail. I understand that it > currently feeds this header to SpamAssassin, which is good, but if it were > there for other mails it could be useful in manual bayesian filter > (re-)training. I

Re: [AMaViS-user] Body gets always UTF-8 encoded

2006-08-21 Thread Mark Martinec
Alexander, > > +binmode($self->{fh_pers}, ":bytes") > 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), Y