mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
Handle case where we can't figure out the from https://github.com/webmin/usermin/issues/109
This commit is contained in:
@@ -235,6 +235,12 @@ if (@must_regexp) {
|
||||
}
|
||||
}
|
||||
|
||||
# Check if we have a From address
|
||||
if (!$rheader{'From'}) {
|
||||
print STDERR "Could not work out From address\n";
|
||||
exit 0;
|
||||
}
|
||||
|
||||
# if spamassassin is installed, feed the email to it
|
||||
$spam = &has_command("spamassassin");
|
||||
if ($spam) {
|
||||
|
||||
Reference in New Issue
Block a user