]> granicus.if.org Git - cronie/commitdiff
The Auto-Submitted header is defined (and suggested by) RFC3834.
authormmaslano <mmaslano@redhat.com>
Fri, 17 Aug 2007 13:17:56 +0000 (15:17 +0200)
committermmaslano <mmaslano@redhat.com>
Fri, 24 Aug 2007 13:06:00 +0000 (15:06 +0200)
Added into mail header: 'Auto-Submitted: auto-generated'

do_command.c

index bf07bd15db3d4125dbbb05a3e7f717f691fe7a96..33a43b348d2c51ac058a1e731f66a17bd2f207a7 100644 (file)
@@ -436,6 +436,11 @@ child_process(entry *e, user *u) {
                                        fprintf(mail,"Content-Transfer-Encoding: %s\n", content_transfer_encoding);
                                }
 
+                               /* The Auto-Submitted header is
+                                * defined (and suggested by) RFC3834.
+                                */
+                               fprintf(mail, "Auto-Submitted: auto-generated\n");
+
                                for (env = jobenv;  *env;  env++)
                                        fprintf(mail, "X-Cron-Env: <%s>\n",
                                                *env);