Home

Awesome

Docker image for Haraka Mail Server (WIP)

Warning This image is under development and not ready for production use.

Haraka is a fast, lightweight, and easy to configure SMTP server. It is written in Node.js and is designed to be easy to configure and extend.

The Haraka Node.js Mail Server can be found here: https://github.com/haraka/Haraka

The Goal of this project is to provide a simple way to deploy Haraka with Docker.

Usage

Pull Image

docker run --env-file .env -p 8025:8025 --name haraka ghcr.io/kubero-dev/haraka:latest

Docker Compose

The easiest way to get started is to use the provided docker-compose.yml file. Make sure you have created tht tls secrets as described in the config/README.md file.

docker-compose up -d

Usage

From helm repository

helm repo add haraka https://haraka.kubero.dev 
helm install haraka haraka/haraka
helm upgrade haraka haraka/haraka

From source

git clone 
cd haraka-docker
helm install haraka charts/haraka
helm upgrade haraka charts/haraka

Configuration

FileENVDefaultRequired
host_listHARAKA_HOSTLISTlocalhostx
log.iniHARAKA_LOG_LEVELdata,protocol,debug,info,notice,warn,error,crit,alert,emerg
log.iniHARAKA_LOG_TIMESTAMPSfalse
log.iniHARAKA_LOG_FORMATdefault,logfmt,json
meHARAKA_MEmynameisnobodyx
outbound.iniHARAKA_SMTP_OUTBOUNDfalse
outbound.iniHARAKA_SMTP_OUTBOUND_CONCURRENCY_MAX100
outbound.iniHARAKA_SMTP_OUTBOUND_TLSfalse
outbound.iniHARAKA_SMTP_OUTBOUND_MAX_TEMP_FAILURES13
outbound.iniHARAKA_SMTP_OUTBOUND_IPV6
outbound.iniHARAKA_SMTP_OUTBOUND_LOAD_PID_QUEUE
outbound.iniHARAKA_SMTP_OUTBOUND_FLUSH_QUEUE
outbound.iniHARAKA_SMTP_OUTBOUND_RECEIVED_HEADERfalse
outbound.iniHARAKA_SMTP_OUTBOUND_RECEIVED_HEADERHaraka outbound
smtp.iniHARAKA_SMTP_LISTEN[::0]:8025
smtp.iniHARAKA_SMTP_PUBLIC_IP
smtp.iniHARAKA_SMTP_INACTIVITY_TIMEOUT
smtp.iniHARAKA_SMTP_USER
smtp.iniHARAKA_SMTP_GROUP
smtp.iniHARAKA_SMTP_IGNORE_BAD_PLUGINS
smtp.iniHARAKA_SMTP_FORCE_SHUTDOWN_TIMEOUT30
smtp.iniHARAKA_SMTP_STRICT_RFC1869false
smtp.iniHARAKA_SMTP_SMTPUTF8false
smtp.iniHARAKA_SMTP_ADD_RECEIVEDfalse
smtp.iniHARAKA_SMTP_CLEAN_AUTH_RESULTSfalse
smtp.iniHARAKA_SMTP_SHOW_VERSIONfalse
smtp.iniHARAKA_SMTP_MAX_HEADER_LINES1000
smtp.iniHARAKA_SMTP_MAX_RECEIVED_COUNT100
smtp_forward.iniHARAKA_SMTP_FORWARD_HOSTlocalhost
smtp_forward.iniHARAKA_SMTP_FORWARD_PORT2555
smtp_forward.iniHARAKA_SMTP_FORWARD_ENABLE_TLSfalse
smtp_forward.iniHARAKA_SMTP_FORWARD_ONE_MESSAGE_PER_RCPTfalse
smtp_forward.iniHARAKA_SMTP_AUTH_TYPEplain
smtp_forward.iniHARAKA_SMTP_AUTH_USER
smtp_forward.iniHARAKA_SMTP_AUTH_PASS
smtp_forward.iniHARAKA_SMTP_ENABLE_OUTBOUNDfalse