#299 use 'Auto-submitted: auto-replied' header

All
closed
Jamie Cameron
5
2006-11-06
2006-11-06
Bill McGonigle
No

I had webmin's autoreply.pl fight a Sun Java Messaging
Server today with an auto-reply mail-loop of about
120,000 messages before it was noticed.

Looking at the Sun messages, they're using an
'Auto-submitted: auto-replied' header which appears to
be specified by RFC 3834.

I found a version of autoreply.pl at:

http://gunnar.cc/cgi-bin/cvsweb.cgi/misc/autoreply.pl?rev=1.17;content-type=text%2Fplain;cvsroot=gunnar

(I'm not sure which is upstream, webmin or gunnar.cc)
and he's already switched from the Webmin loop
detection header to Auto-submitted: auto-replied:

if ($header{'auto-submitted'} and lc
$header{'auto-submitted'} ne 'no') {
print STDERR "Cancelling autoreply to an autoreply\n";
exit 1;
}
$rheader{'Auto-Submitted'} = 'auto-replied';

Here's a link to his CVSWeb:

http://gunnar.cc/cgi-bin/cvsweb.cgi/misc/autoreply.pl?r1=1.3;cvsroot=gunnar#rev1.3

but the initial patch was corrected with some more
changes between the initial patch and the correct one,
so there's not a straight diff.

Discussion

  • Jamie Cameron
    Jamie Cameron
    2006-11-06

    Logged In: YES
    user_id=129364

    Thanks - I will incorporate this into the next Webmin release.

     
  • Jamie Cameron
    Jamie Cameron
    2006-11-06

    • status: open --> closed