Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Aug 7th, 2013  |  syntax: None  |  size: 1.98 KB  |  views: 22  |  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. smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
  2. biff = no
  3. append_dot_mydomain = no
  4. #delay_warning_time = 4h
  5. myhostname = mail.mydomain.com
  6. myorigin = mydomain.com
  7. mydestination = localhost, localhost.localdomain
  8. relayhost =
  9. #mynetworks = 127.0.0.0/8
  10. mynetworks_style = host
  11. mailbox_size_limit = 0
  12. recipient_delimiter = +
  13. inet_interfaces = all
  14. relay_domains = *
  15. alias_maps = hash:/etc/aliases
  16.  
  17. # Virtual mailbox settings
  18. virtual_mailbox_base = /home/vmailer
  19. virtual_alias_domains =
  20. virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql_virtual_domains_maps.cf
  21. virtual_alias_maps =
  22.     proxy:mysql:/etc/postfix/mysql_virtual_alias_maps.cf,
  23.     proxy:mysql:/etc/postfix/mysql_virtual_alias_domain_maps.cf,
  24.     proxy:mysql:/etc/postfix/mysql_virtual_alias_domain_catchall_maps.cf
  25. virtual_mailbox_maps =
  26.     proxy:mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf,
  27.     proxy:mysql:/etc/postfix/mysql_virtual_alias_domain_mailbox_maps.cf
  28.  
  29.  
  30. virtual_minimum_uid = 5003
  31. virtual_uid_maps = static:5003
  32. virtual_gid_maps = static:5003
  33. virtual_transport = dovecot
  34. dovecot_destination_recipient_limit = 1
  35.  
  36.  # SASL Authentication
  37. smtpd_tls_cert_file=/etc/pki/mail/mail.mydomain.com.crt
  38. smtpd_tls_key_file=/etc/pki/mail/mail.mydomain.com.key
  39. smtpd_use_tls=yes
  40. smtpd_tls_loglevel = 1
  41. smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
  42. smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
  43. smtpd_tls_auth_only = yes
  44. smtpd_sasl_auth_enable = yes
  45. smtpd_sasl_exceptions_networks = $mynetworks
  46. smtpd_sasl_local_domain=$myhostname
  47. smtpd_sasl_security_options = noanonymous
  48. smtpd_sasl_tls_security_options = $smtpd_sasl_security_options
  49. broken_sasl_auth_clients = yes
  50. smtpd_sasl_type = dovecot
  51. smtpd_sasl_path = private/auth
  52.  
  53. smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
  54. smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
  55.  
  56. inet_protocols = ipv4