[GRLUG] Alias problem

L. V. Lammert lvl at omnitec.net
Thu Jul 30 11:53:19 EDT 2009


Been lurking here for a few months, .. based in St. Louis and worked with 
Ed Howland; Howdy <g>!

Got a weird alias problem, thought some of you folks might have a suggestion:

1) Using an alias to call a Perl script:

	aa:	|/home/lvl/process_aa

2) Testing the Perl script on the command line works just fine:

	sh -c "cat test | /home/lvl/process_aa"

3) Calling process_aa from the mail alias, however DNW, though the mail log 
shows it delivered:

Jul 30 10:39:21 mail2 postfix/local[21753]: 0AAC7280BA7: 
to=<aa at mail2.omnitec.ne t>, relay=local, delay=0.34, 
delays=0.02/0.01/0/0.31, dsn=2.0.0, status=sent (delivered to command: 
/home/lvl/process_aa)

What could be the difference between 'delivered' and the sh -c??? Is not 
'delivered' normal piping via STDIN?

	Thanks!

	Lee



More information about the grlug mailing list