[GH-ISSUE #170] autoreply script failed if not 'until date' is defined #154

Closed
opened 2026-02-27 11:10:22 +03:00 by kerem · 1 comment
Owner

Originally created by @tonioo on GitHub (Dec 4, 2013).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/170

Originally assigned to: @tonioo on GitHub.

Originally created by Antoine Nguyen on 2011-08-25T09:29:11Z

Traceback (most recent call last):
File "/var/www/modoboa/scripts/postfix_autoreply/autoreply.py", line 64, in      
send_autoreply(sender, mbox, armessage)   
File "/var/www/modoboa/scripts/postfix_autoreply/autoreply.py", line 15, in send_autoreply     
if armessage.untildate < datetime.datetime.now(): [[TypeError]]: can't compare datetime.datetime to [[NoneType]] )
Originally created by @tonioo on GitHub (Dec 4, 2013). Original GitHub issue: https://github.com/modoboa/modoboa/issues/170 Originally assigned to: @tonioo on GitHub. **Originally created by Antoine Nguyen on 2011-08-25T09:29:11Z** <pre> Traceback (most recent call last): File "/var/www/modoboa/scripts/postfix_autoreply/autoreply.py", line 64, in <module> send_autoreply(sender, mbox, armessage) File "/var/www/modoboa/scripts/postfix_autoreply/autoreply.py", line 15, in send_autoreply if armessage.untildate < datetime.datetime.now(): [[TypeError]]: can't compare datetime.datetime to [[NoneType]] ) </pre>
kerem 2026-02-27 11:10:22 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@tonioo commented on GitHub (Dec 4, 2013):

Posted by Redmine Admin on 2011-08-25T09:34:10Z

In [58ba1ee996e60db749bb7b9504d7373c3d3d661d]:

#!CommitTicketReference repository="" revision="58ba1ee996e60db749bb7b9504d7373c3d3d661d"
Auto-reply extension was a little bit broken :p
fixed #157 & #158
<!-- gh-comment-id:29813919 --> @tonioo commented on GitHub (Dec 4, 2013): **Posted by Redmine Admin on 2011-08-25T09:34:10Z** In [58ba1ee996e60db749bb7b9504d7373c3d3d661d]: <pre> #!CommitTicketReference repository="" revision="58ba1ee996e60db749bb7b9504d7373c3d3d661d" Auto-reply extension was a little bit broken :p fixed #157 & #158 </pre>
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#154
No description provided.