savemail.c (71348) | savemail.c (73191) |
---|---|
1/* | 1/* |
2 * Copyright (c) 1998-2000 Sendmail, Inc. and its suppliers. | 2 * Copyright (c) 1998-2001 Sendmail, Inc. and its suppliers. |
3 * All rights reserved. 4 * Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved. 5 * Copyright (c) 1988, 1993 6 * The Regents of the University of California. All rights reserved. 7 * 8 * By using this file, you agree to the terms and conditions set 9 * forth in the LICENSE file which can be found at the top level of 10 * the sendmail distribution. 11 * 12 */ 13 14#ifndef lint | 3 * All rights reserved. 4 * Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved. 5 * Copyright (c) 1988, 1993 6 * The Regents of the University of California. All rights reserved. 7 * 8 * By using this file, you agree to the terms and conditions set 9 * forth in the LICENSE file which can be found at the top level of 10 * the sendmail distribution. 11 * 12 */ 13 14#ifndef lint |
15static char id[] = "@(#)$Id: savemail.c,v 8.212.4.11 2000/12/18 18:00:44 ca Exp $"; | 15static char id[] = "@(#)$Id: savemail.c,v 8.212.4.12 2001/01/07 19:31:05 gshapiro Exp $"; |
16#endif /* ! lint */ 17 | 16#endif /* ! lint */ 17 |
18/* $FreeBSD: head/contrib/sendmail/src/savemail.c 71348 2001-01-21 22:21:43Z gshapiro $ */ | 18/* $FreeBSD: head/contrib/sendmail/src/savemail.c 73191 2001-02-28 00:22:47Z gshapiro $ */ |
19 20#include <sendmail.h> 21 22 23static void errbody __P((MCI *, ENVELOPE *, char *)); 24static bool pruneroute __P((char *)); 25 26/* --- 985 unchanged lines hidden (view full) --- 1012 { 1013 (void) snprintf(buf, sizeof buf, 1014 "Original-Envelope-Id: %.800s", 1015 xuntextify(e->e_parent->e_envid)); 1016 putline(buf, mci); 1017 } 1018 1019 /* Reporting-MTA: is us (required) */ | 19 20#include <sendmail.h> 21 22 23static void errbody __P((MCI *, ENVELOPE *, char *)); 24static bool pruneroute __P((char *)); 25 26/* --- 985 unchanged lines hidden (view full) --- 1012 { 1013 (void) snprintf(buf, sizeof buf, 1014 "Original-Envelope-Id: %.800s", 1015 xuntextify(e->e_parent->e_envid)); 1016 putline(buf, mci); 1017 } 1018 1019 /* Reporting-MTA: is us (required) */ |
1020 (void) snprintf(buf, sizeof buf, "Reporting-MTA: dns; %.800s", MyHostName); | 1020 (void) snprintf(buf, sizeof buf, "Reporting-MTA: dns; %.800s", 1021 MyHostName); |
1021 putline(buf, mci); 1022 1023 /* DSN-Gateway: not relevant since we are not translating */ 1024 1025 /* Received-From-MTA: shows where we got this message from */ 1026 if (RealHostName != NULL) 1027 { 1028 /* XXX use $s for type? */ --- 594 unchanged lines hidden --- | 1022 putline(buf, mci); 1023 1024 /* DSN-Gateway: not relevant since we are not translating */ 1025 1026 /* Received-From-MTA: shows where we got this message from */ 1027 if (RealHostName != NULL) 1028 { 1029 /* XXX use $s for type? */ --- 594 unchanged lines hidden --- |