mirror of
https://github.com/webmin/webmin.git
synced 2025-08-16 14:51:18 +00:00
Don't autoreply to spam https://sourceforge.net/p/webadmin/usermin-bugs/440/
This commit is contained in:
@ -62,6 +62,10 @@ if ($header{'x-webmin-autoreply'} ||
|
||||
print STDERR "Cancelling autoreply to an autoreply\n";
|
||||
exit 0;
|
||||
}
|
||||
if ($header{'x-spam-flag'} || $header{'x-spam-status'} =~ /^Yes/i) {
|
||||
print STDERR "Cancelling autoreply to message already marked as spam\n";
|
||||
exit 0;
|
||||
}
|
||||
if ($header{'x-mailing-list'} ||
|
||||
$header{'list-id'} ||
|
||||
$header{'precedence'} =~ /junk|bulk|list/i ||
|
||||
|
Reference in New Issue
Block a user