summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-12-11 20:50:56 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-12-11 20:50:56 +0000
commit0caa4c315c8437a04f1cd5e047d0340586e0b619 (patch)
tree58516db7d059aed170ddc181d2dd09d70de251c0 /usr.sbin
parentd2b521b0da1bea57595069812c57609e558c8d1f (diff)
rfc 3834 support: Auto-Submitted: auto-generated on lots of things; from Tamas TEVESZ; ok millert
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/lpr/lpd/printjob.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/lpr/lpd/printjob.c b/usr.sbin/lpr/lpd/printjob.c
index 1a9c3221023..59185827041 100644
--- a/usr.sbin/lpr/lpd/printjob.c
+++ b/usr.sbin/lpr/lpd/printjob.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: printjob.c,v 1.40 2005/04/28 10:14:26 moritz Exp $ */
+/* $OpenBSD: printjob.c,v 1.41 2006/12/11 20:50:55 deraadt Exp $ */
/* $NetBSD: printjob.c,v 1.31 2002/01/21 14:42:30 wiz Exp $ */
/*
@@ -1121,6 +1121,7 @@ sendmail(char *user, int bombed)
_exit(0);
} else if (s > 0) { /* parent */
dup2(p[1], 1);
+ printf("Auto-Submitted: auto-generated\n");
printf("To: %s@%s\n", user, fromhost);
printf("Subject: %s printer job \"%s\"\n", printer,
*jobname ? jobname : "<unknown>");