mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-26 17:36:01 +03:00
[GH-ISSUE #1159] mail return issue #954
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#954
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 @mzummo on GitHub (Jun 27, 2017).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1159
This is the mail system at host jjl-mx-1.xxxxxx.com. I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below. For further assistance, please send mail to postmaster. If you do so, please include this problem report. You can delete your own text from the attached returned message. The mail system <"ghoffman@xxxxxx..com"@autoreply.xxxxxx.com> (expanded from ghoffman@xxxxxx.com): 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/local/lib/python2.7/site-packages/django/core/management/init.py", line 367, in execute_from_command_line utility.execute() File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/management/init.py", line 359, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/management/base.py", line 294, in run_from_argv self.execute(*args, **cmd_options) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/management/base.py", line 345, in execute output = self.handle(*args, **options) File "/srv/modoboa/env/local/lib/python2.7/site-packages/modoboa_postfix_autoreply/management/commands/autoreply.py", line 169, in handle send_autoreply(sender, mbox, armessage, original_msg) File "/srv/modoboa/env/local/lib/python2.7/site-packages/modoboa_postfix_autoreply/management/commands/autoreply.py", line 78, in send_autoreply msg.send() File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/mail/message.py", line 342, in send return self.get_connection(fail_silently).send_messages([self]) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/mail/backends/smtp.py", line 107, in send_messages sent = self._send(message) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/mail/backends/smtp.py", line 121, in _send message = email_message.message() File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/mail/message.py", line 307, in message msg['Subject'] = self.subject File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/mail/message.py", line 232, in setitem name, val = forbid_multi_line_headers(name, val, self.encoding) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/mail/message.py", line 92, 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 u'Auto: I am currently out of the office Re: Fwd: RE: Picked Up Issued Garnishment - No JJL Record - JJL to Serve?\n (Georgia)' for header u'Subject')
@tonioo commented on GitHub (Jun 28, 2017):
@mzummo Looks like an autoreply issue. Which version are you running?
@mzummo commented on GitHub (Jun 28, 2017):
@tonioo modoboa 1.7.2 - auto reply version 1.2.1
@tonioo commented on GitHub (Jun 28, 2017):
I think your issue is the same than https://github.com/modoboa/modoboa-postfix-autoreply/issues/45 but with a complete stacktrace in your case.