This is a discussion on Re: [AMaViS-user] Re: amavisd-new-2.4.0-pre6 available within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Heute (14.03.2006/16:21 Uhr) schrieb Mark Martinec (Mark.Martinec+amavis@ijs.si), > Jim, >> >&...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Heute (14.03.2006/16:21 Uhr) schrieb Mark Martinec (Mark.Martinec+amavis@ijs.si),
> Jim, >> >> run_command: child process [13115]: Can't reopen STDIN on &0: >> No, sorry. :( >> run_command: child process [15790]: run_command: STDIN not fd0: 3 > Ok, but there was a progress anyway :) yeah, that`s right. *bg* > Here is my second attempt at DSPAM when Net::Server 0.91 is in use. > The patch applies to -pre6 *instead* of my previous patch. > --- amavisd.orig Tue Mar 14 13:03:57 2006 > +++ amavisd Tue Mar 14 16:18:02 2006 > @@ -2019,3 +2019,4 @@ > # with Net::Server <= 0.90 fd0 was main::stdin, but no longer so in 0.91 > - defined POSIX::close(0) or do_log(3,"Error closing fd0: %s",$!); > + if ($stdin_from eq '&0' || $stdin_from eq '&=0') { $stdin_from = '&=0' } > + else { defined POSIX::close(0) or do_log(3,"Error closing fd0: %s",$!) } > close_log(); > @@ -2078,3 +2079,4 @@ > # with Net::Server <= 0.90 fd1 was main::stdout, but no longer so in 0.91 > - defined POSIX::close(1) or do_log(3,"Error closing fd1: %s",$!); > + if ($stdout_to eq '&1' || $stdout_to eq '&=1') { $stdout_to = '&=1' } > + else { defined POSIX::close(1) or do_log(3,"Error closing fd1: %s",$!) } > close_log(); it seems to be the solution. No errors more. Thank you > Mark -- Viele Gruesse, Kind regards, Jim Knuth jk@jkart.de ICQ #277289867 ---------- Zufalls-Zitat ---------- Jede Dummheit findet einen, der sie macht. (Tennessee Williams, am. Schriftsteller, 1911-1983) ---------- Der Text hat nichts mit dem Empfaenger der Mail zu tun ---------- Virus free. Checked by NOD32 Version 1.1442 Build 6911 14.03.2006 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=...720&dat=121642 _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/...fo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/ |