Skip to content

Releases: bigjosh/subethasmtp

Subetha version j3.1.8

06 Feb 00:38
Compare
Choose a tag to compare

A ready to run release with all current updates. See the project's Getting Start page for info on running.

Hardcoded JAR for testing

25 Jan 17:17
Compare
Choose a tag to compare
Pre-release

This JAR can be used for testing.

Demo Enginelet

It has a statically included enginelet that only accepts mail that ...

  1. contains "will" or "josh" in the from address
  2. is addressed to an address in the "engine821.com" domain

All other email is rejected.

How to run

  1. Copy this JAR to a machine that has a 1.7+ JRE available and has port 25 available.
  2. Execute java -jar e821.jar. (You might need to do sudo 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...

  1. 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 other slf4j connectors in the classpath.
  2. Put a log properties file like this one in the directory.
  3. 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