Error: perl not available for sendmail programs

I'm using a Cobalt RaQ2. The Cobalt forum wasn't able to help me; let's see if anyone here can help.

A client of mine purchased a package called OptIn Lightning to manage his subscriber mailing list. (We asked their support the same question, but they only repeated their recommendation for a certain host.)

When an email is received for the 'subscribe' mailbox, it needs to be passed to a Perl script called post.cgi which extracts the subscriber's email address and adds it to a database. The program offers the option of using a .forward file or a .procmailrc file to enable this to work.

I've determined that setting up the .procmailrc file according to their instructions does nothing, so I'm concentrating on the .forward file.

The .forward file contains the following line:

\gameabyss4,"|/usr/bin/perl /home/sites/www.freecasinobook.com/web/optin/post.cgi"

When I send an email, I get this error bounced back:
sh: perl not available for sendmail programs.

The Cobalt RaQ2 uses a vacation.pl script for auto-replies, so in some cases, Perl is available to sendmail programs. There must be some kind of configuration file that permits only certain scripts to be run from sendmail.

Anybody know which one?

Thank-you.

 

 

 

 

Top