Advertisement
Gwolfski

Untitled

Dec 19th, 2023
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.65 KB | None | 0 0
  1. # See /usr/share/postfix/main.cf.dist for a commented, more complete version
  2.  
  3.  
  4. # Debian specific: Specifying a file name will cause the first
  5. # line of that file to be used as the name. The Debian default
  6. # is /etc/mailname.
  7. #myorigin = /etc/mailname
  8.  
  9. smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
  10. biff = no
  11.  
  12. # appending .domain is the MUA's job.
  13. append_dot_mydomain = no
  14.  
  15. # Uncomment the next line to generate "delayed mail" warnings
  16. #delay_warning_time = 4h
  17.  
  18. readme_directory = no
  19.  
  20. # See http://www.postfix.org/COMPATIBILITY_README.html -- default to 2 on
  21. # fresh installs.
  22. compatibility_level = 2
  23.  
  24.  
  25.  
  26. # TLS parameters
  27. smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
  28. smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
  29. smtpd_tls_security_level=may
  30.  
  31. smtp_tls_CApath=/etc/ssl/certs
  32. smtp_tls_security_level=may
  33. smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
  34.  
  35. smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
  36. myhostname = cinnamon-industries.su
  37. alias_maps = hash:/etc/aliases
  38. alias_database = hash:/etc/aliases
  39. myorigin = /etc/mailname
  40. mydestination = localhost.[MYDOMAIN], localhost, [MYDOMAIN]
  41. relayhost =
  42. mynetworks = 127.0.0.0/8
  43. mailbox_size_limit = 1073741824 # 1 GB
  44. recipient_delimiter = +
  45. inet_interfaces = all
  46. default_transport = smtp
  47. relay_transport = smtp
  48. inet_protocols = ipv4
  49. luser_relay = sysco@localhost
  50. local_recipient_maps =
  51. home_mailbox = Maildir/
  52. disable_mime_output_conversion = yes
  53. strict_8bitmime = yes
  54. strict_7bit_headers = no
  55. strict_8bitmime_body = yes
  56.  
  57. virtual_alias_maps = hash:/etc/postfix/virtual
  58. mailbox_command =
  59.  
  60.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement