User tools

Website tools


benno smtp

Differences

The differences between two versions are shown here.

Link to this comparison view

Both sides of the previous revisionPrevious revision
Next revision
Previous revision
benno-smtp [2017/02/01 13:01] lwsystemsbenno-smtp [2018/09/19 15:22] (current) – [Konfigurationsdatei] lwsystems
Line 6: Line 6:
  
 The emails to be archived are then sent via SMTP to the SMTP server on port 2500. The emails to be archived are then sent via SMTP to the SMTP server on port 2500.
- 
- 
-===== Installation ===== 
- 
- 
-Nach der Installation des Pakets wird der SMTP-Server gestartet und bindet sich an Port 2500. Die Konfiguration kann in der Datei ///etc/benno-smtp/benno-smtp.conf// angepasst werden. 
  
 ===== Konfiguration ===== ===== Konfiguration =====
 +==== Konfigurationsdatei ====
  
-==== benno-smtp.conf ====+After the package is installed, the SMTP server is started and binds to port 2500. 
 + 
 +Die Konfiguration kann in der Datei ''/etc/benno-smtp/benno-smtp.conf'' angepasst werden.
  
 <file> <file>
Zeile 27: Zeile 24:
 envelope_header = true envelope_header = true
  
-# enables SMTP AUTH if auth_user && auth_pass is set+# enables SMTP AUTH if "auth_user" and "auth_passis set
 #auth_user = AUTHUSER #auth_user = AUTHUSER
 #auth_pass = YOURSECRET #auth_pass = YOURSECRET
 +
 +#tls_enabled = true
 +#tls_required = true
 +#key_file = /etc/benno-smtp/bennokeystore.jks
 +#keystore_type = JKS
 +#keystore_pass = KeystorePassword
 +#key_pass = BennoMailArchivPass
 </file> </file>
 +
 +=== Zertifikate ===
 +
 +Die für die Verschlüsselung werden aus einer Keystore-Datei gelesen. Die Default-Konfiguration (//keystore_type = JKS//) ist ein [[Keystore|Java Keystore]]-Container. Alternativ kann auch ein [[https://www.openssl.org/docs/man1.0.2/apps/pkcs12.html|PKCS#12]]-Keystore (//keystore_type = PKCS12//) konfiguriert werden. 
 +==== Startparameter ====
 +
 +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.
 +
 +<code>
 +-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, X-REAL-RCPTTO (default true)
 +</code>
benno-smtp.1485954071.txt.gz · Zuletzt geändert: 2017/02/01 13:01 von lwsystems