X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Fmoan.c;h=63b3426bf9c7279d03336593d8ea5ffabb75628e;hb=ed72ace5f09d07c620b96efaf72d328d6e7439be;hp=89a9b847d0bb0b7eab2cf3446f22f00d81bcfec1;hpb=059ec3d9952740285fb1ebf47961b8aca2eb1b4a;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/moan.c b/src/src/moan.c index 89a9b847d..63b3426bf 100644 --- a/src/src/moan.c +++ b/src/src/moan.c @@ -1,10 +1,10 @@ -/* $Cambridge: exim/src/src/moan.c,v 1.1 2004/10/07 10:39:01 ph10 Exp $ */ +/* $Cambridge: exim/src/src/moan.c,v 1.5 2006/02/07 11:19:00 ph10 Exp $ */ /************************************************* * Exim - an Internet mail transport agent * *************************************************/ -/* Copyright (c) University of Cambridge 1995 - 2004 */ +/* Copyright (c) University of Cambridge 1995 - 2006 */ /* See the file NOTICE for conditions of use and distribution. */ /* Functions for sending messages to sender or to mailmaster. */ @@ -61,7 +61,7 @@ else DEBUG(D_any) debug_printf("Child process %d for sending message\n", pid); f = fdopen(fd, "wb"); if (errors_reply_to != NULL) fprintf(f, "Reply-To: %s\n", errors_reply_to); -fprintf(f, "Auto_submitted: auto-generated\n"); +fprintf(f, "Auto-Submitted: auto-replied\n"); fprintf(f, "From: Mail Delivery System \n", qualify_domain_sender); fprintf(f, "To: %s\n", recipient); @@ -248,7 +248,7 @@ if (message_file != NULL) /* Close the file, which should send an EOF to the child process that is receiving the message. Wait for it to finish, without a timeout. */ -fclose(f); +(void)fclose(f); status = child_close(pid, 0); /* Waits for child to close */ if (status != 0) { @@ -414,7 +414,7 @@ if (pid < 0) } f = fdopen(fd, "wb"); -fprintf(f, "Auto_submitted: auto-generated\n"); +fprintf(f, "Auto-Submitted: auto-replied\n"); fprintf(f, "From: Mail Delivery System \n", qualify_domain_sender); fprintf(f, "To: %s\n", who); @@ -437,7 +437,7 @@ if (addr != NULL) } } -fclose(f); +(void)fclose(f); child_close(pid, 0); /* Waits for child to close; no timeout */ } @@ -658,7 +658,7 @@ if (pid < 0) } f = fdopen(fd, "wb"); -fprintf(f, "Auto_submitted: auto-generated\n"); +fprintf(f, "Auto-Submitted: auto-replied\n"); fprintf(f, "From: Mail Delivery System \n", qualify_domain_sender); fprintf(f, "To: %s\n", s); @@ -692,7 +692,7 @@ if (some) else fprintf(f, "No valid addresses were generated.\n"); -fclose(f); +(void)fclose(f); child_close(pid, 0); /* Waits for child to close; no timeout */ return TRUE;