Guest User

Untitled

a guest
Jul 2nd, 2018
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.50 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 = /usr/share/doc/postfix
  19.  
  20. # TLS parameters
  21. smtpd_tls_cert_file = /etc/postfix/smtpd.cert
  22. smtpd_tls_key_file = /etc/postfix/smtpd.key
  23. smtpd_use_tls = yes
  24. smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
  25. smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
  26.  
  27. # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
  28. # information on enabling SSL in the smtp client.
  29.  
  30. myhostname = mail.teksystemweb.com.br
  31. alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
  32. alias_database = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
  33. myorigin = /etc/mailname
  34. #mydestination = localhost, localhost.localdomain
  35. #mydestination = $myhostname, localhost, localhost.$mydomain $mydomain
  36. #mynetworks = 192.168.0.0/24, 189.113.4.0/29 127.0.0.0/8 [::1]/128
  37. mynetworks = 189.113.4.102, 127.0.0.0/8, mail.teksystemwbe.com.br, 192.168.0.0/24
  38. mailbox_size_limit = 0
  39. recipient_delimiter = +
  40. inet_interfaces = all
  41. html_directory = /usr/share/doc/postfix/html
  42. virtual_alias_domains =
  43. virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, proxy:mysql:/etc/postfix/mysql-virtual_email2email.cf, hash:/var/lib/mailman/data/virtual-mailman
  44. virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
  45. virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
  46. virtual_mailbox_base = /var/vmail
  47. virtual_uid_maps = static:5000
  48. virtual_gid_maps = static:5000
  49. smtpd_sasl_auth_enable = yes
  50. broken_sasl_auth_clients = yes
  51. #smtp_helo_name = mail.teksystemweb.com.br
  52. smtpd_sasl_authenticated_header = yes
  53. smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_unauth_destination
  54. smtpd_tls_security_level = may
  55.  
  56. transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
  57. relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
  58. relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf
  59. 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
  60. smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf
  61. smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
  62. smtpd_client_message_rate_limit = 100
  63. maildrop_destination_concurrency_limit = 1
  64. maildrop_destination_recipient_limit = 1
  65. virtual_transport = maildrop
  66. header_checks = regexp:/etc/postfix/header_checks
  67. mime_header_checks = regexp:/etc/postfix/mime_header_checks
  68. nested_header_checks = regexp:/etc/postfix/nested_header_checks
  69. body_checks = regexp:/etc/postfix/body_checks
  70. owner_request_special = no
  71. content_filter = amavis:[127.0.0.1]:10024
  72. receive_override_options = no_address_mappings
  73. message_size_limit = 0
Add Comment
Please, Sign In to add comment