mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Detect majordomo messages
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user