diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-12-11 20:50:56 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-12-11 20:50:56 +0000 |
commit | 0caa4c315c8437a04f1cd5e047d0340586e0b619 (patch) | |
tree | 58516db7d059aed170ddc181d2dd09d70de251c0 /usr.bin/sudo | |
parent | d2b521b0da1bea57595069812c57609e558c8d1f (diff) |
rfc 3834 support: Auto-Submitted: auto-generated on lots of things; from Tamas TEVESZ; ok millert
Diffstat (limited to 'usr.bin/sudo')
-rw-r--r-- | usr.bin/sudo/logging.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/sudo/logging.c b/usr.bin/sudo/logging.c index 1e1b997be6a..237434d7972 100644 --- a/usr.bin/sudo/logging.c +++ b/usr.bin/sudo/logging.c @@ -514,7 +514,8 @@ send_mail(line) mail = fdopen(pfd[1], "w"); /* Pipes are all setup, send message via sendmail. */ - (void) fprintf(mail, "To: %s\nFrom: %s\nSubject: ", + (void) fprintf(mail, "Auto-Submitted: auto-generated\n" + "To: %s\nFrom: %s\nSubject: ", def_mailto, user_name); for (p = def_mailsub; *p; p++) { /* Expand escapes in the subject */ |