mirror of
https://github.com/modoboa/modoboa-postfix-autoreply.git
synced 2026-04-25 08:35:53 +03:00
[GH-ISSUE #50] Problem with modoboa-postfix-autoreply #26
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#26
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 @panwaski on GitHub (Oct 2, 2017).
Original GitHub issue: https://github.com/modoboa/modoboa-postfix-autoreply/issues/50
In random cases, the mail server sends the message about the undelivered mail to the recipient with autoreply set.
Below the message content.
Name | Installed version | Last version | Description
Modoboa | 1.9.0 | 1.9.0 | The core part of Modoboa
Amavis frontend | 1.1.3 | 1.1.3 | Simple amavis management frontend
Contacts | 0.4.0 | 0.4.0 | Address book
PDF credentials | 1.2.1 | 1.2.1 | Generate PDF documents containing users' credentials
Postfix autoreply | 1.2.1 | 1.2.1 | Auto-reply (vacation) functionality using Postfix
Sieve filters | 1.1.1 | 1.1.1 | Plugin to easily create server-side filters
Statistics | 1.2.2 | 1.2.2 | Graphical statistics about emails traffic using RRDtool
Webmail | 1.2.1 | 1.2.1 | Simple IMAP webmail
Regards,
Christopher
@technik-rkd commented on GitHub (Nov 24, 2017):
Hello,
I have noticed this as well, but there were some changes as to how the Subject is generated since 1.2.1, so this problem with longer Subjects might be resolved in 1.2.2.
Regards.
@tonioo commented on GitHub (Dec 8, 2017):
Duplicates #41
@lmfrazao commented on GitHub (Jul 7, 2020):
got this on modoboa 1.15.0 with postfix autoreply 1.6.0
<"xxxxxxxxxx@xxxxx.xx"@autoreply.xxxxxxxxxx@xxxxx.xx>
(expanded from xxxxxxxxxx@xxxxx.xx): 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
execute_from_command_line(sys.argv) File
"/srv/modoboa/env/lib/python3.6/site-packages/django/core/management/init.py",
line 381, in execute_from_command_line utility.execute() File
"/srv/modoboa/env/lib/python3.6/site-packages/django/core/management/init.py",
line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv) File
"/srv/modoboa/env/lib/python3.6/site-packages/django/core/management/base.py",
line 323, in run_from_argv self.execute(*args, **cmd_options) File
"/srv/modoboa/env/lib/python3.6/site-packages/django/core/management/base.py",
line 364, in execute output = self.handle(*args, **options) File
"/srv/modoboa/env/lib/python3.6/site-packages/modoboa_postfix_autoreply/management/commands/autoreply.py",
line 214, in handle send_autoreply(sender, mbox, armessage,
original_msg) File
"/srv/modoboa/env/lib/python3.6/site-packages/modoboa_postfix_autoreply/management/commands/autoreply.py",
line 107, in send_autoreply msg.send() File
"/srv/modoboa/env/lib/python3.6/site-packages/django/core/mail/message.py",
line 291, in send return
self.get_connection(fail_silently).send_messages([self]) File
"/srv/modoboa/env/lib/python3.6/site-packages/django/core/mail/backends/smtp.py",
line 110, in send_messages sent = self._send(message) File
"/srv/modoboa/env/lib/python3.6/site-packages/django/core/mail/backends/smtp.py",
line 124, in _send message = email_message.message() File
"/srv/modoboa/env/lib/python3.6/site-packages/django/core/mail/message.py",
line 275, in message msg[name] = value File
"/srv/modoboa/env/lib/python3.6/site-packages/django/core/mail/message.py",
line 169, in setitem name, val = forbid_multi_line_headers(name,
val, self.encoding) File
"/srv/modoboa/env/lib/python3.6/site-packages/django/core/mail/message.py",
line 60, in forbid_multi_line_headers raise BadHeaderError("Header
values can't contain newlines (got %r for header %r)" % (val, name))
django.core.mail.message.BadHeaderError: Header values can't contain
newlines (got '\n
xxxxxxxxxx@xxxxx.xx'
for header 'In-Reply-To')
@borisdigital commented on GitHub (Aug 30, 2021):
This still seems to be a problem with Modoboa-1.17.0 and Postfix-autoreply-1.6.1, at least this happens reguarly at one of our modoboa servers (still running Debian "Stretch").
@tonioo Is this supposed to be fixed?