mirror of
https://github.com/modoboa/modoboa-postfix-autoreply.git
synced 2026-04-25 08:35:53 +03:00
[GH-ISSUE #45] Auto Reply Error & return to sender #24
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#24
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 @yannfill on GitHub (May 17, 2017).
Original GitHub issue: https://github.com/modoboa/modoboa-postfix-autoreply/issues/45
I see an error with one account that result in a non-delivery notification to the sender:
to=<email@example.com@autoreply.example.com>, orig_to=<email@example.com>, relay=autoreply, delay=0.78, delays=0.14/0/0/0.64, dsn=5.3.0, status=bounced (Command died with status 1: "python". Command output: Traceback (most recent call last): File "/opt/ModoboaWeb/manage.py", line 10, in <module> execute_from_command_line(sys.argv) File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 367, in execute_from_command_line utility.execute() File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 359, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 294, in run_from_argv self.execute(*args, **cmd_options) File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 345, in execute output = self.handle(*args, **options) File "/usr/local/lib/python2.7/dist-packages/modoboa_postfix_autoreply/management/commands/autoreply.py", line 169, in handle send_autoreply(sender, mbox, armessage, original_msg) File "/usr/local/lib/python2.7/dist-packages/modoboa_postfix_autoreply/management/commands/autoreply.py", line 78, in send_autoreply msg.send() File "/usr/local/lib/python2.7/dist-packages/django/core/mail/message.py", line 342, in send return self.get_connection(fail_silently).send_messages([self]) File "/usr/local/lib/python2.7/dist-packages/django/core/mail/backends/smtp.py", line 107, in send_messages sent = self._send(message) File "/usr/local/lib/python2.7/dist-packages/django/core/mail/backends/smtp.py", line 121, in _send message = email_message.message() File "/usr/local/lib/python2.7/dist-packages/django/core/mail/message.py", line 307, in message msg['Subject'] = self.subject File "/usr/local/lib/python2.7/dist-packages/django/core/mail/message.py", line 232,What's wrong ?
@tonioo commented on GitHub (May 17, 2017):
@yannfill I don't know because the stack trace is not complete...
@yannfill commented on GitHub (May 18, 2017):
How can I get the whole stack trace if it is truncated by Postfix ?
@tonioo commented on GitHub (May 18, 2017):
Maybe looking at the logs?
@yannfill commented on GitHub (May 18, 2017):
That's what I say, it's all I get from Postfix log, the error line is truncated.
@tonioo commented on GitHub (May 18, 2017):
The other solution is to send a message to this account and wait for the NDR message, it should contain the error too...
@yannfill commented on GitHub (May 19, 2017):
It's happening randomly, I can't reproduce it yet.
@tonioo commented on GitHub (Jun 28, 2017):
Looks like an issue with newlines in Subject header. I thought https://github.com/modoboa/modoboa-postfix-autoreply/pull/42 fixed it... @gawel ?
@tonioo commented on GitHub (Sep 22, 2017):
@tonioo commented on GitHub (Sep 22, 2017):
According to line numbers, those errors are not caused by the latest version of this plugin... Please make sure you're using the latest version.