home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / ubuntu-docs / ubuntu / sample / postfix_configuration < prev    next >
Encoding:
Text File  |  2009-04-28  |  1.2 KB  |  41 lines

  1. # See /usr/share/postfix/main.cf.dist for a commented, more complete
  2. # version
  3.  
  4. smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
  5. biff = no
  6.  
  7. # appending .domain is the MUA's job.
  8. append_dot_mydomain = no
  9.  
  10. # Uncomment the next line to generate "delayed mail" warnings
  11. #delay_warning_time = 4h
  12.  
  13. myhostname = server1.example.com
  14. alias_maps = hash:/etc/aliases
  15. alias_database = hash:/etc/aliases
  16. myorigin = /etc/mailname
  17. mydestination = server1.example.com, localhost.example.com, localhost
  18. relayhost =
  19. mynetworks = 127.0.0.0/8
  20. mailbox_command = procmail -a "$EXTENSION"
  21. mailbox_size_limit = 0
  22. recipient_delimiter = +
  23. inet_interfaces = all
  24. smtpd_sasl_local_domain =
  25. smtpd_sasl_auth_enable = yes
  26. smtpd_sasl_security_options = noanonymous
  27. broken_sasl_auth_clients = yes
  28. smtpd_recipient_restrictions =
  29. permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination
  30. smtpd_tls_auth_only = no
  31. smtp_use_tls = yes
  32. smtpd_use_tls = yes
  33. smtp_tls_note_starttls_offer = yes
  34. smtpd_tls_key_file = /etc/ssl/private/smtpd.key
  35. smtpd_tls_cert_file = /etc/ssl/certs/smtpd.crt
  36. smtpd_tls_CAfile = /etc/ssl/certs/cacert.pem
  37. smtpd_tls_loglevel = 1
  38. smtpd_tls_received_header = yes
  39. smtpd_tls_session_cache_timeout = 3600s
  40. tls_random_source = dev:/dev/urandom
  41.