]> git.pld-linux.org Git - packages/postfix.git/blame - postfix-pl.patch
- adapterized (sorted %verify flags)
[packages/postfix.git] / postfix-pl.patch
CommitLineData
830ba608 1diff -Nur postfix-1.1.2.orig/src/bounce/bounce_notify_util.c postfix-1.1.2/src/bounce/bounce_notify_util.c
2--- postfix-1.1.2.orig/src/bounce/bounce_notify_util.c Mon Nov 26 22:47:05 2001
3+++ postfix-1.1.2/src/bounce/bounce_notify_util.c Mon Jan 28 12:33:52 2002
447bfc58 4@@ -275,7 +275,7 @@
f964c7c7
AF
5 post_mail_fputs(bounce, dest == var_bounce_rcpt
6 || dest == var_2bounce_rcpt || dest == var_delay_rcpt ?
7 "Subject: Postmaster Copy: Undelivered Mail" :
8- "Subject: Undelivered Mail Returned to Sender");
9+ "Subject: Zwrot niedostarczonej poczty / Undelivered Mail Returned to Sender");
10 }
11
12 /*
447bfc58 13@@ -285,7 +285,7 @@
f964c7c7
AF
14 post_mail_fputs(bounce, dest == var_bounce_rcpt
15 || dest == var_2bounce_rcpt || dest == var_delay_rcpt ?
16 "Subject: Postmaster Warning: Delayed Mail" :
17- "Subject: Delayed Mail (still being retried)");
18+ "Subject: Opoznienie wyslania / Delayed Mail (still being retried)");
19 }
20 post_mail_fprintf(bounce, "To: %s",
21 STR(quote_822_local(bounce_info->buf, dest)));
447bfc58 22@@ -300,15 +300,6 @@
f964c7c7
AF
23 post_mail_fputs(bounce, "");
24 post_mail_fputs(bounce, "This is a MIME-encapsulated message.");
25
26- /*
27- * MIME header.
28- */
29- post_mail_fputs(bounce, "");
30- post_mail_fprintf(bounce, "--%s", bounce_info->mime_boundary);
31- post_mail_fprintf(bounce, "Content-Description: %s", "Notification");
32- post_mail_fprintf(bounce, "Content-Type: %s", "text/plain");
33- post_mail_fputs(bounce, "");
34-
35 return (vstream_ferror(bounce));
36 }
37
447bfc58 38@@ -324,6 +315,73 @@
f964c7c7
AF
39 * word wrapping to make the text look nicer. No matter how hard we would
40 * try, receiving bounced mail will always suck.
41 */
42+
43+
44+ /* teraz po polsku */
45+ post_mail_fputs(bounce, "");
46+ post_mail_fprintf(bounce, "--%s", bounce_info->mime_boundary);
47+ post_mail_fprintf(bounce, "Content-Description: %s", "Informacja");
48+ post_mail_fprintf(bounce, "Content-Type: %s", "text/plain; charset=iso-8859-2");
49+ post_mail_fprintf(bounce, "Content-Transfer-Encoding: %s", "8bit");
50+ post_mail_fputs(bounce, "");
51+
52+ post_mail_fprintf(bounce, "Informacja od systemu pocztowego %s.",
53+ var_myhostname);
54+ post_mail_fputs(bounce, "");
55+ if (bounce_info->flush) {
56+ post_mail_fputs(bounce,
57