Error autoreply
Opened this issue · 0 comments
Apr 5 09:28:21 ce2022122314001 postfix/pipe[107615]: 1BDD12E663E1: to=<"xxxx@xxxxx"@autoreply.aladesk.com>, orig_to=xxxxx@xxxx.com, relay=autoreply, delay=1.9, delays=0.15/0.01/0/1.7, dsn=5.3.0, status=bounced (Command died with status 1: "/srv/modoboa/env/bin/python". Command output: Traceback (most recent call last): File "/srv/modoboa/instance/manage.py", line 22, in main() File "/srv/modoboa/instance/manage.py", line 18, in main execute_from_command_line(sys.argv) File "/srv/modoboa/env/lib/python3.9/site-packages/django/core/management/init.py", line 419, in execute_from_command_line utility.execute() File "/srv/modoboa/env/lib/python3.9/site-packages/django/core/management/init.py", line 413, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/srv/modoboa/env/lib/python3.9/site-packages/django/core/management/base.py", line 354, in run_from_argv self.execute(*args, **cmd_options) File "/srv/modoboa/env/lib/python3.9/site-packages/django/core/management/base.py", line 398, in execute output = self.handle(*args, **options) File "/srv/modoboa/env/lib/python3.9/site-packages/modoboa_postfix_autoreply/management/commands/autoreply.py", line 208, in handle armessage = ARmessage.objects.get(mbox=mbox.id, enabled=True) File "/srv/modoboa/env/lib/python3.9/site-packages/django/db/models/manager.py", line 85, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/srv/modoboa/env/lib/python3.9/site-packages/django/db/models/query.py", line 439, in get raise self.model.MultipleObjectsReturned( modoboa_postfix_autoreply.models.MultipleObjectsReturned: get() returned more than one ARmessage -- it returned 2! )