Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Nov 28th, 2011  |  syntax: None  |  size: 2.48 KB  |  views: 2  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # See /usr/share/postfix/main.cf.dist for a commented, more complete version
  2. broken_sasl_auth_clients=yes
  3.  
  4. recipient_bcc_maps = hash:/etc/postfix/recipient_bcc
  5.  
  6.  
  7. # Debian specific:  Specifying a file name will cause the first
  8. # line of that file to be used as the name.  The Debian default
  9. # is /etc/mailname.
  10. #myorigin = /etc/mailname
  11.  
  12. smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
  13. biff = no
  14.  
  15. # appending .domain is the MUA's job.
  16. append_dot_mydomain = no
  17.  
  18. # Uncomment the next line to generate "delayed mail" warnings
  19. #delay_warning_time = 4h
  20.  
  21. # TLS parameters
  22. #smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
  23. #smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
  24. #smtpd_use_tls=yes
  25. #smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
  26. #smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
  27.  
  28. # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
  29. # information on enabling SSL in the smtp client.
  30.  
  31. myhostname = mail.bogus.com
  32.  
  33. alias_maps = hash:/etc/aliases
  34. alias_database = hash:/etc/aliases
  35. virtual_alias_maps = proxy:pgsql:/etc/postfix/postgresql-virtual_forwardings.cf  proxy:pgsql:/etc/postfix/postgresql-virtual_email2email.cf
  36. virtual_mailbox_domains = proxy:pgsql:/etc/postfix/postgresql-virtual_domains.cf
  37. virtual_mailbox_maps = pgsql:/etc/postfix/postgresql-virtual_mailboxes.cf
  38. virtual_mailbox_base = /home/vmail/
  39. virtual_uid_maps = static:1004
  40. virtual_gid_maps = static:1004
  41.  
  42.  
  43. myorigin = /etc/mailname
  44. mydestination = mail.bogus.com, ftp.bogus.com, localhost.bogus.com, localhost
  45. relayhost =
  46. mynetworks = $config_directory/mynetworks
  47. mailbox_size_limit = 0
  48.  
  49. recipient_delimiter = +
  50. inet_interfaces = all
  51. smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access regexp:/etc/postfix/recipient_filter_table, reject_unauth_destination
  52. smtpd_sasl_auth_enable = yes
  53. smtpd_sasl_local_domain = $mydomain
  54. transport_maps = hash:/etc/postfix/transport_map
  55. smtpd_tls_auth_only = no
  56. smtp_use_tls = yes
  57. smtpd_use_tls = yes
  58. smtp_tls_note_starttls_offer = yes
  59. smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
  60. smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
  61. smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
  62. smtpd_tls_loglevel = 1
  63. smtpd_tls_received_header = yes
  64. smtpd_tls_session_cache_timeout = 3600s
  65. tls_random_source = dev:/dev/urandom
  66. message_size_limit = 0
  67. virtual_mailbox_limit = 0
  68. #message_size_limit = 314572800
  69. #virtual_mailbox_limit = 3145728000
  70.  
  71.  
clone this paste RAW Paste Data