Advertisement
Guest User

Untitled

a guest
May 23rd, 2017
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.01 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. # TLS parameters
  21. smtpd_sasl_auth_enable = yes
  22. broken_sasl_auth_clients = yes
  23. smtpd_sasl_authenticated_header = yes
  24. smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
  25. smtpd_use_tls = yes
  26. smtpd_tls_cert_file = /etc/ssl/certs/mailcert.pem
  27. smtpd_tls_key_file = $smtpd_tls_cert_file
  28.  
  29. # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
  30. # information on enabling SSL in the smtp client.
  31.  
  32. myhostname = weinberger-jewelry.com
  33. alias_maps = hash:/etc/aliases
  34. alias_database = hash:/etc/aliases
  35. myorigin = /etc/mailname
  36. mydestination = weinberger-jewelry.com, mail.weinberger-jewelry.com
  37. #relayhost = mail.weinberger-jewelry.com
  38. mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
  39. mailbox_size_limit = 0
  40. recipient_delimiter = +
  41. inet_interfaces = all
  42.  
  43. virtual_alias_domains =
  44. virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-forwards.cf, mysql:/etc/postfix/mysql-email.cf
  45. virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-domains.cf
  46. virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-mailboxes.cf
  47. virtual_mailbox_base = /home/vmail
  48. virtual_uid_maps = static:5000
  49. virtual_gid_maps = static:5000
  50.  
  51. proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
  52. inet_protocols = all
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement