From 695fac97845e8a2cc434fa61068f6414ec10abbd Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Fri, 15 Jan 2021 23:24:01 -0800 Subject: [PATCH] Add auto-submitted header to autoreplies https://sourceforge.net/p/webadmin/usermin-bugs/488/ --- sendmail/autoreply.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/sendmail/autoreply.pl b/sendmail/autoreply.pl index 5c7cec3cf..f1134647c 100755 --- a/sendmail/autoreply.pl +++ b/sendmail/autoreply.pl @@ -104,6 +104,7 @@ $rheader{'X-Webmin-Autoreply'} = 1; $rheader{'X-Originally-To'} = $header{'to'}; chop($host = `hostname`); $rheader{'Message-Id'} = "<".time().".".$$."\@".$host.">"; +$rheader{'Auto-Submitted'} = 'auto-replied'; # read the autoreply file (or alternate) if (open(AUTO, "<".$ARGV[0]) ||