mirror of
https://github.com/modoboa/modoboa-postfix-autoreply.git
synced 2026-04-25 16:45:59 +03:00
[GH-ISSUE #66] autoreply /api/v1/armessages/?search=user@domain.tld no longer works #34
Labels
No labels
bug
bug
enhancement
enhancement
enhancement
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-postfix-autoreply-modoboa#34
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @stefaweb on GitHub (Apr 25, 2019).
Original GitHub issue: https://github.com/modoboa/modoboa-postfix-autoreply/issues/66
Hi @tonioo!
I just discovered that the access to autoreply message seems to have a bug. It was working in the past. The RoundCube plugin I wrote no longer works.
If we ask for:
https://modoboa/api/v1/armessages/?search=user@domain.tldWe got many answers instead of one answer.
As well with many answer, the RoundCube plugin is wrong. Same problem, when we try to write auto reply message to Modoboa with the RoundCube plugin.
Cheers,
@stefaweb commented on GitHub (May 16, 2019):
Hi @tonioo!
No news from you. Busy ?
Stéphane
@tonioo commented on GitHub (May 17, 2019):
@stefaweb yes... Actually, the search filter is not available.
@stefaweb commented on GitHub (May 17, 2019):
When the filter will be back, what will be the right syntax ?
https://modoboa/api/v1/armessages/?mailbox=user@domain.tld
https://modoboa/api/v1/armessages/?account=user@domain.tld
https://modoboa/api/v1/armessages/?search=user@domain.tld
https://modoboa/api/v1/armessages/?mbox_user=user@domain.tld
https://modoboa/api/v1/armessages/?mbox=user@domain.tld
@tonioo commented on GitHub (May 17, 2019):
Currently, the only available filters are
mboxandmbox__userand they expect primary keys (id). I can add a search filter that will look for email addresses.@stefaweb commented on GitHub (May 17, 2019):
https://modoboa/api/v1/armessages/?mbox=[value)works but it is not the best as we need a first query to get the mbox id.What is the right value to put in
https://modoboa/api/v1/armessages/?mbox_user=? I don't understand the use.To found the record with email, the best syntax will be:
https://modoboa/api/v1/armessages/?mailbox=user@domain.tld