Advertisement
Guest User

Untitled

a guest
Apr 5th, 2016
428
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.69 KB | None | 0 0
  1. DocumentRoot "/var/www/html"
  2.  
  3. #
  4. # Relax access to content within /var/www.
  5. #
  6. <Directory "/var/www">
  7. AllowOverride none
  8. # Allow open access:
  9. Require all granted
  10. </Directory>
  11.  
  12. # Further relax access to the default document root:
  13. <Directory "/var/www/html">
  14. #
  15. # Possible values for the Options directive are "None", "All",
  16. # or any combination of:
  17. # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
  18. #
  19. # Note that "MultiViews" must be named *explicitly* --- "Options All"
  20. # doesn't give it to you.
  21. #
  22. # The Options directive is both complicated and important. Please see
  23. # http://httpd.apache.org/docs/2.4/mod/core.html#options
  24. # for more information.
  25. #
  26. Options Indexes FollowSymLinks
  27.  
  28. #
  29. # AllowOverride controls what directives may be placed in .htaccess files.
  30. # It can be "All", "None", or any combination of the keywords:
  31. # Options FileInfo AuthConfig Limit
  32. #
  33. AllowOverride None
  34. #
  35. # Controls who can get stuff from this server.
  36. #
  37. Require all granted
  38. </Directory>
  39.  
  40. gitlab_rails['smtp_enable'] = true
  41. gitlab_rails['smtp_address'] = "smtp.gmail.com"
  42. gitlab_rails['smtp_port'] = 587
  43. gitlab_rails['smtp_user_name'] = "gitsmt111@gmail.com"
  44. gitlab_rails['smtp_password'] = "smt3214"
  45. gitlab_rails['smtp_domain'] = "smtp.gmail.com"
  46. gitlab_rails['smtp_authentication'] = "login"
  47. gitlab_rails['smtp_enable_starttls_auto'] = true
  48. gitlab_rails['smtp_tls'] = false
  49. gitlab_rails['smtp_openssl_verify_mode'] = 'peer' # Can be: 'none', 'peer', 'client_once', 'fail_if_no_peer_cert', see http://api.rubyonrails.org/classes/ActionMailer/Base.html
  50. # gitlab_rails['smtp_ca_path'] = "/etc/ssl/certs"
  51. # gitlab_rails['smtp_ca_file'] = "/etc/ssl/certs/ca-certificates.crt"
  52.  
  53. config.action_mailer.perform_deliveries = true
  54. config.action_mailer.raise_delivery_errors = true
  55.  
  56. config.eager_load = true
  57.  
  58. config.allow_concurrency = false
  59.  
  60.  
  61. config.action_mailer.delivery_method = :smtp
  62. config.action_mailer.smtp_settings = {
  63. :address => 'smtp.gmail.com', ## My SMTP Relay/Gateway
  64. :port => 587, ## SMTP Port
  65. :domain => 'smtp.gmail.com', ## My Domain
  66. :authentication => :login, ## Let it be plain as it is inside my LAN
  67. :user_name => 'gitsmt111', ## This is not required as long as
  68. :password => 'smt3214', ## SMTP Gateway allows anonymous relay
  69. :enable_starttls_auto => true ## In LAN
  70. }
  71.  
  72.  
  73.  
  74. end
  75.  
  76. Apr 5 10:50:34 lab-git postfix/pickup[2247]: CDF0D82CD235: uid=1001 from=<gitlab@lab-git>
  77. Apr 5 10:50:34 lab-git postfix/cleanup[15670]: CDF0D82CD235: message-id=<5703faeac7da3_390b1a0e3fc5796b@lab-git.mail>
  78. Apr 5 10:50:34 lab-git postfix/qmgr[2248]: CDF0D82CD235: from=<gitlab@lab-git.localdomain>, size=802, nrcpt=1 (queue active)
  79. Apr 5 10:50:35 lab-git postfix/smtp[15674]: CDF0D82CD235: to=<gitsmt111@gmail.com>, relay=alln-mx-01.srx-in.com[173.37.147.230]:25, delay=0.21, delays=0.02/0.01/0.14/0.04, dsn=5.0.0, status=bounced (host alln-mx-01.srx-in.com[173.37.147.230] said: 553 Domain of sender address <gitlab@lab-git.localdomain> does not resolve. (in reply to MAIL FROM command))
  80. Apr 5 10:50:35 lab-git postfix/cleanup[15670]: 16B2D82CD236: message-id=<20160405175035.16B2D82CD236@lab-git.localdomain>
  81. Apr 5 10:50:35 lab-git postfix/bounce[15675]: CDF0D82CD235: sender non-delivery notification: 16B2D82CD236
  82. Apr 5 10:50:35 lab-git postfix/qmgr[2248]: 16B2D82CD236: from=<>, size=2826, nrcpt=1 (queue active)
  83. Apr 5 10:50:35 lab-git postfix/qmgr[2248]: CDF0D82CD235: removed
  84. Apr 5 10:50:35 lab-git postfix/local[15676]: 16B2D82CD236: to=<gitlab@lab-git.localdomain>, relay=local, delay=0.01, delays=0/0.01/0/0, dsn=5.1.1, status=bounced (unknown user: "gitlab")
  85. Apr 5 10:50:35 lab-git postfix/qmgr[2248]: 16B2D82CD236: removed
  86. Apr 5 12:33:42 lab-git postfix/postfix-script[2105]: starting the Postfix mail system
  87. Apr 5 12:33:42 lab-git postfix/master[2200]: daemon started -- version 2.10.1, configuration /etc/postfix
  88. Apr 5 13:11:54 lab-git postfix/postfix-script[2223]: starting the Postfix mail system
  89. Apr 5 13:11:54 lab-git postfix/master[2249]: daemon started -- version 2.10.1, configuration /etc/postfix
  90. Apr 5 13:29:25 lab-git postfix/postfix-script[2170]: starting the Postfix mail system
  91. Apr 5 13:29:25 lab-git postfix/master[2197]: daemon started -- version 2.10.1, configuration /etc/postfix
  92. Apr 5 13:40:24 lab-git postfix/postfix-script[2281]: starting the Postfix mail system
  93. Apr 5 13:40:24 lab-git postfix/master[2303]: daemon started -- version 2.10.1, configuration /etc/postfix
  94. Apr 5 15:06:51 lab-git postfix/postfix-script[2102]: starting the Postfix mail system
  95. Apr 5 15:06:51 lab-git postfix/master[2117]: daemon started -- version 2.10.1, configuration /etc/postfix
  96. [root@lab-git ~]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement