mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-15 17:56:12 +01:00
first step towards fixing: https://github.com/usmannasir/cyberpanel/issues/963
This commit is contained in:
@@ -1079,7 +1079,7 @@ LogFile /var/log/clamav/clamav.log
|
|||||||
command = "cat " + path
|
command = "cat " + path
|
||||||
output = ProcessUtilities.outputExecutioner(command)
|
output = ProcessUtilities.outputExecutioner(command)
|
||||||
|
|
||||||
if output.find('content_filter=spamassassin') > -1:
|
if output.find('spamassassin') > -1 and output.find('user=spamd') > -1:
|
||||||
return 1
|
return 1
|
||||||
else:
|
else:
|
||||||
return 0
|
return 0
|
||||||
|
|||||||
Reference in New Issue
Block a user