List Info

Thread: run_command and command line parameter splitting




run_command and command line parameter splitting
user name
2006-04-19 17:03:01
Hi,

amavismikecappella.com wrote:
>> I have a problem while writing my dspam plugin for
amavis.
>> 
>> In order to check the current mail I do the
following:
>>   my($dspam_arguments) = '--mode=toe --user amavis

>> --deliver=spam,innocent --process --stdout ';
>>   my($proc_fh,$pid) =
run_command('&'.$fh->fileno, "&1", 
>> $self->{'dspam'}, $dspam_arguments);
>> 
>> Debug logging in run_command tells me that this
command is run:
>>   /usr/local/bin/dspam --mode=toe --user amavis 
>> --deliver=spam,innocent --process --stdout 
<&9 2>&1

> You want a list.

Thank you very much. Problem fixed 

-- 
Felix



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )