[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: QMail command suddenly not working



[ DAMN that bloody gmail thing!  It insists on adding a Reply-To
  header, and people tell me it can't be turned off.  My first reply
  went off list as a result.  Aaaargh! ]

+ Brent Roland <broland@xxxxxxxxx>:

| I have a java program set up [...]
| Everything was working fine with this a few
| weeks ago but when I added a feature to the java program today, I find
| that the program is no longer getting called.

Or it is called, but fails silently.

| Is there any reason why the qmail command would suddenly stop
| working?

Not a qmail reason, I think.

| The command is as follows:
| "| /usr/java/jdk1.5.0_01/bin/java -classpath /contractEmail/ ceLogEmail"
| 
| The only other line in the file is ./Maildir/ which is the very first
| line which is followed by the above line.  Thanks.

Well, does the mail go into the maildir?  What does the log file say?
You might expect something like  "delivery_xxx:_success:_/did_1+0+1/"
in the log file.  (The first 1 is for the maildir, the final one for
the program delivery.)

To make things even more clear, you might alter the command to read

"| echo running java...; /usr/java/jdk1.5.0_01/bin/java -classpath /contractEmail/ ceLogEmail; echo java returned $?"

(all on one line of course) and then look at the resulting log file
entry.

- Harald