mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-27 18:05:58 +03:00
[GH-ISSUE #507] Modoboa 1.1.0, postfix autoreply not working #488
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#488
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 @virtuaris on GitHub (Jan 6, 2014).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/507
hi tonioo,
after a fresh install of modoboa 1.1.0 i noticed that the autoreply feature is not working; everything is configured as it should be;
executing ''manage.py autoreply'' as postfix autoreply transport user (vmail) returns no error but no mail is sent;
so i checked the extension command file (modoboa/extensions/postfix_autoreply/management/commands/autoreply.py) and was puzzled by the following lines (15,):
if armessage.fromdate < timezone.now(): returnliterally this says to me "if the valid-from timestamp of the autoreply message is in the past, do nothing";
imho this should be
if armessage.fromdate > timezone.now(): return(at least this works for me)
or do i missunderstand your intentions?
bests
harald
@tonioo commented on GitHub (Jan 6, 2014):
Hi Harald,
it seems you're right, the condition is wrong. This part is pretty tricky to unit test, I need to find a way.