Simple SMTP Server for transferring data to other SMTP server. Used for transferring SMTP data from old/limited mail senders (for example Ricoh SP 311SFN printer) to new servers.
port: 10025
backgroundSenders: 2
smtp:
host: smtp.other.server.com
port: 587
mode: TLS
username: ryszard.trojnacki
password: mySecretPassword
overrideFrom: scan@mydomain.com
overrideFromName: Scanner
seafile:
server: seafile.server.com
username: ryszard.trojnacki
password: seafile-secret-password
port
- local listening port; optional, default 25backgroundSenders
- count of background workers; optional, default 0 - works in foregroundsmtp.host
- target SMTP server; requiredsmtp.port
- target SMTP server port; optional, default 25, 465 (if SSL), 587 (if TLS)smtp.mode
- transmission encoding one of: NORMAL, SSL, TLS; optional, default NORMALsmtp.username
- target SMTP account username; requiredsmtp.password
- target SMTP account password; requiredsmtp.overrideFrom
- from e-mail address to set for outgoing messages; optional, default from address from received messagesmtp.overrideFromName
- from name e-mail address to set for outgoing messages; optional, default from name from received message
To build application just get a copy from GIT. Install Java JDK 11 and run
./gradlew distTar
in build/distrubutions
directory there will be generated archive with application.
Copy this archive to installation directory, unpack it and start with smtp-transport
script.
cd path_to_app && ./smtp-transport &