Re: Unable to execute a java program from postfix

2012-10-18 Thread Stan Hoeppner
On 10/17/2012 3:53 AM, /dev/rob0 wrote: > On Tue, Oct 16, 2012 at 09:33:38PM -0500, Stan Hoeppner wrote: >> On 10/16/2012 9:17 PM, Neil Aggarwal wrote: >>> Here is my alias in /etc/aliases: >>> # Forward mdcm messages to mail handler >>> mdcm: |"/root/webapps/cbsweb/WEB-INF/bin/mdcm/mailHandler"

Re: Unable to execute a java program from postfix

2012-10-17 Thread /dev/rob0
On Tue, Oct 16, 2012 at 09:33:38PM -0500, Stan Hoeppner wrote: > On 10/16/2012 9:17 PM, Neil Aggarwal wrote: > > > I am trying to execute a java program from postfix using > > a pipe alias. > > > > When I send an email to the alias, I get this back from postfix: > > > > Command died with status

Re: Unable to execute a java program from postfix

2012-10-16 Thread David Pierce
Process of addition, then elimination: something in your shell environment is needed. Start adding vars into your script that are present in your shell. Or just define java classpath out-right - sounds like the likely culprit. On Tue, Oct 16, 2012 at 7:33 PM, Stan Hoeppner wrote: > On 10/16/201

Re: Unable to execute a java program from postfix

2012-10-16 Thread Stan Hoeppner
On 10/16/2012 9:17 PM, Neil Aggarwal wrote: > I am trying to execute a java program from postfix using > a pipe alias. > > When I send an email to the alias, I get this back from postfix: > > Command died with status 1: > "/root/webapps/cbsweb/WEB-INF/bin/mdcm/mailHandler". Command output: >

RE: Unable to execute a java program from postfix

2012-10-16 Thread Neil Aggarwal
-- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Neil Aggarwal Sent: Tuesday, October 16, 2012 9:17 PM To: postfix-us...@cloud9.net Subject: Unable to execute a java program from postfix Hello: I am trying to execute a java program from postfix using a pi