Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2014
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.36 KB | None | 0 0
  1. Jul 23 18:15:00 serv postfix/smtp[1792]: connect to mx3.hotmail.com[65.55.37.104]:25: Connection timed out
  2. Jul 23 18:15:00 serv postfix/smtp[1793]: connect to mx2.hotmail.com[207.46.8.167]:25: Connection timed out
  3.  
  4. # postfix config file
  5. # uncomment for debugging if needed
  6. soft_bounce=yes
  7.  
  8. # postfix main
  9. mail_owner = postfix
  10. setgid_group = postdrop
  11. delay_warning_time = 4
  12.  
  13. # postfix paths
  14. html_directory = no
  15. command_directory = /usr/sbin
  16. daemon_directory = /usr/lib/postfix
  17. queue_directory = /var/spool/postfix
  18. sendmail_path = /usr/sbin/sendmail.postfix
  19. newaliases_path = /usr/bin/newaliases.postfix
  20. mailq_path = /usr/bin/mailq.postfix
  21. manpage_directory = /usr/share/man
  22. sample_directory = /usr/share/doc/postfix-2.2.2/samples
  23. readme_directory = /usr/share/doc/postfix-2.2.2/README_FILES
  24.  
  25. # network settings
  26. inet_interfaces = all
  27. mydomain = zpanel
  28. myhostname = zpanel
  29. mynetworks = all
  30. mydestination = localhost.$mydomain, localhost
  31. relay_domains = proxy:mysql:/etc/zpanel/configs/postfix/mysql-relay_domains_maps.cf
  32.  
  33. # mail delivery
  34. recipient_delimiter = +
  35. # mappings
  36. alias_maps = hash:/etc/aliases
  37. alias_database = hash:/etc/aliases
  38. transport_maps = hash:/etc/zpanel/configs/postfix/transport
  39. #local_recipient_maps =
  40.  
  41. # virtual setup
  42. virtual_alias_maps = proxy:mysql:/etc/zpanel/configs/postfix/mysql-virtual_alias_maps.cf,
  43. regexp:/etc/zpanel/configs/postfix/virtual_regexp
  44. virtual_mailbox_base = /var/zpanel/vmail
  45. virtual_mailbox_domains = proxy:mysql:/etc/zpanel/configs/postfix/mysql- virtual_domains_maps.cf
  46. virtual_mailbox_maps = proxy:mysql:/etc/zpanel/configs/postfix/mysql-virtual_mailbox_maps.cf
  47. virtual_mailbox_limit_maps = proxy:mysql:/etc/zpanel/configs/postfix/mysql- virtual_mailbox_limit_maps.cf
  48. virtual_minimum_uid = 150
  49. virtual_uid_maps = static:150
  50. virtual_gid_maps = static:8
  51. virtual_transport = dovecot
  52. dovecot_destination_recipient_limit = 1
  53.  
  54. # debugging
  55. debug_peer_level = 2
  56. debugger_command =
  57. PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
  58. xxgdb $daemon_directory/$process_name $process_id & sleep 5
  59.  
  60. # authentication
  61. smtpd_sasl_auth_enable = yes
  62. smtpd_sasl_security_options = noanonymous
  63. smtpd_sasl_local_domain = $myhostname
  64. broken_sasl_auth_clients = yes
  65. smtpd_sasl_type = dovecot
  66. smtpd_sasl_path = private/auth
  67.  
  68. # tls config
  69. smtp_use_tls = no
  70. smtpd_use_tls = no
  71. #smtp_tls_note_starttls_offer = yes
  72. #smtpd_tls_loglevel = 1
  73. #smtpd_tls_received_header = yes
  74. #smtpd_tls_session_cache_timeout = 3600s
  75. #tls_random_source = dev:/dev/urandom
  76. #smtp_tls_session_cache_database = btree:$data_directory/smtp_tls_session_cache
  77. # Change mail.example.com.* to your host name
  78. #smtpd_tls_key_file = /etc/pki/tls/private/mail.example.com.key
  79. #smtpd_tls_cert_file = /etc/pki/tls/certs/mail.example.com.crt
  80. # smtpd_tls_CAfile = /etc/pki/tls/root.crt
  81.  
  82. # rules restrictions
  83. smtpd_client_restrictions =
  84. smtpd_helo_restrictions =
  85. smtpd_sender_restrictions =
  86. smtpd_recipient_restrictions = permit_sasl_authenticated,
  87. permit_mynetworks,
  88. reject_unauth_destination,
  89. reject_non_fqdn_sender,
  90. reject_non_fqdn_recipient,
  91. reject_unknown_recipient_domain
  92. # uncomment for realtime black list checks
  93. # ,reject_rbl_client zen.spamhaus.org
  94. # ,reject_rbl_client bl.spamcop.net
  95. # ,reject_rbl_client dnsbl.sorbs.net
  96.  
  97. smtpd_helo_required = yes
  98. unknown_local_recipient_reject_code = 550
  99. disable_vrfy_command = yes
  100. smtpd_data_restrictions = reject_unauth_pipelining
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement