Hi,

[EMAIL PROTECTED] said:

> > open(M,"|-") || print "Problem with Domain Forwarding (Fork not 
> > possible)" && exit 111;
> > $uservariable="$ENV{LOCAL}@$ARGV[0]";
> > exec "/var/qmail/bin/qmail-inject",$uservariable || 
print "Problem  
> 
> Are you aware that "exec" _never_ returns?

No, I was not. But it works; the script actually forwards messages 
as far as I can see. Can you explain what you mean by 'not 
returning' ?

> So you didn't close M (but perl does), and lose anything on STDIN.
> 
> Try "system" instead.

Maybe this special |- has to do with it ???

_Ace


> 
> Greetings,
> Erich
> 



-- 
--Ace Suares Internet Consultancy
--http://www.suares.com
[EMAIL PROTECTED]


Reply via email to