linux:debian:postfix
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:debian:postfix [2024/06/21 17:19] – [Test] gsys | linux:debian:postfix [2024/06/21 18:28] (current) – [Smarthost] gsys | ||
---|---|---|---|
Line 19: | Line 19: | ||
</ | </ | ||
+ | ===== Konfiguration ===== | ||
+ | |||
+ | ==== Sender Mapping ==== | ||
+ | ''/ | ||
+ | < | ||
+ | sender_canonical_maps = hash:/ | ||
+ | </ | ||
+ | |||
+ | ''/ | ||
+ | < | ||
+ | root root@host.example.org | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | chmod 600 / | ||
+ | postmap / | ||
+ | </ | ||
+ | |||
+ | ==== Smarthost ==== | ||
+ | |||
+ | If not already installed: | ||
+ | < | ||
+ | apt install libsasl2-modules | ||
+ | </ | ||
+ | |||
+ | ''/ | ||
+ | < | ||
+ | relayhost = [smtp.example.com]: | ||
+ | smtp_sasl_auth_enable = yes | ||
+ | smtp_sasl_password_maps = hash:/ | ||
+ | smtp_sasl_security_options = noanonymous | ||
+ | smtp_use_tls=yes | ||
+ | smtp_tls_security_level = encrypt | ||
+ | </ | ||
+ | |||
+ | ''/ | ||
+ | < | ||
+ | [smtp.example.com]: | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | chmod 600 / | ||
+ | postmap / | ||
+ | </ | ||
===== Test ===== | ===== Test ===== | ||
Line 31: | Line 75: | ||
< | < | ||
- | openssl s_client -connect | + | openssl s_client -connect |
</ | </ |
linux/debian/postfix.1718983160.txt.gz · Last modified: by gsys