projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a96505d
)
Detect majordomo messages
author
Jamie Cameron
<jcameron@webmin.com>
Mon, 3 Jan 2011 01:39:32 +0000
(17:39 -0800)
committer
Jamie Cameron
<jcameron@webmin.com>
Mon, 3 Jan 2011 01:39:32 +0000
(17:39 -0800)
sendmail/autoreply.pl
patch
|
blob
|
history
diff --git
a/sendmail/autoreply.pl
b/sendmail/autoreply.pl
index
d67b684
..
2e34162
100755
(executable)
--- a/
sendmail/autoreply.pl
+++ b/
sendmail/autoreply.pl
@@
-65,7
+65,9
@@
if ($header{'x-webmin-autoreply'} ||
if ($header{'x-mailing-list'} ||
$header{'list-id'} ||
$header{'precedence'} =~ /junk|bulk|list/i ||
- $header{'to'} =~ /Multiple recipients of/i) {
+ $header{'to'} =~ /Multiple recipients of/i ||
+ $header{'from'} =~ /majordomo/i ||
+ $fromline =~ /majordomo/i) {
# Do nothing if post is from a mailing list
exit 0;
}