Advertisement
_Skynet_

Untitled

Jul 6th, 2011
385
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.53 KB | None | 0 0
  1. ## General Postfix configuration
  2. # should be the default domain from your provider eg. "server100.provider.tld"
  3. mydomain = ---------------------------
  4.  
  5. # should be different from $mydomain eg. "mail.$mydomain"
  6. myhostname = ----------------------------
  7.  
  8. mydestination = $myhostname,
  9. $mydomain,
  10. localhost.$myhostname,
  11. localhost.$mydomain,
  12. localhost
  13. mynetworks = 127.0.0.0/8
  14. inet_interfaces = all
  15. append_dot_mydomain = no
  16. biff = no
  17.  
  18. # Postfix performance settings
  19. default_destination_concurrency_limit = 20
  20. local_destination_concurrency_limit = 2
  21.  
  22. # SMTPD Settings
  23. smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
  24. smtpd_helo_required = yes
  25. smtpd_recipient_restrictions = permit_mynetworks,
  26. permit_sasl_authenticated,
  27. reject_unauth_destination,
  28. reject_unauth_pipelining,
  29. reject_non_fqdn_recipient
  30. smtpd_sender_restrictions = permit_mynetworks,
  31. reject_sender_login_mismatch,
  32. permit_sasl_authenticated,
  33. reject_unknown_helo_hostname,
  34. reject_unknown_recipient_domain,
  35. reject_unknown_sender_domain
  36. smtpd_client_restrictions = permit_mynetworks,
  37. permit_sasl_authenticated,
  38. reject_unknown_client_hostname
  39. # Maximum size of Message in bytes (50MB)
  40. message_size_limit = 52428800
  41.  
  42. ## SASL Auth Settings
  43. smtpd_sasl_auth_enable = yes
  44. smtpd_sasl_local_domain = $myhostname
  45. broken_sasl_auth_clients = yes
  46.  
  47. # Virtual delivery settings
  48. virtual_mailbox_base = /var/customers/mail/
  49. virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailbox_maps.cf
  50. virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_mailbox_domains.cf
  51. virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_alias_maps.cf
  52. smtpd_sender_login_maps = mysql:/etc/postfix/mysql-virtual_sender_permissions.cf
  53. virtual_uid_maps = static:2000
  54. virtual_gid_maps = static:2000
  55.  
  56. # Local delivery settings
  57. local_transport = local
  58. alias_maps = $alias_database
  59.  
  60. # Default Mailbox size, is set to 0 which means unlimited!
  61. mailbox_size_limit = 0
  62. virtual_mailbox_limit = 0
  63.  
  64. ### TLS settings
  65. ###
  66. ## TLS for outgoing mails from the server to another server
  67. #smtp_tls_security_level = may
  68. #smtp_tls_note_starttls_offer = yes
  69. ## TLS for email client
  70. #smtpd_tls_security_level = may
  71. #smtpd_tls_cert_file = /etc/ssl/server/i7980xSwitch2Serv4.gc-server.de.pem
  72. #smtpd_tls_key_file = $smtpd_tls_cert_file
  73. #smtpd_tls_CAfile = /etc/ssl/certs/ca-certificates.crt
  74. #smtpd_tls_loglevel = 1
  75. #smtpd_tls_received_header = yes
  76.  
  77. debugger_command =
  78. PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
  79. ddd $daemon_directory/$process_name $process_id & sleep 5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement