[Exim] Pipe help???

Etusivu
Poista viesti
Vastaa
Lähettäjä: Robert L. Harris
Päiväys:  
Vastaanottaja: Exim Users
Aihe: [Exim] Pipe help???
--


I'm working on a perl script that will hit a URL causing a page to my
nextel phone. If I "cat /tmp/saved_message | /usr/local/bin/Pager.pl"
it works great. If I create an alias in /etc/aliases of:

robert-pager:    "|/usr/local/bin/Pager.pl"


I end up with perl modules saying variables aren't defined.
(Protocols.pm can't find "$scheme" to be exact. I've got this in my
exim.conf:

address_pipe:
driver = pipe
path = /sbin:/usr/sbin:/usr/bin:/bin:/usr/local/bin
user = mail
environment="http_proxy=http://proxy.rdlg.net:3128"
use_shell = true
home_directory = /var/mail
return_output

In the script I've even commented out the part where it reads the
message and hardcoded values even though it was grabbing them correctly.


This is a debian unstable system running exim 3.36-4.

Anyone have any ideas?
Robert


:wq!
---------------------------------------------------------------------------
Robert L. Harris                     | PGP Key ID: FC96D405


DISCLAIMER:
      These are MY OPINIONS ALONE.  I speak for no-one else.
FYI:
 perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'


--
[ Content of type application/pgp-signature deleted ]
--