postfix配置main.cfLinux认证考试
文章作者 100test 发表时间 2010:04:12 19:16:19
来源 100Test.Com百考试题网
    
	
  Main.cf
  See /usr/share/postfix/main.cf.dist for a commented, more complete version
  Debian specific: Specifying a file name will cause the first
  line of that file to be used as the name. The Debian default
  is /etc/mailname.
  用于限定系统所接受的最大的单封邮件长度。限制postfix队列文件的大小。缺省值为#10240000 bytes。
  message_size_limit = 1572864000
  限制信头长度。缺省值为102400bytes
  header_size_limit =
  这是用于设定当SMTP连接来时,要显示的版本资讯
  smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
  biff是一个能在收到新邮件时,发出通知给本地用户的小程序。如果你的用户不会登录邮#件系统,建议你关掉biff通知,因为这有助于提升邮件系统得效率。
  biff = no
  appending .domain is the MUA s job.
  append_dot_mydomain = no
  Uncomment the next line to generate "delayed mail" warnings
  delay_warning_time = 4h
  TLS parameters
  smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem # TLS需要的ssl证书位置
  smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key # TLS需要的ssl私钥位置
  smtpd_use_tls=yes