Releases: bigjosh/subethasmtp
Releases · bigjosh/subethasmtp
Subetha version j3.1.8
Hardcoded JAR for testing
This JAR can be used for testing.
Demo Enginelet
It has a statically included enginelet that only accepts mail that ...
- contains "will" or "josh" in the
from
address - is addressed
to
an address in the "engine821.com" domain
All other email is rejected.
How to run
- Copy this JAR to a machine that has a 1.7+ JRE available and has port 25 available.
- Execute
java -jar e821.jar
. (You might need to dosudo java -jar e821.jar
if you don't have permission to open port 25).
Logging
The code uses the slf4j
framework which does not send logs anywhere by default.
You can plug almost any logging system into this framework on the deployment machine.
For example, to use the standard JDK1.4 logger...
- Copy the
slf4j-jdk14-1.7.13.jar
file from this zip into the same directory as the e821 jar. Note that you can only have only of the logging systems enabled at a time, so don't have any of the otherslf4j
connectors in the classpath. - Put a log properties file like this one in the directory.
- Run something like this (you might need a
sudo
again)...
java -Djava.util.logging.config.file=log.prop -cp e821.jar:slf4j-jdk14-1.7.13.jar com.engine821.Startup