User Tools

Site Tools


opensmtpd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
opensmtpd [2021/02/11 11:39] adminopensmtpd [2021/02/11 11:45] admin
Line 6: Line 6:
  
 Dann die Datei /etc/smtpd.conf anpassen. Meine sieht jetzt so aus: Dann die Datei /etc/smtpd.conf anpassen. Meine sieht jetzt so aus:
 +
 +<code>
 +# This is the smtpd server system-wide configuration file.
 +# See smtpd.conf(5) for more information.
 +
 +# Zertifikate:
 +pki mail.brauconsulting.de cert "/etc/letsencrypt/live/mail.brauconsulting.de/cert.pem"
 +pki mail.brauconsulting.de key "/etc/letsencrypt/live/mail.brauconsulting.de/privkey.pem"
 +
 +filter check_dyndns phase connect match rdns regex { '.*\.dyn\..*', '.*\.dsl\..*
 +' } \
 +    disconnect "550 no residential connections"
 +
 +filter check_rdns phase connect match !rdns \
 +    disconnect "550 no rDNS is so 80s"
 +
 +filter check_fcrdns phase connect match !fcrdns \
 +    disconnect "550 no FCrDNS is so 80s"
 +
 +filter senderscore \
 +    proc-exec "filter-senderscore -blockBelow 10 -junkBelow 70 -slowFactor 5000"
 +
 +filter rspamd proc-exec "filter-rspamd"
 +
 +table aliases file:/etc/mail/aliases
 +
 +listen on all tls pki mail.brauconsulting.de \
 +    filter { check_dyndns, check_rdns, check_fcrdns, senderscore, rspamd }
 +
 +listen on all port submission tls-require pki mail.brauconsulting.de auth filter rspamd
 +
 +action "local" maildir junk alias <aliases>
 +action "outbound" relay helo mail.brauconsulting.de
 +
 +match from any for domain "brauconsulting.de" action "local"
 +match for local action "local"
 +
 +match from any auth for any action "outbound"
 +match for any action "outbound"
 +
 +</code>
  
  
  
opensmtpd.txt · Last modified: 2023/12/13 19:17 by admin

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki