1
1
[%# delivery_status_notification.tt2 ~%]
2
2
Content-Type: multipart/report; report-type=delivery-status;
3
3
boundary="[% boundary %]"
4
- [% IF action == "delivered" -%]
5
- Subject: [%"Message was successfully delivered "|loc|qencode%]
4
+ [% IF status == '2.3.0' || status == '4.3.0' -%]
5
+ Subject: [%"Message distribution: Forwarded "|loc|qencode%]
6
6
[% ELSIF status == '4.2.1' -%]
7
7
Subject: [%"List could not be created"|loc|qencode%]
8
8
[% ELSIF status == '4.2.4' -%]
@@ -25,6 +25,8 @@ Subject: [%"Cannot personalize message"|loc|qencode%]
25
25
Subject: [%"A virus in your mail"|loc|qencode%]
26
26
[% ELSIF status == '5.7.1' -%]
27
27
Subject: [%"Message distribution: Authorization denied"|loc|qencode%]
28
+ [% ELSIF action == "delivered" -%]
29
+ Subject: [%"Message was successfully delivered"|loc|qencode%]
28
30
[% ELSE -%]
29
31
Subject: [%"Delivery Status Notification: %1"|loc(action)|qencode%]
30
32
[% END -%]
@@ -37,7 +39,10 @@ Content-Disposition: inline
37
39
Content-Description: Notification
38
40
39
41
[%|loc%]This is an automatic response sent by Sympa Mailing Lists Manager.[%END%]
40
- [% IF action == "delivered" -%]
42
+ [% IF status == '2.3.0' || status == '4.3.0' -%]
43
+ [%|loc(listname)%]Your message to the list '%1' has been forwarded to the moderator(s)[%END%]
44
+
45
+ [% ELSIF action == "delivered" -%]
41
46
[%|loc%]Message was successfully delivered to following address:[%END%]
42
47
43
48
[% recipient %]
@@ -143,8 +148,11 @@ Remote-MTA: dns; [% domain %]
143
148
Diagnostic-Code: X-Sympa; [% diagnostic_code %]
144
149
145
150
--[% boundary %]
146
- [%# Attach only header part of potentially unsafe contents. ~%]
147
- [% IF status == '5.1.1' || status == '5.1.2'
151
+ [%# Attach only header part of potentially unsafe contents.
152
+ # And, 2.1.5, 2.3.0 and 4.3.0 are successful stata and don't need copy of
153
+ # message content. ~%]
154
+ [% IF status == '2.1.5' || status == '2.3.0' || status == '4.3.0'
155
+ || status == '5.1.1' || status == '5.1.2'
148
156
|| status == '5.2.3' || status == '5.7.0' -%]
149
157
Content-Type: text/rfc822-headers
150
158
Content-Disposition: inline
0 commit comments