How can I execute .jar file via procmail?
My recipe:
:0
* ^Subject.*test
* B ?? test
| /usr/local/bin/java /home/username/.procmail/printer.jar
In present form it doesn't work but if I change executing jar file to forward mail like that:
! mail@mail.com
It works perfectly.
What to do?
EDIT I just looked into log file and here it is:
Error: Could not find or load main class .home.Main..procmail.printer.jar