[GH-ISSUE #3645] auto-reply broken (?) #1876

Closed
opened 2026-02-27 11:19:39 +03:00 by kerem · 2 comments
Owner

Originally created by @xinomilo on GitHub (Aug 1, 2025).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/3645

Impacted versions

  • OS Type: Debian
  • OS Version: 12.11
  • Database Type: MySQL (MariaDB)
  • Database version: 10.11.11
  • Modoboa: 2.4.8 (yesterday we upgraded modoboa from 2.3.6 -> 2.4.8.. in the process we removed amavis, and use rspamd milter in postfix. )
  • installer used: No (used installer a few years ago, manually updating since..)
  • Webserver: Nginx

Steps to reproduce

try to add auto-reply message.

Current behavior

trying to add a new auto-reply we get an internal server error message, auto-reply not added. :

AttributeError at /api/v2/account/armessage/

'int' object has no attribute 'startswith'

Request Method: PUT
Request URL: https://example.com/api/v2/account/armessage/
Django Version: 5.2.4
Exception Type: AttributeError
Exception Value:

'int' object has no attribute 'startswith'

Exception Location: /srv/modoboa/env/lib/python3.11/site-packages/sievelib/factory.py, line 284, in __create_filter
Raised during: modoboa.autoreply.api.v2.viewsets.AccountARMessageViewSet
Python Executable: /usr/bin/uwsgi-core
Python Version: 3.11.2
Python Path:

['.',
'',
'/usr/lib/python311.zip',
'/usr/lib/python3.11',
'/usr/lib/python3.11/lib-dynload',
'/srv/modoboa/env/lib/python3.11/site-packages']

Expected behavior

add working auto-reply message.

thx in advance,

Originally created by @xinomilo on GitHub (Aug 1, 2025). Original GitHub issue: https://github.com/modoboa/modoboa/issues/3645 # Impacted versions * OS Type: Debian * OS Version: 12.11 * Database Type: MySQL (MariaDB) * Database version: 10.11.11 * Modoboa: 2.4.8 (yesterday we upgraded modoboa from 2.3.6 -> 2.4.8.. in the process we removed amavis, and use rspamd milter in postfix. ) * installer used: No (used installer a few years ago, manually updating since..) * Webserver: Nginx # Steps to reproduce try to add auto-reply message. # Current behavior trying to add a new auto-reply we get an internal server error message, auto-reply not added. : AttributeError at /api/v2/account/armessage/ 'int' object has no attribute 'startswith' Request Method: PUT Request URL: https://example.com/api/v2/account/armessage/ Django Version: 5.2.4 Exception Type: AttributeError Exception Value: 'int' object has no attribute 'startswith' Exception Location: /srv/modoboa/env/lib/python3.11/site-packages/sievelib/factory.py, line 284, in __create_filter Raised during: modoboa.autoreply.api.v2.viewsets.AccountARMessageViewSet Python Executable: /usr/bin/uwsgi-core Python Version: 3.11.2 Python Path: ['.', '', '/usr/lib/python311.zip', '/usr/lib/python3.11', '/usr/lib/python3.11/lib-dynload', '/srv/modoboa/env/lib/python3.11/site-packages'] # Expected behavior add working auto-reply message. thx in advance,
kerem closed this issue 2026-02-27 11:19:40 +03:00
Author
Owner

@tonioo commented on GitHub (Aug 1, 2025):

Make sure you use latest version of the sievelib package

<!-- gh-comment-id:3143753618 --> @tonioo commented on GitHub (Aug 1, 2025): Make sure you use latest version of the sievelib package
Author
Owner

@xinomilo commented on GitHub (Aug 1, 2025):

thanks for the superfast reply :)
it's working fine now! (using sievelib 1.4.2)

best,

<!-- gh-comment-id:3143796713 --> @xinomilo commented on GitHub (Aug 1, 2025): thanks for the superfast reply :) it's working fine now! (using sievelib 1.4.2) best,
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-modoboa#1876
No description provided.