Advertisement
Guest User

Untitled

a guest
Feb 19th, 2017
406
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.71 KB | None | 0 0
  1. TLS library problem: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca:s3_pkt.c:1315:SSL alert number 48
  2.  
  3. # See /usr/share/postfix/main.cf.dist for a commented, more complete version
  4. # Debian specific: Specifying a file name will cause the first
  5. # line of that file to be used as the name. The Debian default
  6. # is /etc/mailname.
  7. #myorigin = /etc/mailname
  8. smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
  9. biff = no
  10. # appending .domain is the MUA's job.
  11. append_dot_mydomain = no
  12.  
  13. # Uncomment the next line to generate "delayed mail" warnings
  14. #delay_warning_time = 4h
  15. readme_directory = /usr/share/doc/postfix
  16. # TLS parameters
  17. smtpd_tls_cert_file = /etc/postfix/smtpd.cert
  18. smtpd_tls_key_file = /etc/postfix/smtpd.key
  19. smtpd_use_tls = yes
  20. smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
  21. smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
  22.  
  23. # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
  24. # information on enabling SSL in the smtp client.
  25. smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
  26. myhostname = mail.selendis.pw
  27. alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
  28. alias_database = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
  29. myorigin = /etc/mailname
  30. mydestination = mail.selendis.pw, localhost, localhost.localdomain
  31. relayhost =
  32. mynetworks = 127.0.0.0/8 [::1]/128
  33. mailbox_command = procmail -a "$EXTENSION"
  34. mailbox_size_limit = 0
  35. recipient_delimiter = +
  36. inet_interfaces = all
  37. html_directory = /usr/share/doc/postfix/html
  38. virtual_alias_domains =
  39. virtual_alias_maps = hash:/var/lib/mailman/data/virtual-mailman, proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, proxy:mysql:/etc/postfix/mysql-virtual_email2email.cf
  40. virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
  41. virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
  42. virtual_mailbox_base = /var/vmail
  43. virtual_uid_maps = mysql:/etc/postfix/mysql-virtual_uids.cf
  44. virtual_gid_maps = mysql:/etc/postfix/mysql-virtual_gids.cf
  45. inet_protocols = all
  46. smtpd_sasl_auth_enable = yes
  47. broken_sasl_auth_clients = yes
  48. smtpd_sasl_authenticated_header = yes
  49. smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_recipient_access mysql:/etc/postfix/mysql- virtual_recipient.cf
  50. smtpd_tls_security_level = may
  51. transport_maps = hash:/var/lib/mailman/data/transport-mailman, proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
  52. relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
  53. relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf
  54. proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $sender_bcc_maps $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $reloc$
  55. smtpd_sender_restrictions = check_sender_access regexp:/etc/postfix/tag_as_originating.re , permit_mynetworks, permit_sasl_authenticated, check_sender_access mysql:/etc/postfix/mysql- virtual_sender.cf, check_sender_access regexp:/etc/postfix/tag_as_foreign.re
  56. smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql- virtual_client.cf
  57. smtpd_client_message_rate_limit = 100
  58. maildrop_destination_concurrency_limit = 1
  59. maildrop_destination_recipient_limit = 1
  60. virtual_transport = dovecot
  61. header_checks = regexp:/etc/postfix/header_checks
  62. mime_header_checks = regexp:/etc/postfix/mime_header_checks
  63. nested_header_checks = regexp:/etc/postfix/nested_header_checks
  64. body_checks = regexp:/etc/postfix/body_checks
  65. owner_request_special = no
  66. smtp_tls_security_level = may
  67. smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3
  68. smtpd_tls_protocols = !SSLv2,!SSLv3
  69. smtp_tls_protocols = !SSLv2,!SSLv3
  70. dovecot_destination_recipient_limit = 1
  71. smtpd_sasl_type = dovecot
  72. smtpd_sasl_path = private/auth
  73. content_filter = amavis:[127.0.0.1]:10024
  74. receive_override_options = no_address_mappings
  75. message_size_limit = 0
  76. sender_bcc_maps = proxy:mysql:/etc/postfix/mysql-virtual_outgoing_bcc.cf
  77. smtpd_restriction_classes = greylisting
  78. greylisting = check_policy_service inet:127.0.0.1:10023
  79. smtpd_sender_login_maps = proxy:mysql:/etc/postfix/mysql- virtual_sender_login_maps.cf
  80. smtpd_helo_required = yes
  81. smtpd_helo_restrictions = permit_sasl_authenticated, permit_mynetworks, check_helo_access regexp:/etc/postfix/helo_access, reject_invalid_hostname, reject_non_fqdn_hostname, check_helo_access regexp:/etc/postfix/blacklist_helo
  82. smtpd_tls_exclude_ciphers = RC4, aNULL
  83. smtp_tls_exclude_ciphers = RC4, aNULL
  84.  
  85. $config = array();
  86. /* Do not set db_dsnw here, use dpkg-reconfigure roundcube-core to configure database ! */
  87. include_once("/etc/roundcube/debian-db-roundcube.php");
  88. // The mail host chosen to perform the log-in.
  89. // Leave blank to show a textbox at login, give a list of hosts
  90. // to display a pulldown menu or set one host as string.
  91. // To use SSL/TLS connection, enter hostname with prefix ssl:// or tls://
  92. // Supported replacement variables:
  93. // %n - hostname ($_SERVER['SERVER_NAME'])
  94. // %t - hostname without the first part
  95. // %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
  96. // %s - domain name after the '@' from e-mail address provided at login screen
  97. // For example %n = mail.domain.tld, %t = domain.tld
  98. $config['default_host'] = 'mail.example.com';
  99. $rcmail_config['force_https'] = true;
  100. // SMTP server host (for sending mails).
  101. // To use SSL/TLS connection, enter hostname with prefix ssl:// or tls://
  102. // If left blank, the PHP mail() function is used
  103. // Supported replacement variables:
  104. // %h - user's IMAP hostname
  105. // %n - hostname ($_SERVER['SERVER_NAME'])
  106. // %t - hostname without the first part
  107. // %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
  108. // %z - IMAP domain (IMAP hostname without the first part)
  109. // For example %n = mail.domain.tld, %t = domain.tld
  110. $config['smtp_server'] = 'tls://mail.example.com';
  111.  
  112. // SMTP port (default is 25; use 587 for STARTTLS or 465 for the
  113. // deprecated SSL over SMTP (aka SMTPS))
  114. $config['smtp_port'] = 587;
  115. //az go slojih
  116. $config['smtp_auth_type'] = 'PLAIN';
  117. // SMTP username (if required) if you use %u as the username Roundcube
  118. // will use the current username for login
  119. $config['smtp_user'] = '%u';
  120.  
  121. // SMTP password (if required) if you use %p as the password Roundcube
  122. // will use the current user's password for login
  123. $config['smtp_pass'] = '%p';
  124.  
  125. // provide an URL where a user can get support for this Roundcube installation
  126. // PLEASE DO NOT LINK TO THE ROUNDCUBE.NET WEBSITE HERE!
  127. $config['support_url'] = 'www.mainwebsite.com';
  128.  
  129. // Name your service. This is displayed on the login screen and in the window title
  130. $config['product_name'] = 'MainWebsite Webmail';
  131.  
  132. // this key is used to encrypt the users imap password which is stored
  133. // in the session record (and the client cookie if remember password is enabled).
  134. // please provide a string of exactly 24 chars.
  135. // YOUR KEY MUST BE DIFFERENT THAN THE SAMPLE VALUE FOR SECURITY REASONS
  136. $config['des_key'] = 'FD71g6CQxVtyM]G3jJpjPH[r';
  137.  
  138. // List of active plugins (in plugins/ directory)
  139. $config['plugins'] = array(
  140. 'archive',
  141. 'zipdownload',
  142. );
  143.  
  144. // skin name: folder from skins/
  145. $config['skin'] = 'classic';
  146.  
  147. // ----------------------------------
  148. // PLUGINS
  149. // ----------------------------------
  150.  
  151. // List of active plugins (in plugins/ directory)
  152. //$rcmail_config['plugins'] = array();
  153. $rcmail_config['plugins'] = array("jqueryui", "ispconfig3_account", "ispconfig3_autoreply", "ispconfig3_pass", "ispconfig3_spam", "ispconfig3_fetchmail", "ispconfig3_filter");
  154.  
  155.  
  156. // az go addnah za da prashtam emails uj
  157. $config['smtp_conn_options'] = array(
  158. 'ssl' => array(
  159. 'verify_peer' => false,
  160. 'verify_peer_name' => false,
  161. ),
  162. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement