Advertisement
Guest User

main.cf

a guest
Jun 6th, 2017
473
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.19 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 = mail.gamescult.eu
  29. alias_maps = hash:/etc/aliases
  30. alias_database = hash:/etc/aliases
  31. myorigin = /etc/mailname
  32. mydestination = mail.gamescult.eu, gamescult.eu, localhost.eu, , localhost
  33. relayhost =
  34. mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
  35. mailbox_command = procmail -a "$EXTENSION"
  36. mailbox_size_limit = 0
  37. smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
  38. smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
  39. smtpd_use_tls=yes
  40. smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
  41. smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
  42.  
  43. # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
  44. # information on enabling SSL in the smtp client.
  45.  
  46. smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
  47. myhostname = mail.gamescult.eu
  48. alias_maps = hash:/etc/aliases
  49. alias_database = hash:/etc/aliases
  50. myorigin = /etc/mailname
  51. mydestination = mail.gamescult.eu, gamescult.eu, localhost.eu, , localhost
  52. relayhost =
  53. mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
  54. mailbox_command = procmail -a "$EXTENSION"
  55. mailbox_size_limit = 0
  56. recipient_delimiter = +
  57. inet_interfaces = all
  58. inet_protocols = all
  59.  
  60. home_mailbox = Maildir/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement