Hey,

Thank again for the help on the previous configuration issue.



Ok, so now I'm looking to revise my:

main.cf:

javapipe_destination_recipient_limit = 1
virtual_transport = javapipe

master.cf:
javapipe  unix  -       n       n       -       -       pipe
  user=postfix-user flags=DRhuX argv=java -jar
/home/postfix-user/PostfixMailReceiver.jar -args $recipient


I'd like to pipe the stdout to a log file.
Because postfix is taking only the first X bytes (it seems)


Can I do this?

javapipe  unix  -       n       n       -       -       pipe
  user=postfix-user flags=DRhuX argv=java -jar
/home/postfix-user/PostfixMailReceiver.jar -args $recipient >>
/home/postfix-user/run.log



I can always go and change the java -- or perhaps wrap it in a bash script?
But just wondering if there was a best way.

-tim

Reply via email to