opensmtpd
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
opensmtpd [2021/02/11 11:39] – admin | opensmtpd [2023/12/13 19:17] (current) – admin | ||
---|---|---|---|
Line 3: | Line 3: | ||
Installieren mit: | Installieren mit: | ||
- | < | + | < |
Dann die Datei / | Dann die Datei / | ||
+ | < | ||
+ | pki " | ||
+ | pki " | ||
+ | srs key " | ||
+ | |||
+ | # internal aliases to root | ||
+ | table aliases file:/ | ||
+ | |||
+ | # External Mails in Database vmail | ||
+ | table domains mysql:/ | ||
+ | table virtuals mysql:/ | ||
+ | table credentials mysql:/ | ||
+ | |||
+ | filter check_rdns phase connect match !rdns \ | ||
+ | disconnect "550 no rDNS" | ||
+ | |||
+ | filter senderscore \ | ||
+ | proc-exec " | ||
+ | |||
+ | filter rspamd proc-exec " | ||
+ | |||
+ | listen on eth0 tls pki mail.domain.tld filter { senderscore, | ||
+ | listen on eth0 port 465 smtps pki mail.domain.tld auth < | ||
+ | listen on eth0 port 587 tls-require pki mail.domain.tld auth < | ||
+ | |||
+ | action " | ||
+ | action " | ||
+ | action " | ||
+ | action " | ||
+ | |||
+ | # match from any for domain < | ||
+ | match from any for domain < | ||
+ | match from local for local action " | ||
+ | |||
+ | match from local for any action " | ||
+ | match auth from any for any action " | ||
+ | </ | ||
+ | |||
+ | Die oben erwähnte / | ||
+ | |||
+ | < | ||
+ | host localhost | ||
+ | username | ||
+ | password | ||
+ | database | ||
+ | |||
+ | query_alias SELECT destination FROM virtuals WHERE email=?; | ||
+ | query_credentials SELECT user, password FROM credentials WHERE user=?; | ||
+ | query_domain SELECT domain FROM domains WHERE domain=?; | ||
+ | |||
+ | </ | ||
opensmtpd.1613043540.txt.gz · Last modified: 2021/02/11 11:39 by admin