From 5151299841f4782b1f44c3f2c66e7fa990eae898 Mon Sep 17 00:00:00 2001 From: Antoine Nguyen Date: Mon, 6 Jan 2014 09:52:05 +0100 Subject: [PATCH] Wrong condition fixed. fix #507 --- .../postfix_autoreply/management/commands/autoreply.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modoboa/extensions/postfix_autoreply/management/commands/autoreply.py b/modoboa/extensions/postfix_autoreply/management/commands/autoreply.py index 450fee4fe..63fb9b655 100644 --- a/modoboa/extensions/postfix_autoreply/management/commands/autoreply.py +++ b/modoboa/extensions/postfix_autoreply/management/commands/autoreply.py @@ -12,7 +12,7 @@ from modoboa.extensions.postfix_autoreply.models import ARmessage, ARhistoric def send_autoreply(sender, mailbox, armessage): - if armessage.fromdate < timezone.now(): + if armessage.fromdate > timezone.now(): return if armessage.untildate is not None \ and armessage.untildate < timezone.now():