]> granicus.if.org Git - cronie/commitdiff
The mail header for automatic reply will now contain another field:
authorMarcela Mašláňová <mmaslano@redhat.com>
Thu, 12 Apr 2012 11:08:39 +0000 (13:08 +0200)
committerMarcela Mašláňová <mmaslano@redhat.com>
Thu, 12 Apr 2012 11:15:04 +0000 (13:15 +0200)
"Precedence: bulk", which is not compulsory according to RFC3834.

Based on: Harald Reindl request in rhbz#811186

src/do_command.c

index 86e8a89fbb14cff572f9f78586f06382e0732018..de5ab0e78df18a3c69d2465edb9f0515231a5a66 100644 (file)
@@ -455,6 +455,7 @@ static int child_process(entry * e, user * u, char **jobenv) {
                                 * defined (and suggested by) RFC3834.
                                 */
                                fprintf(mail, "Auto-Submitted: auto-generated\n");
+                               fprintf(mail, "Precedence: bulk\n");
 
                                for (env = jobenv; *env; env++)
                                        fprintf(mail, "X-Cron-Env: <%s>\n", *env);