Advertisement
robregonm

Postfix main.cf

Jun 19th, 2013
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. # Debian specific: Specifying a file name will cause the first
  2. # line of that file to be used as the name. The Debian default
  3. # is /etc/mailname.
  4. #myorigin = /etc/mailname
  5.  
  6. smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
  7. biff = no
  8.  
  9. # appending .domain is the MUA's job.
  10. append_dot_mydomain = no
  11.  
  12. # Uncomment the next line to generate "delayed mail" warnings
  13. #delay_warning_time = 4h
  14.  
  15. readme_directory = no
  16.  
  17. # TLS parameters
  18. smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
  19. smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
  20. smtpd_use_tls=yes
  21. smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
  22. smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
  23.  
  24. # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
  25. # information on enabling SSL in the smtp client.
  26.  
  27. smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
  28. myhostname = localhost
  29. alias_maps = hash:/etc/aliases
  30. alias_database = hash:/etc/aliases
  31. mydestination = localhost, localhost.localdomain, localhost
  32. relayhost =
  33. mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
  34. mailbox_size_limit = 0
  35. recipient_delimiter = +
  36. inet_interfaces = loopback-only
  37. #default_transport = error
  38. #relay_transport = error
  39.  
  40.  
  41. debug_peer_level = 1
  42. debug_peer_list =
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement