Mercurial > shinyoukai > mailserver
comparison postfix/main.cf @ 1:007252fb6449 default tip
SHIN'YA M. > ADD README.md
| author | Shin'ya Minazuki <shinyoukai@laidback.moe> |
|---|---|
| date | Mon, 01 Dec 2025 08:38:15 +0900 |
| parents | e3de72cc63b9 |
| children |
comparison
equal
deleted
inserted
replaced
| 0:e3de72cc63b9 | 1:007252fb6449 |
|---|---|
| 1 # See /usr/share/postfix/main.cf.dist for a commented, more complete version | |
| 2 | |
| 3 | |
| 4 # Debian specific: Specifying a file name will cause the first | |
| 5 # line of that file to be used as the name. The Debian default | |
| 6 # is /etc/mailname. | |
| 7 #myorigin = /etc/mailname | |
| 8 | |
| 9 setgid_group = maildrop | 1 setgid_group = maildrop |
| 10 smtpd_banner = $myhostname ESMTP $mail_name (NetBSD) | 2 smtpd_banner = $myhostname ESMTP $mail_name (NetBSD) |
| 11 biff = no | 3 biff = no |
| 12 | 4 |
| 13 # appending .domain is the MUA's job. | 5 # appending .domain is the MUA's job. |
| 20 | 12 |
| 21 # See http://www.postfix.org/COMPATIBILITY_README.html -- default to 3.6 on | 13 # See http://www.postfix.org/COMPATIBILITY_README.html -- default to 3.6 on |
| 22 # fresh installs. | 14 # fresh installs. |
| 23 compatibility_level = 3.6 | 15 compatibility_level = 3.6 |
| 24 | 16 |
| 25 | |
| 26 | |
| 27 # TLS parameters | 17 # TLS parameters |
| 28 smtpd_tls_cert_file=/etc/letsencrypt/live/example.net/fullchain.pem | 18 smtpd_tls_cert_file=/etc/letsencrypt/live/example.net/fullchain.pem |
| 29 smtpd_tls_key_file=/etc/letsencrypt/live/example.net/privkey.pem | 19 smtpd_tls_key_file=/etc/letsencrypt/live/example.net/privkey.pem |
| 30 smtpd_tls_security_level=may | 20 smtpd_tls_security_level=may |
| 31 | 21 |
| 32 smtp_tls_CApath=/etc/openssl/certs | 22 smtp_tls_CApath=/etc/openssl/certs |
| 33 smtp_tls_security_level=may | 23 smtp_tls_security_level=may |
| 34 smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache | 24 smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache |
| 35 | |
| 36 | 25 |
| 37 smtpd_sasl_auth_enable = yes | 26 smtpd_sasl_auth_enable = yes |
| 38 | 27 |
| 39 smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, defer_unauth_destination | 28 smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, defer_unauth_destination |
| 40 smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, defer_unauth_destination | 29 smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, defer_unauth_destination |
