From: Tom B. <tom...@em...> - 2002-02-15 12:24:50
|
Hi ! FYI this is about amavis, qmail, suse 6.1 and perl 5.6.1. I had to use amavis and not amavisd (which doesnot work with qmail - which isnot documented well enough IMHO), the suid wrapper, which is in the notes on the website and this patch which brings it to life. Clifford Tse kindly provided it after i contacted him, because he mentioned the same problems here in the mailing list. >Hi ! > >Thank you for your fast response. As you mentioned it shouldnot - but it solved my problem. Strange enough. As far as i recognize this can't be dependend on the perl version cause i upgraded to 5.61 because of this, and all perl modules are on the newest Version. I tried it with the current stable Amavis and with the CVS. >Iam using Suse 6.1, perhaps it has s.th. to do with the STDIN handling, as far as i understand the code should be functionally the same. > >greetz from germany. >tom bille > >On 11 Feb 2002 at 13:37, Clifford Tse wrote: > >> the fact that nobody else complained about this probably meant that we >> both did something wrong :) in any case, i changed the code for >> reading $recipline as follows and it works: >> >> # command line parsing, qmail version >> >> # the stupid qmail just does not work >> # >> #open(ENVELOPE, "<&STDOUT"); >> #$recipline = <ENVELOPE>; >> #close(ENVELOPE); >> # >> >> $recipline = ''; >> while (read(\*STDOUT, $buf, $BUFSIZE)) { >> $recipline .= $buf; >> } >> >> please let me know if it helps. >> >> cliff -------------------------------------------------- | Tom Bille | Reuleauxstr.36 | 52249 Eschweiler | Telefon +49-2403-8393-60 | ISDN +49-2403-8393-59 | Telefax +49-2403-8393-58 | Mobil +49-171-8051851 | mailto: tom...@em... |