Guest User

Untitled

a guest
Aug 21st, 2011
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.83 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 (Debian/GNU)
  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/ssl/certs/postfix.pem
  22. smtpd_tls_key_file = /etc/ssl/private/postfix.pem
  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 = diapazon
  31. alias_maps = hash:/etc/aliases
  32. alias_database = hash:/etc/aliases
  33. myorigin = /etc/mailname
  34. mydestination = localhost.localdomain, localhost
  35. relayhost =
  36. mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
  37. mailbox_size_limit = 0
  38. recipient_delimiter = +
  39. inet_interfaces = all
  40. html_directory = /usr/share/doc/postfix/html
  41. virtual_mailbox_domains = mysql:/etc/postfix/mysql/virtual-mailbox-domains.cf
  42. virtual_mailbox_maps = mysql:/etc/postfix/mysql/virtual-mailbox-maps.cf
  43. virtual_alias_maps = mysql:/etc/postfix/mysql/virtual-alias-maps.cf
  44. virtual_uid_maps = static:5000
  45. virtual_gid_maps = static:5000
  46. virtual_transport = dovecot
  47. virtual_mailbox_base = /home/vmail
  48. dovecot_destination_recipient_limit = 1
  49. smtpd_sasl_type = dovecot
  50. smtpd_sasl_path = private/auth
  51. smtpd_sasl_auth_enable = yes
  52. smtpd_recipient_restrictions = permit_sasl_authenticated,reject_unauth_destination
Advertisement
Add Comment
Please, Sign In to add comment