Opened 15 years ago
Closed 15 years ago
#9367 closed enhancement (duplicate)
Modify/Create a ticket responses poorly with a slow SMTP server
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.12b1 |
Severity: | normal | Keywords: | notification |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
With SMTP notification enabled, and a slow SMTP server, operations such as modify/create tickets will response poorly.
To improve responsivity, some asynchronous mechanism may need to be employed. In such a mechanism, pending emails may reside in a queue, and the queue may be backed by a persistent storage, in case of a sudden crash, the pending emails can be resent.
Attachment is a script which will improve responsivity. It's compatible with the "SendmailEmailSender interface". To use it, you need:
- set mailcache dir and SMTP stuffs in the script.
- set trac.ini:
[notification] email_sender = SendmailEmailSender sendmail_path = /path/to/mailSender.py smtp_enabled = true
Duplicate of #9368