This is an old version of the document!
benno-smtp is an SMTP connector for Benno MailArchiv. The software implements an SMTP server that atomically writes all incoming emails to the INBOX directory of Benno MailArchiv.
The emails to be archived are then sent via SMTP to the SMTP server on port 2500.
After the package is installed, the SMTP server is started and binds to port 2500.
The configuration can be adjusted in the file /etc/benno-smtp/benno-smtp.conf .
# Server port port = 2500 # save eml files in import directory import_directory = /srv/benno/inbox # write envelope information as X-REAL-* header envelope_header = true # enables SMTP AUTH if "auth_user" and "auth_pass" is set #auth_user = AUTHUSER #auth_pass = YOURSECRET #tls_enabled = true #tls_required = true #key_file = /etc/benno-smtp/bennokeystore.jks #keystore_pass = KeystorePassword #key_pass = BennoMailArchivPass #keystore_type = JKS
Die Zertifikate für STARTTLS werden aus einem Java Keystore gelesen.
The parameters specified in the configuration file can alternatively be passed as command-line parameters at startup. In this case, the command-line parameters override the settings in the configuration file.
-h print help -c Configuration properties file -d Import directory (default: /srv/benno/inbox) -p Listen port (default: 2500) -x Suppress X-REAL-MAILFROM, X-REAL-RCPTTO envelope headers (overridden by -e) -e Add envelope headers: X-REAL-MAILFROM,