daily pastebin goal
2%
SHARE
TWEET

Untitled

a guest Jun 8th, 2017 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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 = thibeau.aventica.dev
  31. alias_maps = hash:/etc/aliases
  32. alias_database = hash:/etc/aliases
  33. myorigin = aventica.dev
  34. mydestination = thibeau.aventica.dev, localhost, localhost.localdomain
  35. relayhost =
  36. mynetworks = 127.0.0.0/8
  37. mailbox_size_limit = 0
  38. recipient_delimiter = +
  39. inet_interfaces = all
  40.  
  41.  
  42.  
  43.  
  44.  
  45. virtual_alias_domains =
  46. virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
  47. virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
  48. virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
  49. virtual_mailbox_base = /home/vmail
  50. virtual_uid_maps = static:4000
  51. virtual_gid_maps = static:4000
  52. smtpd_sasl_auth_enable = yes
  53. broken_sasl_auth_clients = yes
  54. smtpd_sasl_authenticated_header = yes
  55. smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated,reject_unauth_destination
  56. transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
  57. virtual_create_maildirsize = yes
  58. virtual_maildir_extended = yes
  59. virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
  60. virtual_mailbox_limit_override = yes
  61. virtual_maildir_limit_message = "The user you are trying to reach is over quota."
  62. virtual_overquota_bounce = yes
  63. 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
  64. content_filter = amavis:[127.0.0.1]:10024
  65. receive_override_options = no_address_mappings
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top