[Rspamd] Place socket in _rspamd home and fix permissions
[Compose] Remove volume for Rspamd socket [Web] Do not exit loop on fuzzy errors when learning a message as spam
This commit is contained in:
@@ -1409,7 +1409,7 @@ function get_logs($container, $lines = false) {
|
||||
}
|
||||
if ($container == "rspamd-history") {
|
||||
$curl = curl_init();
|
||||
curl_setopt($curl, CURLOPT_UNIX_SOCKET_PATH, '/rspamd-sock/rspamd.sock');
|
||||
curl_setopt($curl, CURLOPT_UNIX_SOCKET_PATH, '/var/lib/rspamd/rspamd.sock');
|
||||
if (!is_numeric($lines)) {
|
||||
list ($from, $to) = explode('-', $lines);
|
||||
curl_setopt($curl, CURLOPT_URL,"http://rspamd/history?from=" . intval($from) . "&to=" . intval($to));
|
||||
|
Reference in New Issue
Block a user