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