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

Untitled

By: a guest on Oct 2nd, 2011  |  syntax: None  |  size: 2.33 KB  |  views: 9  |  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. ## Location of executables and configuration
  2. command_directory = /usr/sbin
  3. daemon_directory = /usr/lib/postfix
  4. config_directory = /etc/postfix
  5.  
  6. ## Host names and recipient address mapping
  7. inet_interfaces = all
  8. myorigin = /etc/mailname
  9. myhostname = daniel.priv.no
  10. mydestination = /etc/mailnames, localhost
  11.  
  12. mynetworks = 127.0.0.0/24 192.168.10.0/24 192.168.100.10-99 [::ffff:127.0.0.0]/104 [::1]/128
  13.  
  14. alias_database = hash:/etc/aliases
  15. alias_maps = hash:/etc/aliases
  16.  
  17. recipient_delimiter = +
  18.  
  19. biff = no
  20.  
  21. ## Mail box settings
  22. home_mailbox = mail/
  23. mailbox_size_limit = 0
  24. message_size_limit = 100000000
  25.  
  26. tls_random_source = dev:/dev/urandom
  27.  
  28. ## Client-side TLS parameters
  29. smtpd_tls_security_level = encrypt
  30. smtpd_tls_cert_file = /etc/certs/daniel_priv_no_PositiveSSL.crt
  31. smtpd_tls_key_file = /etc/certs/daniel_priv_no_private_key.crt
  32. smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
  33.  
  34. ## Optional TLS for remote servers
  35. smtp_tls_security_level = may
  36. smtp_tls_cert_file = $smtpd_tls_cert_file
  37. smtp_tls_key_file = $smtpd_tls_key_file
  38. smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
  39.  
  40. ## Client-side authentication and connection
  41. #smtpd_tls_auth_only = yes
  42. #smptd_sasl_auth_enable = yes
  43. #smptd_sasl_local_domain = /etc/hostname
  44. #smtpd_sasl_path = private/auth-client
  45. #smtpd_sasl_security_options = noanonymous
  46. #smtpd_sasl_type = dovecot
  47. #smtpd_tls_received_header = yes
  48. #smtpd_tls_mandatory_protocols = SSLv3, TLSv1
  49. #smtpd_tls_mandatory_ciphers = medium
  50. #smtpd_sasl_authenticated_header = yes
  51.  
  52.  
  53. ## Client-side authentication and connection
  54. smtpd_tls_auth_only = yes
  55. smptd_sasl_auth_enable = yes
  56. smptd_sasl_local_domain = /etc/hostname
  57. smtpd_sasl_path = private/auth-client
  58. smtpd_sasl_security_options = noanonymous
  59. smtpd_sasl_type = dovecot
  60.  
  61. smtpd_helo_required = yes
  62.  
  63. disable_vrfy_command = yes
  64.  
  65. smtpd_recipient_restrictions =
  66.   permit_sasl_authenticated
  67.   reject_unauth_destination
  68.   reject_unauth_pipelining
  69.   reject_invalid_hostname
  70.   reject_non_fqdn_sender
  71.   reject_unknown_sender_domain
  72.   reject_non_fqdn_recipient
  73.   reject_unknown_recipient_domain
  74.   reject_rbl_client dnsbl.njabl.org
  75.   reject_rbl_client dnsbl.sorbs.net
  76.   reject_rbl_client bl.spamcop.net
  77.   permit
  78.  
  79. unknown_local_recipient_reject_code = 550
  80.  
  81. smtpd_banner = $myhostname ESMTP $mail_name (GNU/Linux)
  82.  
clone this paste RAW Paste Data