opensmtpd
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
opensmtpd [2021/10/06 07:26] – admin | opensmtpd [2023/12/13 19:12] – admin | ||
---|---|---|---|
Line 8: | Line 8: | ||
< | < | ||
- | # This is the smtpd server system-wide configuration file. | + | pki "mail.domain.tld" |
- | # See smtpd.conf(5) for more information. | + | pki "mail.domain.tld" key "/ |
+ | srs key " | ||
- | # Zertifikate: | + | # internal aliases to root |
- | pki mail.example.com cert "/etc/ | + | table aliases file:/etc/mail/aliases |
- | pki mail.example.com key "/ | + | |
- | filter check_dyndns phase connect match rdns regex { '.*\.dyn\..*', ' | + | # External Mails in Database vmail |
- | ' } \ | + | table domains mysql:/ |
- | disconnect "550 no residential connections" | + | table virtuals mysql:/ |
+ | table credentials mysql:/ | ||
filter check_rdns phase connect match !rdns \ | filter check_rdns phase connect match !rdns \ | ||
- | disconnect "550 no rDNS is so 80s" | + | disconnect "550 no rDNS" |
- | + | ||
- | filter check_fcrdns phase connect match !fcrdns \ | + | |
- | disconnect "550 no FCrDNS is so 80s" | + | |
filter senderscore \ | filter senderscore \ | ||
- | proc-exec " | + | proc-exec " |
filter rspamd proc-exec " | filter rspamd proc-exec " | ||
- | table aliases file:/ | + | listen on eth0 tls pki mail.domain.tld filter { senderscore, |
- | + | listen on eth0 port 465 smtps pki mail.domain.tld auth < | |
- | listen on all tls pki mail.example.com \ | + | listen on eth0 port 587 tls-require pki mail.domain.tld auth < |
- | | + | |
- | + | ||
- | listen on all port submission tls-require | + | |
- | + | ||
- | action " | + | |
- | action " | + | |
- | match from any for domain | + | action |
- | match for local action "local" | + | action " |
+ | action "outbound" | ||
+ | action "RECV" lmtp "/ | ||
- | match from any auth for any action "outbound" | + | # match from any for domain < |
- | match for any action "outbound" | + | match from any for domain < |
+ | match from local for local action "local_mail" | ||
+ | match from local for any action " | ||
+ | match auth from any for any action " | ||
</ | </ | ||
opensmtpd.txt · Last modified: 2023/12/13 19:17 by admin