mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-27 01:45:58 +03:00
[GH-ISSUE #544] Add Auto-Submitted, In-Reply-To, References, Precedence headers in autoreply messages #517
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#517
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 @themr0c on GitHub (Apr 10, 2014).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/544
According to https://tools.ietf.org/html/rfc3834#section-3.1 some fields are mandatory in autoreply messages:
The In-Reply-To and References fields SHOULD be provided in the header of a response message if there was a Message-ID field in the subject message.
The Auto-Submitted field, with a value of "auto-replied", SHOULD be included in the message header of any automatic response.
The Subject field SHOULD contain a brief indication that the message is an automatic response, followed by contents of the Subject field (or a portion thereof) from the subject message. The prefix "Auto:" MAY be used as such an indication. If used, this prefix SHOULD be followed by an ASCII SPACE character (0x20).
A response MAY include a Precedence field. The field-body of the Precedence field MAY consist of the text "junk", "list", "bulk", or other text deemed appropriate by the responder.
[NB: for Precedence: auto_reply is also an option]
Actual message is like :
@tonioo commented on GitHub (Jul 20, 2014):
Actually this feature is more complicated to add than expected.
The current autoreply script is using Postfix's pipe service. Unfortunately, this one does not provide the original message-id, so we can't add the In-Reply-To header to the response.
It seems the right way to build an autoreply is to build a MILTER but that's a completly different story! I see three options :
I think the last solution would be the quickest to implement but it would be available to sieve/managesieve servers only.
What do you think?
@piwats commented on GitHub (Jul 20, 2014):
Hi,
according to http://wiki2.dovecot.org/Pigeonhole/Sieve/Examples#Vacation_auto-reply
it is possible to include the original subject using the variables extension.
Since dovecot can do sieve, why not use it for the auto-replies?
-Paul
@tonioo commented on GitHub (May 3, 2015):
This issue was moved to modoboa/modoboa-postfix-autoreply#3