软件:email

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
软件:email [2025/12/03 15:03] admin软件:email [2025/12/03 15:04] (当前版本) admin
行 17: 行 17:
 sudo apt-get install postfix sudo apt-get install postfix
 sudo dpkg-reconfigure postfix sudo dpkg-reconfigure postfix
- +General type of mail configuration: Internet Site 
-我的主机名 = mail.example.com +NONE doesn't appear to be requested in current config 
-我的域名 = example.com +System mail name: example.com 
-我的原产地 = $mydomain +Root and postmaster mail recipient: <admin_user_name> 
-inet_interfaces = 全部 +Other destinations for mail: server1.example.com, example.com, localhost.example.com, localhost 
-mydestination = $myhostname、localhost.$mydomain、localhost、$mydomain +Force synchronous updates on mail queue?No 
-mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 +Local networks: 127.0.0.0/8 
-home_mailbox = Maildir/ +Yes doesn't appear to be requested in current config 
-为确保配置安全,应激活 SMTP 身份验证。为此,请在您的 main.cf 中: +Mailbox size limit (bytes): 0 
- +Local address extension character+ 
-smtpd_sasl_type = dovecot +Internet protocols to useall
-smtpd_sasl_path = private/auth +
-smtpd_sasl_auth_enable = yes +
-smtpd_sasl_security_options = noanonymous +
-smtpd_sasl_local_domain = $myhostname +
-smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination +
-激活 TLS 加密 +
-为确保连接安全,应为 Postfix 激活 TLS 加密。在您的 main.cf 中: +
- +
-smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem +
-smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key +
-smtpd_use_tls = yes +
-smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache +
-smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache+
 </code> </code>
  
  
  • 软件/email.1764745437.txt.gz
  • 最后更改: 2025/12/03 15:03
  • admin