Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Some pipes in alias file don't work, why?

Status
Not open for further replies.

JaybOt

Programmer
Apr 18, 2001
101
GB
Hi all,

I have a small problem thats driving me mad! I have setup some pipes through my alias file that run various scripts when a mail arrives for certain users.

They all work fine from the command line (Unix) but SOME fail to run, or rather, have no output! The maillog claims the mail is sent. The line to execute is the same for all :

Alias: |"/usr/scripts/scriptname"

All are shell scripts (some run perl scripts that won't run either) and some run scripts (same location) with parameters or are executed by cron jobs. File atributes are -rwxr-xr-x for all scripts. The file and directory ownership is o.k. because other pipes work.

The pipe in question runs a unix script (just like others that work) but does not appear to produce any output.

Any help would be appreciated!

Regards,
JayBot[afro]

"Always know what you say, but don't always say what you know!"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top