This is the docker project to setup apache james server (Java Mail Server).
docker run --name james-server -p 25:25 fengzhou/james-server
# suppose configuration file is located in 'etc' sub folder.
docker run --name james-server -p 25:25 -v $(pwd)/etc:/etc/james-server fengzhou/james-server
The james server configuration can refer to http://james.apache.org/server/3/config.html