[GH-ISSUE #37] Performance issue #21

Closed
opened 2026-02-27 10:25:20 +03:00 by kerem · 2 comments
Owner

Originally created by @gawel on GitHub (Feb 17, 2017).
Original GitHub issue: https://github.com/modoboa/modoboa-postfix-autoreply/issues/37

Regarding http://www.postfix.org/VIRTUAL_README.html#autoreplies it seems that you dont have to always call the autoreply script

The script is called iif the mail has a vmap to an autoreply domain.

But modoboa seems to always call that script even if there is no autoreply to send. And this seems to cause some performances issues on our server.

Do you think that this can be avoid ?
Maybe by adding a temporary "autoreply" alias when the user set an autoreply ?

Originally created by @gawel on GitHub (Feb 17, 2017). Original GitHub issue: https://github.com/modoboa/modoboa-postfix-autoreply/issues/37 Regarding http://www.postfix.org/VIRTUAL_README.html#autoreplies it seems that you dont have to always call the autoreply script The script is called iif the mail has a vmap to an autoreply domain. But modoboa seems to always call that script even if there is no autoreply to send. And this seems to cause some performances issues on our server. Do you think that this can be avoid ? Maybe by adding a temporary "autoreply" alias when the user set an autoreply ?
kerem 2026-02-27 10:25:20 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@tonioo commented on GitHub (Feb 20, 2017):

Actually, the autoreply script is only called for users who have enabled their auto reply messages. (https://github.com/modoboa/modoboa-postfix-autoreply/blob/master/modoboa_postfix_autoreply/handlers.py#L81)

<!-- gh-comment-id:281034883 --> @tonioo commented on GitHub (Feb 20, 2017): Actually, the autoreply script is only called for users who have enabled their auto reply messages. (https://github.com/modoboa/modoboa-postfix-autoreply/blob/master/modoboa_postfix_autoreply/handlers.py#L81)
Author
Owner

@gawel commented on GitHub (Feb 20, 2017):

Fixed by repair https://github.com/modoboa/modoboa/pull/1042 Thanks

<!-- gh-comment-id:281093985 --> @gawel commented on GitHub (Feb 20, 2017): Fixed by repair https://github.com/modoboa/modoboa/pull/1042 Thanks
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-postfix-autoreply-modoboa#21
No description provided.