> 
> 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.


> 
> This is quite unusual. I would expect that the command line 
> is being split automatically by the C library and this may 
> indeed be the reason why DSPAM fails.

Never!  It (exec) does not interpret its strings.




-------------------------------------------------------
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=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to