diff options
author | drebs <drebs@leap.se> | 2015-04-15 14:49:56 -0300 |
---|---|---|
committer | drebs <drebs@leap.se> | 2015-04-20 16:12:01 -0300 |
commit | 3353e2bccb2625ae06472721cfbb8cf53144a255 (patch) | |
tree | c770e6abb250451cdc753836c08e6482b71457c9 /pkg | |
parent | ae90151c632b376abc2a5bdf76d136b3a3629ea6 (diff) |
[bug] implement message bouncing according to RFCs
If we do not adhere to the standads, we may have a lot of problems when
bouncing a message. This commit implements a bounce message according to:
* RFC 6522 - The Multipart/Report Media Type for the Reporting of Mail
System Administrative Messages
* RFC 3834 - Do not bounce for unknown or invalid addresses.
* RFC 3464 - An Extensible Message Format for Delivery Status Notification.
Closes: #6858.
Diffstat (limited to 'pkg')
-rwxr-xr-x | pkg/mx.tac | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -46,8 +46,8 @@ password = config.get("couchdb", "password") server = config.get("couchdb", "server") port = config.get("couchdb", "port") -bounce_from = "MAILER-DAEMON" -bounce_subject = "Delivery failure" +bounce_from = "Mail Delivery Subsystem <MAILER-DAEMON>" +bounce_subject = "Undelivered Mail Returned to Sender" try: bounce_from = config.get("bounce", "from") |