Re: exim and pipe aliases?

2003-01-17 Thread Robert L. Harris
If I execute the script manually it works great. If I execute it via pipe with exim I get this: Use of uninitialized value in concatenation (.) or string at /usr/local/share/perl/5.8.0/LWP/Protocol.pm line 87, line 20 (#1)

Re: exim and pipe aliases?

2003-01-17 Thread Hans Wilmer
On Thu, Jan 16, 2003 at 07:01:28PM -0500, Robert L. Harris wrote: Users don't need to exist. In case exim understands the command line to pipe the mail to as usernames, the mail cannot be delivered to those users if they do not exist. There's a setting in /etc/exim/exim.conf that tells it

Re: exim and pipe aliases?

2003-01-17 Thread Shyamal Prasad
Robert == Robert L Harris [EMAIL PROTECTED] writes: Robert If I execute the script manually it works great. If I Robert execute it via pipe with exim I get this: Robert My pipe section of my exim.conf looks like this: Robert [..deleted...] Robert return_output Hi

Re: exim and pipe aliases?

2003-01-17 Thread Robert L. Harris
The problem is the script is actually failing. It generates this error: Use of uninitialized value in pattern match (m//) at /usr/local/share/perl/5.8.0/LWP/Protocol.pm line 114 (#1) (W

Re: exim and pipe aliases?

2003-01-16 Thread Hans Wilmer
On Wed, Jan 15, 2003 at 05:05:38PM -0500, Robert L. Harris wrote: I'm trying to create and alias as such: robert-pager: | /usr/local/bin/Pager.pl 6787586413 Quoting the right part of the alias should help: robert-pager: | /usr/local/bin/Pager.pl 6787586413 Please, as I'm not

Re: exim and pipe aliases?

2003-01-16 Thread Robert L. Harris
Users don't need to exist. There's a setting in /etc/exim/exim.conf that tells it what user to execute the process as. If I put a long sleep in the script I can see user mail or even robert executing the script. I've put some touch commands and debug commands as well in the script and they

Re: exim and pipe aliases?

2003-01-16 Thread Shyamal Prasad
Robert == Robert L Harris [EMAIL PROTECTED] writes: Robert This hit the nail on the head. Only one problem now. If Robert I save an email to a file and do a: Robert cat file |/usr/local/bin/pager as user nomad it works Robert great. Robert If I set this to use user

exim and pipe aliases?

2003-01-15 Thread Robert L. Harris
I'm trying to create and alias as such: robert-pager: | /usr/local/bin/Pager.pl 6787586413 I execute newalias and send an email to robert-pager and I get this in my /var/log/exim/mainlog: 2003-01-15 17:01:09 18Yvav-0001i8-00 Neither the system_aliases director nor the address_pipe

Re: exim and pipe aliases?

2003-01-15 Thread Shyamal Prasad
Robert == Robert L Harris [EMAIL PROTECTED] writes: Robert I'm trying to create and alias as such: Robert robert-pager: | /usr/local/bin/Pager.pl 6787586413 Robert I execute newalias and send an email to robert-pager and Robert I get this in my /var/log/exim/mainlog:

Re: exim and pipe aliases?

2003-01-15 Thread Robert L. Harris
This hit the nail on the head. Only one problem now. If I save an email to a file and do a: cat file |/usr/local/bin/pager as user nomad it works great. If I set this to use user nomad and try to run it my logs show: -