Hi Scott,
thanks for trying out JES.
jes.sh is used so that JES is run as a system daemon. You should try mail.sh instead. There is one catch in a *nix OS with port access. Anything below 1025 is considered privileged and only privileged users (e.g. the root) can access it. As a security precaution (when running JES using the jes.sh script, as outlined in the installation section of the documentation) the user is switched to a non-privileged user (the jesserver) when JES fires up. This is the only instance that jes uses native code (there is no java way of changing the uid as far as I know).
I also have no way of verifying what works and what not on a mac, that's why there is no official support for it. I did at one time spot a few cases where I assumed that something would not run (right) on a mac, that is why I removed the implied mac support in sourceforge during the last update.
Best regards,
Andreas
Date: Fri, 10 May 2013 22:32:50 -0500
To: jav...@li...
From: jav...@li...
Subject: [Javaemailserver-user] Trying to install on Mac OS X/ Java 1.7 as non root.
Hi,
I am trying to hackup the jes.sh script to get it running as a non root user on mac os 10. I understand it calls the wrapper which is a binary program, why is this necessary if JES is written in Java?
Does JES attempt to use some native code for email, if so why?
Why not use something like the following to start it up?java -jar jes.jar
Why require the root user (alternate ports can be configured right)?
Cheers,Scott
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Javaemailserver-user mailing list
Jav...@li...
https://lists.sourceforge.net/lists/listinfo/javaemailserver-user |