Guest User

passbolt

a guest
Jul 15th, 2021
25
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. **Note : replaced links in logs due to 2 links limit. Seems bugged btw, i have only one here.**
  2.  
  3. **Checklist**
  4. [x] I have read intro post
  5. [x] I have read the tutorials, help and searched for similar issues
  6. [x] I provide relevant information about my server (component names and versions, etc.)
  7. [x] I provide a copy of my logs and healthcheck
  8. [x] I describe the steps I have taken to trouble shoot the problem
  9. [x] I describe the steps on how to reproduce the issue
  10.  
  11. **HealthCheck**
  12.  
  13. Open source password manager for teams
  14. -------------------------------------------------------------------------------
  15. Healthcheck shell
  16. -------------------------------------------------------------------------------
  17.  
  18. Environment
  19.  
  20. [PASS] PHP version 7.3.29-1~deb10u1.
  21. [PASS] PCRE compiled with unicode support.
  22. [PASS] The temporary directory and its content are writable.
  23. [PASS] The public image directory and its content are writable.
  24. [PASS] The logs directory and its content are writable.
  25. [PASS] GD or Imagick extension is installed.
  26. [PASS] Intl extension is installed.
  27. [PASS] Mbstring extension is installed.
  28.  
  29. Config files
  30.  
  31. [PASS] The application config file is present
  32. [PASS] The passbolt config file is present
  33.  
  34. Core config
  35.  
  36. [PASS] Debug mode is off.
  37. [PASS] Cache is working.
  38. [PASS] Unique value set for security.salt
  39. [PASS] Full base url is set to xxx.xxx.com
  40. [PASS] App.fullBaseUrl validation OK.
  41. [PASS] /healthcheck/status is reachable.
  42.  
  43. SSL Certificate
  44.  
  45. [PASS] SSL peer certificate validates
  46. [PASS] Hostname is matching in SSL certificate.
  47. [PASS] Not using a self-signed certificate
  48.  
  49. Database
  50.  
  51. [PASS] The application is able to connect to the database
  52. [PASS] 25 tables found
  53. [PASS] Some default content is present
  54. [PASS] The database schema up to date.
  55.  
  56. GPG Configuration
  57.  
  58. [PASS] PHP GPG Module is installed and loaded.
  59. [PASS] The environment variable GNUPGHOME is set to /var/lib/passbolt/.gnupg.
  60. [PASS] The directory /var/lib/passbolt/.gnupg containing the keyring is writable by the webserver user.
  61. [PASS] The server OpenPGP key is not the default one
  62. [PASS] The public key file is defined in config/passbolt.php and readable.
  63. [PASS] The private key file is defined in config/passbolt.php and readable.
  64. [PASS] The server key fingerprint matches the one defined in config/passbolt.php.
  65. [PASS] The server public key defined in the config/passbolt.php (or environment variables) is in the keyring.
  66. [PASS] There is a valid email id defined for the server key.
  67. [PASS] The public key can be used to encrypt a message.
  68. [PASS] The private key can be used to sign a message.
  69. [PASS] The public and private keys can be used to encrypt and sign a message.
  70. [PASS] The private key can be used to decrypt a message.
  71. [PASS] The private key can be used to decrypt and verify a message.
  72. [PASS] The public key can be used to verify a signature.
  73.  
  74. Application configuration
  75.  
  76. [PASS] Using latest passbolt version (3.2.1).
  77. [PASS] Passbolt is configured to force SSL use.
  78. [PASS] App.fullBaseUrl is set to HTTPS.
  79. [PASS] Selenium API endpoints are disabled.
  80. [PASS] Search engine robots are told not to index content.
  81. [PASS] Registration is closed, only administrators can add users.
  82. [PASS] Serving the compiled version of the javascript app
  83. [PASS] All email notifications will be sent.
  84.  
  85. [PASS] No error found. Nice one sparky!
  86.  
  87. **LOGS :**
  88.  
  89. debian@passbolt-master:~$ sudo su -s /bin/bash -c "/usr/share/php/passbolt/bin/cake passbolt send_test_email --recipient example[at]example.com --verbose" www-data
  90.  
  91. Open source password manager for teams
  92. -------------------------------------------------------------------------------
  93. Debug email shell
  94. -------------------------------------------------------------------------------
  95. Email configuration
  96. -------------------------------------------------------------------------------
  97. Host: xxx-com.mail.protection.outlook.com
  98. Port: 25
  99. Username: catchall[at]xxx.com
  100. Password: *********
  101. TLS: true
  102. Sending email from: Passbolt <catchall[at]xxx.com>
  103. Sending email to: example[at]example.com
  104. -------------------------------------------------------------------------------
  105. Trace
  106. [220] PR2FRA01FT002.mail.protection.outlook.com Microsoft ESMTP MAIL Service ready at Thu, 15 Jul 2021 09:20:05 +0000
  107. > EHLO 51.210.126.171
  108. [250] PR2FRA01FT002.mail.protection.outlook.com Hello [51.210.126.171]
  109. [250] SIZE 157286400
  110. [250] PIPELINING
  111. [250] DSN
  112. [250] ENHANCEDSTATUSCODES
  113. [250] STARTTLS
  114. [250] 8BITMIME
  115. [250] BINARYMIME
  116. [250] CHUNKING
  117. [250] SMTPUTF8
  118. > STARTTLS
  119. [220] 2.0.0 SMTP server ready
  120. > EHLO 51.210.126.171
  121. [250] PR2FRA01FT002.outlook Hello [51.210.126.171]
  122. [250] SIZE 157286400
  123. [250] PIPELINING
  124. [250] DSN
  125. [250] ENHANCEDSTATUSCODES
  126. [250] 8BITMIME
  127. [250] BINARYMIME
  128. [250] CHUNKING
  129. [250] SMTPUTF8
  130. > AUTH PLAIN AGNhdGNoYWxsQHN1YnRlbm8uY29tAGFld2lyNEFpdG9odm82WG9vUmFpOFVHaQ==
  131. [504] 5.7.4 Unrecognized authentication type [PR2FRA01FT002.outlook]
  132. > AUTH LOGIN
  133. [504] 5.7.4 Unrecognized authentication type [PR2FRA01FT002.outlook]
  134.  
  135. **Explanation**
  136.  
  137. Hello there,
  138.  
  139. we moved from Google to Office 365 some days ago, and i'm still having troubles making Passbolt SMTP working using Office.
  140.  
  141. What i've done so far :
  142.  
  143. **Connectore in office, with Passbolt Server IP in Mail Flow --> Connectors**
  144.  
  145. **Tested with and without TLS**
  146.  
  147. **Tested with and without user defined in passbolt.php config file (when not defined, leaved blank line).
  148.  
  149. Does anyone managed to get passbolt SMTP working with office 365 ?
  150.  
  151. All the others apps are working well with office, i did the same stuff for it (Whitelisting IP in mail flow --> Connectors), and are sending e-mails without any use credentials needed.
  152.  
  153. Thanks to those that will help, i can provide any additionnal informations if needed ! :slight_smile:
  154.  
  155. Have a nice day,
  156.  
  157. Vincent.
RAW Paste Data