I recently upgraded from version 1.6.5 to 1.6.10 to 2.0.7. This was quite a painless process. However now Passbolt won’t send emails anymore. Any action that generates an mail won’t any more. However the test email does work!
www-data@passbolt:/data/www/passbolt$ ./bin/cake passbolt register_user \
> -u eddie@domain.nl \
> -f my_name \
> -l my_surname \
> -r admin
____ __ ____
/ __ \____ _____ ____/ /_ ____ / / /_
/ /_/ / __ `/ ___/ ___/ __ \/ __ \/ / __/
/ ____/ /_/ (__ |__ ) /_/ / /_/ / / /
/_/ \__,_/____/____/_.___/\____/_/\__/
Open source password manager for teams
---------------------------------------------------------------
User saved successfully.
To start registration follow the link in provided in your mailbox or here:
https://passbolt.domain.nl/setup/install/79f9d35f-db68-4def-a102-da7c877d912d/96baaca0-1fa4-42f7-b77d-daf04e94979e
www-data@passbolt:/data/www/passbolt$
www-data@passbolt:/data/www/passbolt$ ./bin/cake passbolt send_test_email --recipient=eddie@domain.nl
____ __ ____
/ __ \____ _____ ____/ /_ ____ / / /_
/ /_/ / __ `/ ___/ ___/ __ \/ __ \/ / __/
/ ____/ /_/ (__ |__ ) /_/ / /_/ / / /
/_/ \__,_/____/____/_.___/\____/_/\__/
Open source password manager for teams
---------------------------------------------------------------
Debug email shell
---------------------------------------------------------------
Email configuration
---------------------------------------------------------------
Host: smtp.domain.nl
Port: 25
Username:
Password: *********
TLS: false
Sending email from: Passbolt <passbolt@domain.nl>
Sending email to: eddie@domain.nl
---------------------------------------------------------------
Trace
[220] dmzsha2060.domain.nl - Abuse (attempts) will be logged and reported!
> EHLO localhost
[250] dmzsha2060.domain.nl
[250] PIPELINING
[250] SIZE 26214400
[250] ETRN
[250] ENHANCEDSTATUSCODES
[250] 8BITMIME
[250] DSN
> MAIL FROM:<passbolt@domain.nl>
[250] 2.1.0 Ok
> RCPT TO:<eddie@domain.nl>
[250] 2.1.5 Ok
> DATA
[354] End data with <CR><LF>.<CR><LF>
> From: Passbolt <passbolt@domain.nl>
To: eddie@domain.nl
Date: Wed, 16 May 2018 11:34:55 +0000
Message-ID: <09a6bf3c5f414be886aa40d2858a6d63@passbolt>
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: queued as 3A8E617F714
> QUIT
The message has been successfully sent!
However there is a lead in the /var/mail/root:
From root@passbolt.domain.nl Wed May 16 13:41:01 2018
Return-Path: <root@passbolt.domain.nl>
X-Original-To: root
Delivered-To: root@passbolt.domain.nl
Received: by passbolt.domain.nl (Postfix, from userid 0)
id D99C3C09B0; Wed, 16 May 2018 13:41:01 +0200 (CEST)
From: root@passbolt.domain.nl (Cron Daemon)
To: root@passbolt.domain.nl
Subject: Cron <root@passbolt> /data/www/passbolt/app/Console/cake EmailQueue.sender > /data/www/passbolt/app/tmp/email.log
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
Message-Id: <20180516114101.D99C3C09B0@passbolt.domain.nl>
Date: Wed, 16 May 2018 13:41:01 +0200 (CEST)
/bin/sh: 1: /data/www/passbolt/app/Console/cake: not found
Now i believe that /data/www/passbolt/app/Console/cake & /data/www/passbolt/app/tmp/email.log are files from version 1.6.X and it didn’t migrate properly. I did run the migration script again without any success. Would appreciate the help
Checklist
[ X ] I have read intro post: About the Installation Issues category
[ X ] I have read the tutorials, help and searched for similar issues
[ X ] I provide relevant information about my server (component names and versions, etc.)
[ X ] I provide a copy of my logs and healthcheck
[ X ] I describe the steps I have taken to trouble shoot the problem
[ X ] I describe the steps on how to reproduce the issue