Q1. What is the problem that you are trying to solve?
While I was trying to work out the SMTP configuration for my Passbolt installation, I apparently ran up against the send_tries
limit in the email_queue
table (apparently the limit is 4
.).
But the cake EmailQueue.sender
command gave no indication that it was refusing to send these emails, even with the --verbose
flag. I had to dig into the database manually to discover this and then reset the send_tries
value back to 0
to deliver the message.
MariaDB [passbolt]> SELECT id,subject,sent,send_tries FROM email_queue;
+--------------------------------------+----------------------------+------+------------+
| id | subject | sent | send_tries |
+--------------------------------------+----------------------------+------+------------+
| 5a5644b9-5560-4ab6-a16f-4cce0a0a0064 | Welcome to passbolt, Greg! | 0 | 4 |
+--------------------------------------+----------------------------+------+------------+
Q2 - Who is impacted?
Any admin who may have trouble configuring SMTP relay for Passbolt.
Q3 - Why is it important and/or urgent?
Even when the SMTP configuration is working, messages in the queue will “mysteriously” not be sent.
Q4 - What is your proposed solution?
-
Configure the
cake EmailQueue.sender --verbose
flag to output something like,Email {id} was not sent. Send tries limit reached.
-
Add a
clearRetries [id]
subcommand to clear the retries for a particular message in the queue.
Q5. Community support
- Must have: this is critical for me to have this
- Should have: this is important for me to have this
- Could have: this could be nice to have
- Won’t have: we should not schedule this (explain why)
0 voters