Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
postfix:optimized-configuration [2011/10/07 10:56] greebo |
postfix:optimized-configuration [2013/09/12 15:40] (current) zagi |
||
---|---|---|---|
Line 1: | Line 1: | ||
**main.cf** | **main.cf** | ||
< | < | ||
- | # # | + | # |
smtpd_banner = $myhostname ESMTP (NO UCE)(NO UBE) http:// | smtpd_banner = $myhostname ESMTP (NO UCE)(NO UBE) http:// | ||
biff = no | biff = no | ||
Line 9: | Line 9: | ||
# Uncomment the next line to generate " | # Uncomment the next line to generate " | ||
- | # # | + | # |
readme_directory = no | readme_directory = no | ||
Line 46: | Line 46: | ||
< | < | ||
# TLS parameters | # TLS parameters | ||
- | tls_random_source | + | smtp_tls_security_level=may |
- | smtpd_tls_cert_file=/ | + | #obsoletes smtp_use_tls smtp_enforce_tls |
- | smtpd_tls_key_file=/ | + | smtp_tls_note_starttls_offer=yes |
+ | |||
+ | smtp_tls_CApath | ||
+ | |||
+ | smtpd_tls_security_level=may | ||
+ | # | ||
+ | |||
+ | smtp_tls_cert_file=/ | ||
+ | smtp_tls_key_file=/ | ||
+ | |||
+ | smtpd_tls_cert_file=/ | ||
+ | smtpd_tls_key_file=/ | ||
+ | |||
+ | # debuging tls | ||
+ | smtp_tls_loglevel = 0 | ||
+ | smtpd_tls_loglevel = 0 | ||
+ | |||
+ | smtpd_tls_auth_only=yes | ||
+ | smtpd_tls_received_header=yes | ||
smtpd_tls_session_cache_database = btree: | smtpd_tls_session_cache_database = btree: | ||
smtp_tls_session_cache_database = btree: | smtp_tls_session_cache_database = btree: | ||
- | ### | + | tls_random_source |
- | smtp_tls_security_level = may | + | |
- | smtpd_tls_security_level = may | + | |
+ | ### | ||
### | ### | ||
### | ### | ||
- | |||
- | # debuging tls | ||
- | # smtpd_tls_loglevel = 3 | ||
- | |||
- | # | ||
smtp_tls_note_starttls_offer = yes | smtp_tls_note_starttls_offer = yes | ||
Line 74: | Line 87: | ||
smtpd_sasl_exceptions_networks = $mynetworks | smtpd_sasl_exceptions_networks = $mynetworks | ||
- | smtpd_tls_auth_only = yes | ||
- | smtpd_tls_received_header = yes | ||
| |