[GH-ISSUE #66] autoreply /api/v1/armessages/?search=user@domain.tld no longer works #34

Closed
opened 2026-02-27 10:25:26 +03:00 by kerem · 5 comments
Owner

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.tld

We 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,

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.tld` We 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,
kerem 2026-02-27 10:25:26 +03:00
Author
Owner

@stefaweb commented on GitHub (May 16, 2019):

Hi @tonioo!

No news from you. Busy ?

Stéphane

<!-- gh-comment-id:493008120 --> @stefaweb commented on GitHub (May 16, 2019): Hi @tonioo! No news from you. Busy ? Stéphane
Author
Owner

@tonioo commented on GitHub (May 17, 2019):

@stefaweb yes... Actually, the search filter is not available.

<!-- gh-comment-id:493351344 --> @tonioo commented on GitHub (May 17, 2019): @stefaweb yes... Actually, the search filter is not available.
Author
Owner
<!-- gh-comment-id:493352939 --> @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
Author
Owner

@tonioo commented on GitHub (May 17, 2019):

Currently, the only available filters are mbox and mbox__user and they expect primary keys (id). I can add a search filter that will look for email addresses.

<!-- gh-comment-id:493360336 --> @tonioo commented on GitHub (May 17, 2019): Currently, the only available filters are ```mbox``` and ```mbox__user``` and they expect primary keys (id). I can add a search filter that will look for email addresses.
Author
Owner

@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

<!-- gh-comment-id:493365531 --> @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`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-postfix-autoreply-modoboa#34
No description provided.