Trying to get this setup, but I’m a complete noob with docker, and 76% of one with Linux. Finally got it spun up with docker-compose on a VM Ubuntu 18.04 LTS Server - freshly created.
The test email will work using my configuration, but nothing else seems to send one out. Neither user registration or user recovery.
sudo docker-compose exec passbolt bin/cake passbolt send_test_email --recipient=xxx@xxx.com ____ __ ____ / __ \____ _____ ____/ /_ ____ / / /_ / /_/ / __ `/ ___/ ___/ __ \/ __ \/ / __/ / ____/ /_/ (__ |__ ) /_/ / /_/ / / / /_/ \__,_/____/____/_.___/\____/_/\__/ Open source password manager for teams --------------------------------------------------------------- Debug email shell --------------------------------------------------------------- Email configuration --------------------------------------------------------------- Host: smtp.gmail.com Port: 587 Username: xxx Password: ********* TLS: true Sending email from: xxx Sending email to: xxx --------------------------------------------------------------- Trace [220] smtp.gmail.com ESMTP 2-v6sm11303340iom.34 - gsmtp > EHLO localhost [250] smtp.gmail.com at your service, [136.63.231.178] [250] SIZE 35882577 [250] 8BITMIME [250] STARTTLS [250] ENHANCEDSTATUSCODES [250] PIPELINING [250] CHUNKING [250] SMTPUTF8 > STARTTLS [220] 2.0.0 Ready to start TLS > EHLO localhost [250] smtp.gmail.com at your service, [136.63.231.178] [250] SIZE 35882577 [250] 8BITMIME [250] AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH [250] ENHANCEDSTATUSCODES [250] PIPELINING [250] CHUNKING [250] SMTPUTF8 > AUTH LOGIN [334] VXNlcm5hbWU6 > ***** [334] UGFzc3dvcmQ6 > ***** [235] 2.7.0 Accepted > MAIL FROM:<xxx> [250] 2.1.0 OK 2-v6sm11303340iom.34 - gsmtp > RCPT TO:<xxx> [250] 2.1.5 OK 2-v6sm11303340iom.34 - gsmtp > DATA [354] Go ahead 2-v6sm11303340iom.34 - gsmtp > From: xxx To: xxx Date: Wed, 23 May 2018 21:21:40 +0000 Message-ID: <4cdeb8ed3be84cfe8736807992e8c52a@e7ae73d9fee8> Subject: Passbolt test email MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Congratulations! If you receive this email, it means that your passbolt smtp configuration is working fine. . [250] 2.0.0 OK 1527110501 2-v6sm11303340iom.34 - gsmtp > QUIT The message has been successfully sent!
Also, I dumbed down the standard docker-compose.yml since I’ve got DB covered already:
version: '3.4' services: passbolt: image: passbolt/passbolt:2.0.7-debian tty: true env_file: - env/passbolt.env volumes: - gpg_volume:/var/www/passbolt/config/gpg - images_volume:/var/www/passbolt/webroot/img/public ports: - ###:443 volumes: images_volume: gpg_volume: