@@ -251,10 +251,14 @@ my %diag_messages = (
251
251
' default' => ' Other undefined Status' ,
252
252
# success
253
253
' 2.1.5' => ' Destination address valid' ,
254
+ # forwarded to moderators
255
+ ' 2.3.0' => ' Other or undefined mail system status' ,
254
256
# no available family, dynamic list creation failed, etc.
255
257
' 4.2.1' => ' Mailbox disabled, not accepting messages' ,
256
258
# no subscribers in dynamic list
257
259
' 4.2.4' => ' Mailing list expansion problem' ,
260
+ # held for moderation
261
+ ' 4.3.0' => ' Other or undefined mail system status' ,
258
262
# unknown list address
259
263
' 5.1.1' => ' Bad destination mailbox address' ,
260
264
# unknown robot
@@ -335,7 +339,10 @@ sub send_dsn {
335
339
# Diagnostic message.
336
340
$diag ||= $diag_messages {$status } || $diag_messages {' default' };
337
341
# Delivery result, "failed" or "delivered".
338
- my $action = (index ($status , ' 2' ) == 0) ? ' delivered' : ' failed' ;
342
+ my $action =
343
+ ($status eq ' 4.3.0' ) ? ' delayed'
344
+ : (index ($status , ' 2' ) == 0) ? ' delivered'
345
+ : ' failed' ;
339
346
340
347
# Attach original (not decrypted) content.
341
348
my $msg_string = $message -> as_string(original => 1);
0 commit comments