dovecot-1.0: Changed human readable rejection message.
dovecot at dovecot.org
dovecot at dovecot.org
Mon Aug 27 15:58:21 EEST 2007
details: http://hg.dovecot.org/dovecot-1.0/rev/34445ab6cd58
changeset: 5390:34445ab6cd58
user: Timo Sirainen <tss at iki.fi>
date: Mon Aug 27 15:58:16 2007 +0300
description:
Changed human readable rejection message.
diffstat:
1 file changed, 2 insertions(+), 5 deletions(-)
src/deliver/mail-send.c | 7 ++-----
diffs (24 lines):
diff -r bc2b06d0fba6 -r 34445ab6cd58 src/deliver/mail-send.c
--- a/src/deliver/mail-send.c Fri Aug 24 21:43:28 2007 +0300
+++ b/src/deliver/mail-send.c Mon Aug 27 15:58:16 2007 +0300
@@ -16,10 +16,7 @@
#include <sys/wait.h>
#define MAIL_REJECTION_HUMAN_REASON \
-"Your message was automatically rejected by Dovecot Mail Delivery Agent.\r\n" \
-"\r\n" \
-"The following reason was given:\r\n" \
-"%s\r\n"
+ "Your message to <%s> was automatically rejected:\r\n%s"
int global_outgoing_count = 0;
@@ -69,7 +66,7 @@ int mail_send_rejection(struct mail *mai
fprintf(f, "Content-Type: text/plain; charset=utf-8\r\n");
fprintf(f, "Content-Disposition: inline\r\n");
fprintf(f, "Content-Transfer-Encoding: 8bit\r\n\r\n");
- fprintf(f, MAIL_REJECTION_HUMAN_REASON"\r\n", reason);
+ fprintf(f, MAIL_REJECTION_HUMAN_REASON"\r\n", recipient, reason);
/* MDN status report */
fprintf(f, "--%s\r\n"
More information about the dovecot-cvs
mailing list