=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/newsyslog/newsyslog.c,v retrieving revision 1.82 retrieving revision 1.83 diff -c -r1.82 -r1.83 *** src/usr.bin/newsyslog/newsyslog.c 2004/09/14 22:25:33 1.82 --- src/usr.bin/newsyslog/newsyslog.c 2006/12/11 20:50:54 1.83 *************** *** 1,4 **** ! /* $OpenBSD: newsyslog.c,v 1.82 2004/09/14 22:25:33 deraadt Exp $ */ /* * Copyright (c) 1999, 2002, 2003 Todd C. Miller --- 1,4 ---- ! /* $OpenBSD: newsyslog.c,v 1.83 2006/12/11 20:50:54 deraadt Exp $ */ /* * Copyright (c) 1999, 2002, 2003 Todd C. Miller *************** *** 72,78 **** */ #ifndef lint ! static const char rcsid[] = "$OpenBSD: newsyslog.c,v 1.82 2004/09/14 22:25:33 deraadt Exp $"; #endif /* not lint */ #ifndef CONF --- 72,78 ---- */ #ifndef lint ! static const char rcsid[] = "$OpenBSD: newsyslog.c,v 1.83 2006/12/11 20:50:54 deraadt Exp $"; #endif /* not lint */ #ifndef CONF *************** *** 1044,1049 **** --- 1044,1050 ---- warn("openmail"); goto cleanup; } + fprintf(fp, "Auto-Submitted: auto-generated\n"); fprintf(fp, "To: %s\nSubject: LOGFILE NOTIFICATION: %s\n\n\n", ent->whom, ent->log); fwrite(rb, 1, rd, fp);