summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/src/deliver.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/src/deliver.c b/src/src/deliver.c
index 2ee71f502..ec030fefb 100644
--- a/src/src/deliver.c
+++ b/src/src/deliver.c
@@ -4876,17 +4876,8 @@ if (s)
s += 2; /* skip ": " */
fprintf(f, "Diagnostic-Code: smtp; ");
}
-/* user_message set? use it instead */
-else if ((s = addr->user_message))
- {
- DEBUG(D_deliver)
- debug_printf("DSN Diagnostic-Code: addr->user_message = %s\n", s);
- /* local errors like timeout get 426 */
- fprintf(f, "Diagnostic-Code: smtp; 426 ");
- }
/* no message available. do nothing */
-else
- return;
+else return;
while (*s)
if (*s == '\\' && s[1] == 'n')