Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12981 - Qmail-scanner and perl 5.8 don't seem to get along...
Summary: Qmail-scanner and perl 5.8 don't seem to get along...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Michael Cummings (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-31 10:07 UTC by John Sutherland
Modified: 2003-01-21 18:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Sutherland 2002-12-31 10:07:14 UTC
I recently upgraded to perl 5.8, and my my system was no longer delivering
mail.. I traced it to qmail-scanner.. After some experimentation, it seems
downgrading to perl 5.6.1 allows it to work again. 

After some discussion on #gentoo-perl, it seems that they have downgraded back
to 5.6.1. Someone should check that qmail-scanner works again for when people go
to 5.8..
Comment 1 Kim Nielsen 2003-01-11 09:07:42 UTC
Well it is very serious since its deleting mail :(

11/01/2003 15:58:01:4650: d_m: finished /usr/bin/reformime 
-x/var/spool/qmailscan/anubis10422970814234650/ [1042297081.11397]
11/01/2003 15:58:01:4650: d_m: Checking all attachments to see if they're MS-TNEF
11/01/2003 15:58:01:4650: d_m: is
/var/spool/qmailscan/anubis10422970814234650/1042297081.9021-0.anubis is a TNEF
file?: 256 [1042297081.12244]
11/01/2003 15:58:01:4650: d_m: Manually unpack any zip files as some virus
scanners don't do zip under Unix!
11/01/2003 15:58:01:4650: d_m: unpacking message took 0.032386 seconds
11/01/2003 15:58:01:4650: unsetting QMAILQUEUE env var
11/01/2003 15:58:01:4650: g_e_h: no sender and no recips.
11/01/2003 15:58:01:4650: cleanup: /bin/rm -rf
/var/spool/qmailscan/anubis10422970814234650/
/var/spool/qmailscan/working/new/anubis10422970814234650

Comment 2 Kim Nielsen 2003-01-13 00:52:49 UTC
A quick hack can make it work again:

replace the line 
open(SOUT,"<&STDOUT")||&tempfail("cannot dup fd 0 - $!");

with
open(SOUT,"<&1")||&tempfail("cannot dup fd 0 - $!");

this works or maybe an upgrade to 1.15 (Haven't tried this one)
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2003-01-16 14:51:09 UTC
Raker - do you know if 1.15 solves this problem? (I don't run qmail on this end
- was never smart enough to get it to not bounce all of my mail on receipt)
Comment 4 Michael Palmer 2003-01-21 18:15:37 UTC
qmail-scanner-1.15 does support perl 5.8
Comment 5 Nick Hadaway 2003-01-21 18:29:42 UTC
qmail-scanner-1.15 has been added to portage.