public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Trace
data/conf/rspamd/meta_exporter/pipe.php
Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.
pipe.php
on main
Author
Date
Commit
Line
Code
andre.peters
over 8 years ago
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 1
<?php
<?php
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2
// File size is limited by Nginx site to 10M
// File size is limited by Nginx site to 10M
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3
// To speed things up, we do not include prerequisites
// To speed things up, we do not include prerequisites
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 4
header('Content-Type: text/plain');
header('Content-Type: text/plain');
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 5
require_once "vars.inc.php";
require_once "vars.inc.php";
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 6
// Do not show errors, we log to using error_log
// Do not show errors, we log to using error_log
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 7
ini_set('error_reporting', 0);
ini_set('error_reporting', 0);
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 8
// Init database
// Init database
André
almost 8 years ago
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 9
//$dsn = $database_type . ':host=' . $database_host . ';dbname=' . $database_name;
//$dsn = $database_type . ':host=' . $database_host . ';dbname=' . $database_name;
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 10
$dsn = $database_type . ":unix_socket=" . $database_sock . ";dbname=" . $database_name;
$dsn = $database_type . ":unix_socket=" . $database_sock . ";dbname=" . $database_name;
andre.peters
over 8 years ago
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 11
$opt = [
$opt = [
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 12
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 13
PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,
PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 14
PDO::ATTR_EMULATE_PREPARES => false,
PDO::ATTR_EMULATE_PREPARES => false,
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 15
];
];
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 16
try {
try {
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 17
$pdo = new PDO($dsn, $database_user, $database_pass, $opt);
$pdo = new PDO($dsn, $database_user, $database_pass, $opt);
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 18
}
}
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 19
catch (PDOException $e) {
catch (PDOException $e) {
andryyy
over 6 years ago
ccdb7fc
[Rspamd] Add metadata exporter for unauthed mail
- Full commit hash
ccdb7fcd2693bd5f0e3929eec8daccb414403f47- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 20
error_log("QUARANTINE: " . $e . PHP_EOL);
error_log("QUARANTINE: " . $e . PHP_EOL);
andre.peters
over 8 years ago
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 21
http_response_code(501);
http_response_code(501);
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 22
exit;
exit;
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 23
}
}
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 24
// Init Redis
// Init Redis
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 25
$redis = new Redis();
$redis = new Redis();
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 26
$redis->connect('redis-mailcow', 6379);
$redis->connect('redis-mailcow', 6379);
FreddleSpl0it
over 1 year ago
89fb132
Enable password protection for Redis
- Full commit hash
89fb1322c6f486a9883e6435a73537b13fbf3582- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 27
$redis->auth(getenv("REDISPASS"));
$redis->auth(getenv("REDISPASS"));
andre.peters
over 8 years ago
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 28
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 29
// Functions
// Functions
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 30
function parse_email($email) {
function parse_email($email) {
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 31
if(!filter_var($email, FILTER_VALIDATE_EMAIL)) return false;
if(!filter_var($email, FILTER_VALIDATE_EMAIL)) return false;
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 32
$a = strrpos($email, '@');
$a = strrpos($email, '@');
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 33
return array('local' => substr($email, 0, $a), 'domain' => substr(substr($email, $a), 1));
return array('local' => substr($email, 0, $a), 'domain' => substr(substr($email, $a), 1));
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 34
}
}
FreddleSpl0it
about 1 month ago
24cc369
[Rspamd] Migrate metadata_exporter to multipart formatter
- Full commit hash
24cc369d84935428f58a4c6bef5b18a58ad248ed- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 month ago
- Selected line
- 35
// rspamd metadata_exporter (multipart formatter):
// rspamd metadata_exporter (multipart formatter):
same change
24cc369
[Rspamd] Migrate metadata_exporter to multipart formatter
- Full commit hash
24cc369d84935428f58a4c6bef5b18a58ad248ed- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 month ago
- Selected line
- 36
// - $_POST['metadata'] JSON with the rspamd metadata
// - $_POST['metadata'] JSON with the rspamd metadata
same change
24cc369
[Rspamd] Migrate metadata_exporter to multipart formatter
- Full commit hash
24cc369d84935428f58a4c6bef5b18a58ad248ed- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 month ago
- Selected line
- 37
// - $_FILES['message'] raw RFC822 message
// - $_FILES['message'] raw RFC822 message
same change
24cc369
[Rspamd] Migrate metadata_exporter to multipart formatter
- Full commit hash
24cc369d84935428f58a4c6bef5b18a58ad248ed- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 month ago
- Selected line
- 38
if (empty($_POST['metadata']) || !isset($_FILES['message']) || $_FILES['message']['error'] !== UPLOAD_ERR_OK) {
if (empty($_POST['metadata']) || !isset($_FILES['message']) || $_FILES['message']['error'] !== UPLOAD_ERR_OK) {
same change
24cc369
[Rspamd] Migrate metadata_exporter to multipart formatter
- Full commit hash
24cc369d84935428f58a4c6bef5b18a58ad248ed- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 month ago
- Selected line
- 39
error_log("QUARANTINE: missing multipart parts from rspamd" . PHP_EOL);
error_log("QUARANTINE: missing multipart parts from rspamd" . PHP_EOL);
same change
24cc369
[Rspamd] Migrate metadata_exporter to multipart formatter
- Full commit hash
24cc369d84935428f58a4c6bef5b18a58ad248ed- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 month ago
- Selected line
- 40
http_response_code(400);
http_response_code(400);
same change
24cc369
[Rspamd] Migrate metadata_exporter to multipart formatter
- Full commit hash
24cc369d84935428f58a4c6bef5b18a58ad248ed- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 month ago
- Selected line
- 41
exit;
exit;
andre.peters
over 8 years ago
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 42
}
}
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 43
FreddleSpl0it
about 1 month ago
24cc369
[Rspamd] Migrate metadata_exporter to multipart formatter
- Full commit hash
24cc369d84935428f58a4c6bef5b18a58ad248ed- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 month ago
- Selected line
- 44
$meta = json_decode($_POST['metadata'], true);
$meta = json_decode($_POST['metadata'], true);
same change
24cc369
[Rspamd] Migrate metadata_exporter to multipart formatter
- Full commit hash
24cc369d84935428f58a4c6bef5b18a58ad248ed- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 month ago
- Selected line
- 45
if (!is_array($meta)) {
if (!is_array($meta)) {
same change
24cc369
[Rspamd] Migrate metadata_exporter to multipart formatter
- Full commit hash
24cc369d84935428f58a4c6bef5b18a58ad248ed- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 month ago
- Selected line
- 46
error_log("QUARANTINE: cannot decode metadata JSON" . PHP_EOL);
error_log("QUARANTINE: cannot decode metadata JSON" . PHP_EOL);
same change
24cc369
[Rspamd] Migrate metadata_exporter to multipart formatter
- Full commit hash
24cc369d84935428f58a4c6bef5b18a58ad248ed- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 month ago
- Selected line
- 47
http_response_code(400);
http_response_code(400);
same change
24cc369
[Rspamd] Migrate metadata_exporter to multipart formatter
- Full commit hash
24cc369d84935428f58a4c6bef5b18a58ad248ed- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 month ago
- Selected line
- 48
exit;
exit;
same change
24cc369
[Rspamd] Migrate metadata_exporter to multipart formatter
- Full commit hash
24cc369d84935428f58a4c6bef5b18a58ad248ed- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 month ago
- Selected line
- 49
}
}
andre.peters
over 8 years ago
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 50
FreddleSpl0it
about 1 month ago
24cc369
[Rspamd] Migrate metadata_exporter to multipart formatter
- Full commit hash
24cc369d84935428f58a4c6bef5b18a58ad248ed- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 month ago
- Selected line
- 51
$raw_data_content = file_get_contents($_FILES['message']['tmp_name']);
$raw_data_content = file_get_contents($_FILES['message']['tmp_name']);
same change
24cc369
[Rspamd] Migrate metadata_exporter to multipart formatter
- Full commit hash
24cc369d84935428f58a4c6bef5b18a58ad248ed- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 month ago
- Selected line
- 52
$raw_data = mb_convert_encoding($raw_data_content, 'HTML-ENTITIES', "UTF-8");
$raw_data = mb_convert_encoding($raw_data_content, 'HTML-ENTITIES', "UTF-8");
same change
24cc369
[Rspamd] Migrate metadata_exporter to multipart formatter
- Full commit hash
24cc369d84935428f58a4c6bef5b18a58ad248ed- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 month ago
- Selected line
- 53
$raw_size = (int)$_FILES['message']['size'];
$raw_size = (int)$_FILES['message']['size'];
andre.peters
over 8 years ago
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 54
FreddleSpl0it
about 1 month ago
24cc369
[Rspamd] Migrate metadata_exporter to multipart formatter
- Full commit hash
24cc369d84935428f58a4c6bef5b18a58ad248ed- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 month ago
- Selected line
- 55
$qid = $meta['qid'] ?? 'unknown';
$qid = $meta['qid'] ?? 'unknown';
same change
24cc369
[Rspamd] Migrate metadata_exporter to multipart formatter
- Full commit hash
24cc369d84935428f58a4c6bef5b18a58ad248ed- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 month ago
- Selected line
- 56
$subject = iconv_mime_decode($meta['subject'] ?? '');
$subject = iconv_mime_decode($meta['subject'] ?? '');
same change
24cc369
[Rspamd] Migrate metadata_exporter to multipart formatter
- Full commit hash
24cc369d84935428f58a4c6bef5b18a58ad248ed- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 month ago
- Selected line
- 57
$score = $meta['score'] ?? 0;
$score = $meta['score'] ?? 0;
same change
24cc369
[Rspamd] Migrate metadata_exporter to multipart formatter
- Full commit hash
24cc369d84935428f58a4c6bef5b18a58ad248ed- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 month ago
- Selected line
- 58
$rcpts = $meta['rcpt'] ?? array();
$rcpts = $meta['rcpt'] ?? array();
same change
24cc369
[Rspamd] Migrate metadata_exporter to multipart formatter
- Full commit hash
24cc369d84935428f58a4c6bef5b18a58ad248ed- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 month ago
- Selected line
- 59
$user = $meta['user'] ?? 'unknown';
$user = $meta['user'] ?? 'unknown';
same change
24cc369
[Rspamd] Migrate metadata_exporter to multipart formatter
- Full commit hash
24cc369d84935428f58a4c6bef5b18a58ad248ed- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 month ago
- Selected line
- 60
$ip = $meta['ip'] ?? 'unknown';
$ip = $meta['ip'] ?? 'unknown';
same change
24cc369
[Rspamd] Migrate metadata_exporter to multipart formatter
- Full commit hash
24cc369d84935428f58a4c6bef5b18a58ad248ed- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 month ago
- Selected line
- 61
$action = $meta['action'] ?? 'no action';
$action = $meta['action'] ?? 'no action';
same change
24cc369
[Rspamd] Migrate metadata_exporter to multipart formatter
- Full commit hash
24cc369d84935428f58a4c6bef5b18a58ad248ed- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 month ago
- Selected line
- 62
$sender = $meta['from'] ?? '';
$sender = $meta['from'] ?? '';
same change
24cc369
[Rspamd] Migrate metadata_exporter to multipart formatter
- Full commit hash
24cc369d84935428f58a4c6bef5b18a58ad248ed- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 month ago
- Selected line
- 63
$symbols = json_encode($meta['symbols'] ?? array());
$symbols = json_encode($meta['symbols'] ?? array());
same change
24cc369
[Rspamd] Migrate metadata_exporter to multipart formatter
- Full commit hash
24cc369d84935428f58a4c6bef5b18a58ad248ed- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 month ago
- Selected line
- 64
$fuzzy = json_encode(is_array($meta['fuzzy'] ?? null) ? $meta['fuzzy'] : array());
$fuzzy = json_encode(is_array($meta['fuzzy'] ?? null) ? $meta['fuzzy'] : array());
andre.peters
over 8 years ago
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 65
andryyy
over 6 years ago
580b700
[Rspamd] Quarantine: Set sender to null@localhost when sender is missing
- Full commit hash
580b700eec901369c846ee8e7a34095062e67f34- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 66
if (empty($sender)) {
if (empty($sender)) {
andryyy
over 6 years ago
ccdb7fc
[Rspamd] Add metadata exporter for unauthed mail
- Full commit hash
ccdb7fcd2693bd5f0e3929eec8daccb414403f47- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 67
error_log("QUARANTINE: Unknown sender, assuming empty-env-from@localhost" . PHP_EOL);
error_log("QUARANTINE: Unknown sender, assuming empty-env-from@localhost" . PHP_EOL);
andryyy
over 6 years ago
65aa7b0
[Rspamd] Use empty-env-from@localhost as placeholder for empty env from senders in quarantine
- Full commit hash
65aa7b0a92cd80f808041437c7e73376a8b8500b- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 68
$sender = 'empty-env-from@localhost';
$sender = 'empty-env-from@localhost';
andryyy
over 6 years ago
580b700
[Rspamd] Quarantine: Set sender to null@localhost when sender is missing
- Full commit hash
580b700eec901369c846ee8e7a34095062e67f34- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 69
}
}
same change
580b700
[Rspamd] Quarantine: Set sender to null@localhost when sender is missing
- Full commit hash
580b700eec901369c846ee8e7a34095062e67f34- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 70
andre.peters
over 8 years ago
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 71
try {
try {
André
almost 8 years ago
32f7ae1
[Rspamd] Prefix quarantine error_log messages with "QUARANTINE"
- Full commit hash
32f7ae1d2e1d9ee03ac358c967335863bdea6f30- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 72
$max_size = (int)$redis->Get('Q_MAX_SIZE');
$max_size = (int)$redis->Get('Q_MAX_SIZE');
same change
32f7ae1
[Rspamd] Prefix quarantine error_log messages with "QUARANTINE"
- Full commit hash
32f7ae1d2e1d9ee03ac358c967335863bdea6f30- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 73
if (($max_size * 1048576) < $raw_size) {
if (($max_size * 1048576) < $raw_size) {
andryyy
over 6 years ago
ccdb7fc
[Rspamd] Add metadata exporter for unauthed mail
- Full commit hash
ccdb7fcd2693bd5f0e3929eec8daccb414403f47- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 74
error_log(sprintf("QUARANTINE: Message too large: %d b exceeds %d b", $raw_size, ($max_size * 1048576)) . PHP_EOL);
error_log(sprintf("QUARANTINE: Message too large: %d b exceeds %d b", $raw_size, ($max_size * 1048576)) . PHP_EOL);
André
almost 8 years ago
32f7ae1
[Rspamd] Prefix quarantine error_log messages with "QUARANTINE"
- Full commit hash
32f7ae1d2e1d9ee03ac358c967335863bdea6f30- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 75
http_response_code(505);
http_response_code(505);
same change
32f7ae1
[Rspamd] Prefix quarantine error_log messages with "QUARANTINE"
- Full commit hash
32f7ae1d2e1d9ee03ac358c967335863bdea6f30- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 76
exit;
exit;
andre.peters
over 8 years ago
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 77
}
}
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 78
if ($exclude_domains = $redis->Get('Q_EXCLUDE_DOMAINS')) {
if ($exclude_domains = $redis->Get('Q_EXCLUDE_DOMAINS')) {
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 79
$exclude_domains = json_decode($exclude_domains, true);
$exclude_domains = json_decode($exclude_domains, true);
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 80
}
}
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 81
$retention_size = (int)$redis->Get('Q_RETENTION_SIZE');
$retention_size = (int)$redis->Get('Q_RETENTION_SIZE');
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 82
}
}
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 83
catch (RedisException $e) {
catch (RedisException $e) {
andryyy
over 6 years ago
ccdb7fc
[Rspamd] Add metadata exporter for unauthed mail
- Full commit hash
ccdb7fcd2693bd5f0e3929eec8daccb414403f47- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 84
error_log("QUARANTINE: " . $e . PHP_EOL);
error_log("QUARANTINE: " . $e . PHP_EOL);
andre.peters
over 8 years ago
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 85
http_response_code(504);
http_response_code(504);
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 86
exit;
exit;
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 87
}
}
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 88
andre.peters
over 8 years ago
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 89
$rcpt_final_mailboxes = array();
$rcpt_final_mailboxes = array();
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 90
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 91
// Loop through all rcpts
// Loop through all rcpts
FreddleSpl0it
about 1 month ago
24cc369
[Rspamd] Migrate metadata_exporter to multipart formatter
- Full commit hash
24cc369d84935428f58a4c6bef5b18a58ad248ed- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 month ago
- Selected line
- 92
foreach ($rcpts as $rcpt) {
foreach ($rcpts as $rcpt) {
Aaron Larisch
over 7 years ago
40a826a
Fix rejected mails not being quarantized properly if they are tagged
- Full commit hash
40a826a3471db61349eb64f58dd35bdddd0ae19e- Author
- Aaron Larisch <[email protected]>
- Date
- over 7 years ago
- Selected line
- 93
// Remove tag
// Remove tag
same change
40a826a
Fix rejected mails not being quarantized properly if they are tagged
- Full commit hash
40a826a3471db61349eb64f58dd35bdddd0ae19e- Author
- Aaron Larisch <[email protected]>
- Date
- over 7 years ago
- Selected line
- 94
$rcpt = preg_replace('/^(.*?)\+.*(@.*)$/', '$1$2', $rcpt);
$rcpt = preg_replace('/^(.*?)\+.*(@.*)$/', '$1$2', $rcpt);
FreddleSpl0it
over 1 year ago
89fb132
Enable password protection for Redis
- Full commit hash
89fb1322c6f486a9883e6435a73537b13fbf3582- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 95
andre.peters
over 8 years ago
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 96
// Break rcpt into local part and domain part
// Break rcpt into local part and domain part
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 97
$parsed_rcpt = parse_email($rcpt);
$parsed_rcpt = parse_email($rcpt);
FreddleSpl0it
over 1 year ago
89fb132
Enable password protection for Redis
- Full commit hash
89fb1322c6f486a9883e6435a73537b13fbf3582- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 98
andre.peters
over 8 years ago
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 99
// Skip if not a mailcow handled domain
// Skip if not a mailcow handled domain
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 100
try {
try {
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 101
if (!$redis->hGet('DOMAIN_MAP', $parsed_rcpt['domain'])) {
if (!$redis->hGet('DOMAIN_MAP', $parsed_rcpt['domain'])) {
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 102
continue;
continue;
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 103
}
}
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 104
}
}
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 105
catch (RedisException $e) {
catch (RedisException $e) {
andryyy
over 6 years ago
ccdb7fc
[Rspamd] Add metadata exporter for unauthed mail
- Full commit hash
ccdb7fcd2693bd5f0e3929eec8daccb414403f47- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 106
error_log("QUARANTINE: " . $e . PHP_EOL);
error_log("QUARANTINE: " . $e . PHP_EOL);
andre.peters
over 8 years ago
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 107
http_response_code(504);
http_response_code(504);
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 108
exit;
exit;
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 109
}
}
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 110
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 111
// Skip if domain is excluded
// Skip if domain is excluded
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 112
if (in_array($parsed_rcpt['domain'], $exclude_domains)) {
if (in_array($parsed_rcpt['domain'], $exclude_domains)) {
andryyy
over 6 years ago
ccdb7fc
[Rspamd] Add metadata exporter for unauthed mail
- Full commit hash
ccdb7fcd2693bd5f0e3929eec8daccb414403f47- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 113
error_log(sprintf("QUARANTINE: Skipped domain %s", $parsed_rcpt['domain']) . PHP_EOL);
error_log(sprintf("QUARANTINE: Skipped domain %s", $parsed_rcpt['domain']) . PHP_EOL);
andre.peters
over 8 years ago
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 114
continue;
continue;
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 115
}
}
andre.peters
over 8 years ago
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 116
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 117
// Always assume rcpt is not a final mailbox but an alias for a mailbox or further aliases
// Always assume rcpt is not a final mailbox but an alias for a mailbox or further aliases
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 118
//
//
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 119
// rcpt
// rcpt
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 120
// |
// |
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 121
// mailbox <-- goto ---> alias1, alias2, mailbox2
// mailbox <-- goto ---> alias1, alias2, mailbox2
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 122
// | |
// | |
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 123
// mailbox3 |
// mailbox3 |
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 124
// |
// |
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 125
// alias3 ---> mailbox4
// alias3 ---> mailbox4
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 126
//
//
andre.peters
over 8 years ago
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 127
try {
try {
andryyy
almost 6 years ago
1e244e9
[Rspamd] Quarantine, Pushover: Respect active = 2 while processing
- Full commit hash
1e244e9c0c43a350e4365679cf0e32ef2c65efa8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 128
$stmt = $pdo->prepare("SELECT `goto` FROM `alias` WHERE `address` = :rcpt AND `active` = '1'");
$stmt = $pdo->prepare("SELECT `goto` FROM `alias` WHERE `address` = :rcpt AND `active` = '1'");
andre.peters
over 8 years ago
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 129
$stmt->execute(array(
$stmt->execute(array(
andre.peters
over 8 years ago
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 130
':rcpt' => $rcpt
':rcpt' => $rcpt
andre.peters
over 8 years ago
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 131
));
));
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 132
$gotos = $stmt->fetch(PDO::FETCH_ASSOC)['goto'];
$gotos = $stmt->fetch(PDO::FETCH_ASSOC)['goto'];
andre.peters
over 8 years ago
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 133
if (empty($gotos)) {
if (empty($gotos)) {
andryyy
almost 6 years ago
1e244e9
[Rspamd] Quarantine, Pushover: Respect active = 2 while processing
- Full commit hash
1e244e9c0c43a350e4365679cf0e32ef2c65efa8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 134
$stmt = $pdo->prepare("SELECT `goto` FROM `alias` WHERE `address` = :rcpt AND `active` = '1'");
$stmt = $pdo->prepare("SELECT `goto` FROM `alias` WHERE `address` = :rcpt AND `active` = '1'");
andre.peters
over 8 years ago
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 135
$stmt->execute(array(
$stmt->execute(array(
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 136
':rcpt' => '@' . $parsed_rcpt['domain']
':rcpt' => '@' . $parsed_rcpt['domain']
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 137
));
));
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 138
$gotos = $stmt->fetch(PDO::FETCH_ASSOC)['goto'];
$gotos = $stmt->fetch(PDO::FETCH_ASSOC)['goto'];
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 139
}
}
Howaner
about 7 years ago
17918b3
Added domain alias handling to quarantine mails and added recipients row to quarantine mail display
- Full commit hash
17918b3e214d19fc4cc31da74511b3fe6b7038d1- Author
- Howaner <[email protected]>
- Date
- about 7 years ago
- Selected line
- 140
if (empty($gotos)) {
if (empty($gotos)) {
same change
17918b3
Added domain alias handling to quarantine mails and added recipients row to quarantine mail display
- Full commit hash
17918b3e214d19fc4cc31da74511b3fe6b7038d1- Author
- Howaner <[email protected]>
- Date
- about 7 years ago
- Selected line
- 141
$stmt = $pdo->prepare("SELECT `target_domain` FROM `alias_domain` WHERE `alias_domain` = :rcpt AND `active` = '1'");
$stmt = $pdo->prepare("SELECT `target_domain` FROM `alias_domain` WHERE `alias_domain` = :rcpt AND `active` = '1'");
same change
17918b3
Added domain alias handling to quarantine mails and added recipients row to quarantine mail display
- Full commit hash
17918b3e214d19fc4cc31da74511b3fe6b7038d1- Author
- Howaner <[email protected]>
- Date
- about 7 years ago
- Selected line
- 142
$stmt->execute(array(':rcpt' => $parsed_rcpt['domain']));
$stmt->execute(array(':rcpt' => $parsed_rcpt['domain']));
same change
17918b3
Added domain alias handling to quarantine mails and added recipients row to quarantine mail display
- Full commit hash
17918b3e214d19fc4cc31da74511b3fe6b7038d1- Author
- Howaner <[email protected]>
- Date
- about 7 years ago
- Selected line
- 143
$goto_branch = $stmt->fetch(PDO::FETCH_ASSOC)['target_domain'];
$goto_branch = $stmt->fetch(PDO::FETCH_ASSOC)['target_domain'];
same change
17918b3
Added domain alias handling to quarantine mails and added recipients row to quarantine mail display
- Full commit hash
17918b3e214d19fc4cc31da74511b3fe6b7038d1- Author
- Howaner <[email protected]>
- Date
- about 7 years ago
- Selected line
- 144
if ($goto_branch) {
if ($goto_branch) {
same change
17918b3
Added domain alias handling to quarantine mails and added recipients row to quarantine mail display
- Full commit hash
17918b3e214d19fc4cc31da74511b3fe6b7038d1- Author
- Howaner <[email protected]>
- Date
- about 7 years ago
- Selected line
- 145
$gotos = $parsed_rcpt['local'] . '@' . $goto_branch;
$gotos = $parsed_rcpt['local'] . '@' . $goto_branch;
same change
17918b3
Added domain alias handling to quarantine mails and added recipients row to quarantine mail display
- Full commit hash
17918b3e214d19fc4cc31da74511b3fe6b7038d1- Author
- Howaner <[email protected]>
- Date
- about 7 years ago
- Selected line
- 146
}
}
same change
17918b3
Added domain alias handling to quarantine mails and added recipients row to quarantine mail display
- Full commit hash
17918b3e214d19fc4cc31da74511b3fe6b7038d1- Author
- Howaner <[email protected]>
- Date
- about 7 years ago
- Selected line
- 147
}
}
andre.peters
over 8 years ago
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 148
$gotos_array = explode(',', $gotos);
$gotos_array = explode(',', $gotos);
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 149
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 150
$loop_c = 0;
$loop_c = 0;
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 151
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 152
while (count($gotos_array) != 0 && $loop_c <= 20) {
while (count($gotos_array) != 0 && $loop_c <= 20) {
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 153
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 154
// Loop through all found gotos
// Loop through all found gotos
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 155
foreach ($gotos_array as $index => &$goto) {
foreach ($gotos_array as $index => &$goto) {
andryyy
over 6 years ago
ccdb7fc
[Rspamd] Add metadata exporter for unauthed mail
- Full commit hash
ccdb7fcd2693bd5f0e3929eec8daccb414403f47- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 156
error_log("RCPT RESOVLER: http pipe: query " . $goto . " as username from mailbox" . PHP_EOL);
error_log("RCPT RESOVLER: http pipe: query " . $goto . " as username from mailbox" . PHP_EOL);
andryyy
almost 6 years ago
520056a
[Rspamd] Quarantine, Pushover: Respect active = 2 while processing
- Full commit hash
520056a489701a11762e2daf1e3712001c5b548e- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 157
$stmt = $pdo->prepare("SELECT `username` FROM `mailbox` WHERE `username` = :goto AND (`active`= '1' OR `active`= '2');");
$stmt = $pdo->prepare("SELECT `username` FROM `mailbox` WHERE `username` = :goto AND (`active`= '1' OR `active`= '2');");
andre.peters
over 8 years ago
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 158
$stmt->execute(array(':goto' => $goto));
$stmt->execute(array(':goto' => $goto));
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 159
$username = $stmt->fetch(PDO::FETCH_ASSOC)['username'];
$username = $stmt->fetch(PDO::FETCH_ASSOC)['username'];
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 160
if (!empty($username)) {
if (!empty($username)) {
andryyy
over 6 years ago
ccdb7fc
[Rspamd] Add metadata exporter for unauthed mail
- Full commit hash
ccdb7fcd2693bd5f0e3929eec8daccb414403f47- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 161
error_log("RCPT RESOVLER: http pipe: mailbox found: " . $username . PHP_EOL);
error_log("RCPT RESOVLER: http pipe: mailbox found: " . $username . PHP_EOL);
andre.peters
over 8 years ago
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 162
// Current goto is a mailbox, save to rcpt_final_mailboxes if not a duplicate
// Current goto is a mailbox, save to rcpt_final_mailboxes if not a duplicate
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 163
if (!in_array($username, $rcpt_final_mailboxes)) {
if (!in_array($username, $rcpt_final_mailboxes)) {
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 164
$rcpt_final_mailboxes[] = $username;
$rcpt_final_mailboxes[] = $username;
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 165
}
}
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 166
}
}
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 167
else {
else {
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 168
$parsed_goto = parse_email($goto);
$parsed_goto = parse_email($goto);
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 169
if (!$redis->hGet('DOMAIN_MAP', $parsed_goto['domain'])) {
if (!$redis->hGet('DOMAIN_MAP', $parsed_goto['domain'])) {
andryyy
over 6 years ago
ccdb7fc
[Rspamd] Add metadata exporter for unauthed mail
- Full commit hash
ccdb7fcd2693bd5f0e3929eec8daccb414403f47- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 170
error_log("RCPT RESOVLER:" . $goto . " is not a mailcow handled mailbox or alias address" . PHP_EOL);
error_log("RCPT RESOVLER:" . $goto . " is not a mailcow handled mailbox or alias address" . PHP_EOL);
andre.peters
over 8 years ago
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 171
}
}
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 172
else {
else {
andryyy
almost 6 years ago
1e244e9
[Rspamd] Quarantine, Pushover: Respect active = 2 while processing
- Full commit hash
1e244e9c0c43a350e4365679cf0e32ef2c65efa8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 173
$stmt = $pdo->prepare("SELECT `goto` FROM `alias` WHERE `address` = :goto AND `active` = '1'");
$stmt = $pdo->prepare("SELECT `goto` FROM `alias` WHERE `address` = :goto AND `active` = '1'");
andre.peters
over 8 years ago
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 174
$stmt->execute(array(':goto' => $goto));
$stmt->execute(array(':goto' => $goto));
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 175
$goto_branch = $stmt->fetch(PDO::FETCH_ASSOC)['goto'];
$goto_branch = $stmt->fetch(PDO::FETCH_ASSOC)['goto'];
Howaner
about 7 years ago
17918b3
Added domain alias handling to quarantine mails and added recipients row to quarantine mail display
- Full commit hash
17918b3e214d19fc4cc31da74511b3fe6b7038d1- Author
- Howaner <[email protected]>
- Date
- about 7 years ago
- Selected line
- 176
if ($goto_branch) {
if ($goto_branch) {
andryyy
almost 6 years ago
5cd6bed
[Rspamd] Fix typo in alias resolvers
- Full commit hash
5cd6bed70155c63de3833eed65b80a6fe02b4e13- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 177
error_log("RCPT RESOVLER: http pipe: goto address " . $goto . " is an alias branch for " . $goto_branch . PHP_EOL);
error_log("RCPT RESOVLER: http pipe: goto address " . $goto . " is an alias branch for " . $goto_branch . PHP_EOL);
Howaner
about 7 years ago
17918b3
Added domain alias handling to quarantine mails and added recipients row to quarantine mail display
- Full commit hash
17918b3e214d19fc4cc31da74511b3fe6b7038d1- Author
- Howaner <[email protected]>
- Date
- about 7 years ago
- Selected line
- 178
$goto_branch_array = explode(',', $goto_branch);
$goto_branch_array = explode(',', $goto_branch);
same change
17918b3
Added domain alias handling to quarantine mails and added recipients row to quarantine mail display
- Full commit hash
17918b3e214d19fc4cc31da74511b3fe6b7038d1- Author
- Howaner <[email protected]>
- Date
- about 7 years ago
- Selected line
- 179
} else {
} else {
Patrik Kernstock
10 months ago
d06d23b
Fix several SQL statements
- Full commit hash
d06d23bbaf528f5edfb26d32d3d693b8005fc81e- Author
- Patrik Kernstock <[email protected]>
- Date
- 10 months ago
- Selected line
- 180
$stmt = $pdo->prepare("SELECT `target_domain` FROM `alias_domain` WHERE `alias_domain` = :domain AND `active` = '1'");
$stmt = $pdo->prepare("SELECT `target_domain` FROM `alias_domain` WHERE `alias_domain` = :domain AND `active` = '1'");
Howaner
about 7 years ago
17918b3
Added domain alias handling to quarantine mails and added recipients row to quarantine mail display
- Full commit hash
17918b3e214d19fc4cc31da74511b3fe6b7038d1- Author
- Howaner <[email protected]>
- Date
- about 7 years ago
- Selected line
- 181
$stmt->execute(array(':domain' => $parsed_goto['domain']));
$stmt->execute(array(':domain' => $parsed_goto['domain']));
same change
17918b3
Added domain alias handling to quarantine mails and added recipients row to quarantine mail display
- Full commit hash
17918b3e214d19fc4cc31da74511b3fe6b7038d1- Author
- Howaner <[email protected]>
- Date
- about 7 years ago
- Selected line
- 182
$goto_branch = $stmt->fetch(PDO::FETCH_ASSOC)['target_domain'];
$goto_branch = $stmt->fetch(PDO::FETCH_ASSOC)['target_domain'];
same change
17918b3
Added domain alias handling to quarantine mails and added recipients row to quarantine mail display
- Full commit hash
17918b3e214d19fc4cc31da74511b3fe6b7038d1- Author
- Howaner <[email protected]>
- Date
- about 7 years ago
- Selected line
- 183
if ($goto_branch) {
if ($goto_branch) {
andryyy
almost 6 years ago
5cd6bed
[Rspamd] Fix typo in alias resolvers
- Full commit hash
5cd6bed70155c63de3833eed65b80a6fe02b4e13- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 184
error_log("RCPT RESOVLER: http pipe: goto domain " . $parsed_goto['domain'] . " is a domain alias branch for " . $goto_branch . PHP_EOL);
error_log("RCPT RESOVLER: http pipe: goto domain " . $parsed_goto['domain'] . " is a domain alias branch for " . $goto_branch . PHP_EOL);
same change
5cd6bed
[Rspamd] Fix typo in alias resolvers
- Full commit hash
5cd6bed70155c63de3833eed65b80a6fe02b4e13- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 185
$goto_branch_array = array($parsed_goto['local'] . '@' . $goto_branch);
$goto_branch_array = array($parsed_goto['local'] . '@' . $goto_branch);
Howaner
about 7 years ago
17918b3
Added domain alias handling to quarantine mails and added recipients row to quarantine mail display
- Full commit hash
17918b3e214d19fc4cc31da74511b3fe6b7038d1- Author
- Howaner <[email protected]>
- Date
- about 7 years ago
- Selected line
- 186
}
}
same change
17918b3
Added domain alias handling to quarantine mails and added recipients row to quarantine mail display
- Full commit hash
17918b3e214d19fc4cc31da74511b3fe6b7038d1- Author
- Howaner <[email protected]>
- Date
- about 7 years ago
- Selected line
- 187
}
}
andre.peters
over 8 years ago
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 188
}
}
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 189
}
}
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 190
// goto item was processed, unset
// goto item was processed, unset
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 191
unset($gotos_array[$index]);
unset($gotos_array[$index]);
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 192
}
}
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 193
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 194
// Merge goto branch array derived from previous loop (if any), filter duplicates and unset goto branch array
// Merge goto branch array derived from previous loop (if any), filter duplicates and unset goto branch array
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 195
if (!empty($goto_branch_array)) {
if (!empty($goto_branch_array)) {
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 196
$gotos_array = array_unique(array_merge($gotos_array, $goto_branch_array));
$gotos_array = array_unique(array_merge($gotos_array, $goto_branch_array));
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 197
unset($goto_branch_array);
unset($goto_branch_array);
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 198
}
}
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 199
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 200
// Reindex array
// Reindex array
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 201
$gotos_array = array_values($gotos_array);
$gotos_array = array_values($gotos_array);
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 202
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 203
// Force exit if loop cannot be solved
// Force exit if loop cannot be solved
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 204
// Postfix does not allow for alias loops, so this should never happen.
// Postfix does not allow for alias loops, so this should never happen.
same change
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 205
$loop_c++;
$loop_c++;
andryyy
over 6 years ago
ccdb7fc
[Rspamd] Add metadata exporter for unauthed mail
- Full commit hash
ccdb7fcd2693bd5f0e3929eec8daccb414403f47- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 206
error_log("RCPT RESOVLER: http pipe: goto array count on loop #". $loop_c . " is " . count($gotos_array) . PHP_EOL);
error_log("RCPT RESOVLER: http pipe: goto array count on loop #". $loop_c . " is " . count($gotos_array) . PHP_EOL);
andre.peters
over 8 years ago
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 207
}
}
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 208
}
}
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 209
catch (PDOException $e) {
catch (PDOException $e) {
andryyy
over 6 years ago
ccdb7fc
[Rspamd] Add metadata exporter for unauthed mail
- Full commit hash
ccdb7fcd2693bd5f0e3929eec8daccb414403f47- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 210
error_log("RCPT RESOVLER: " . $e->getMessage() . PHP_EOL);
error_log("RCPT RESOVLER: " . $e->getMessage() . PHP_EOL);
andre.peters
over 8 years ago
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 211
http_response_code(502);
http_response_code(502);
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 212
exit;
exit;
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 213
}
}
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 214
}
}
andre.peters
over 8 years ago
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 215
andryyy
over 6 years ago
cb599db
[Rspamd] Fix quarantine and pushover notifications
- Full commit hash
cb599db61e911a78cc9ead1c0f041140bd754c29- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 216
foreach ($rcpt_final_mailboxes as $rcpt_final) {
foreach ($rcpt_final_mailboxes as $rcpt_final) {
same change
cb599db
[Rspamd] Fix quarantine and pushover notifications
- Full commit hash
cb599db61e911a78cc9ead1c0f041140bd754c29- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 217
error_log("QUARANTINE: quarantine pipe: processing quarantine message for rcpt " . $rcpt_final . PHP_EOL);
error_log("QUARANTINE: quarantine pipe: processing quarantine message for rcpt " . $rcpt_final . PHP_EOL);
andre.peters
over 8 years ago
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 218
try {
try {
andryyy
over 5 years ago
6d46ee7
[Rspamd] Log mail that was put into junk folder and keep a copy in quarantine
- Full commit hash
6d46ee795b3ef6e772ba754b263a8be37a12fe65- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 219
$stmt = $pdo->prepare("INSERT INTO `quarantine` (`qid`, `subject`, `score`, `sender`, `rcpt`, `symbols`, `user`, `ip`, `msg`, `action`, `fuzzy_hashes`)
$stmt = $pdo->prepare("INSERT INTO `quarantine` (`qid`, `subject`, `score`, `sender`, `rcpt`, `symbols`, `user`, `ip`, `msg`, `action`, `fuzzy_hashes`)
same change
6d46ee7
[Rspamd] Log mail that was put into junk folder and keep a copy in quarantine
- Full commit hash
6d46ee795b3ef6e772ba754b263a8be37a12fe65- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 220
VALUES (:qid, :subject, :score, :sender, :rcpt, :symbols, :user, :ip, :msg, :action, :fuzzy_hashes)");
VALUES (:qid, :subject, :score, :sender, :rcpt, :symbols, :user, :ip, :msg, :action, :fuzzy_hashes)");
andre.peters
over 8 years ago
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 221
$stmt->execute(array(
$stmt->execute(array(
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 222
':qid' => $qid,
':qid' => $qid,
André Peters
over 7 years ago
f3dfe34
[Dovecot] Allow setting ACL_ANYONE in mailcow.conf
- Full commit hash
f3dfe346bf2aed1d54c82ce1efb2697c99c36053- Author
- André Peters <[email protected]>
- Date
- over 7 years ago
- Selected line
- 223
':subject' => $subject,
':subject' => $subject,
andre.peters
over 8 years ago
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 224
':score' => $score,
':score' => $score,
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 225
':sender' => $sender,
':sender' => $sender,
andryyy
over 6 years ago
cb599db
[Rspamd] Fix quarantine and pushover notifications
- Full commit hash
cb599db61e911a78cc9ead1c0f041140bd754c29- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 226
':rcpt' => $rcpt_final,
':rcpt' => $rcpt_final,
andre.peters
over 8 years ago
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 227
':symbols' => $symbols,
':symbols' => $symbols,
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 228
':user' => $user,
':user' => $user,
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 229
':ip' => $ip,
':ip' => $ip,
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 230
':msg' => $raw_data,
':msg' => $raw_data,
andryyy
over 5 years ago
0165c9d
[Web] Show fuzzy hash of rejected mail, if any
- Full commit hash
0165c9d26b71b696a848ca1145e105b6a66b55c0- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 231
':action' => $action,
':action' => $action,
andryyy
over 5 years ago
6d46ee7
[Rspamd] Log mail that was put into junk folder and keep a copy in quarantine
- Full commit hash
6d46ee795b3ef6e772ba754b263a8be37a12fe65- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 232
':fuzzy_hashes' => $fuzzy
':fuzzy_hashes' => $fuzzy
andre.peters
over 8 years ago
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 233
));
));
Christoph Lechleitner
12 months ago
2b2da16
[DB][Web] optimize qhandler by keeping SHA2 in new column qhash (#6556)
- Full commit hash
2b2da1679e7f05a61c268db208c5e1fbacb70a78- Author
- Christoph Lechleitner <[email protected]>
- Date
- 12 months ago
- Selected line
- 234
$lastId = $pdo->lastInsertId();
$lastId = $pdo->lastInsertId();
same change
2b2da16
[DB][Web] optimize qhandler by keeping SHA2 in new column qhash (#6556)
- Full commit hash
2b2da1679e7f05a61c268db208c5e1fbacb70a78- Author
- Christoph Lechleitner <[email protected]>
- Date
- 12 months ago
- Selected line
- 235
$stmt_update = $pdo->prepare("UPDATE `quarantine` SET `qhash` = SHA2(CONCAT(`id`, `qid`), 256) WHERE `id` = :id");
$stmt_update = $pdo->prepare("UPDATE `quarantine` SET `qhash` = SHA2(CONCAT(`id`, `qid`), 256) WHERE `id` = :id");
same change
2b2da16
[DB][Web] optimize qhandler by keeping SHA2 in new column qhash (#6556)
- Full commit hash
2b2da1679e7f05a61c268db208c5e1fbacb70a78- Author
- Christoph Lechleitner <[email protected]>
- Date
- 12 months ago
- Selected line
- 236
$stmt_update->execute(array(':id' => $lastId));
$stmt_update->execute(array(':id' => $lastId));
André Peters
over 8 years ago
a500364
[Web] Mind was set to french, reverting to english
- Full commit hash
a50036477eee7d80d58c3147c5b1dfbe013f4380- Author
- André Peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 237
$stmt = $pdo->prepare('DELETE FROM `quarantine` WHERE `rcpt` = :rcpt AND `id` NOT IN (
$stmt = $pdo->prepare('DELETE FROM `quarantine` WHERE `rcpt` = :rcpt AND `id` NOT IN (
andre.peters
over 8 years ago
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 238
SELECT `id`
SELECT `id`
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 239
FROM (
FROM (
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 240
SELECT `id`
SELECT `id`
André Peters
over 8 years ago
a500364
[Web] Mind was set to french, reverting to english
- Full commit hash
a50036477eee7d80d58c3147c5b1dfbe013f4380- Author
- André Peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 241
FROM `quarantine`
FROM `quarantine`
andre.peters
over 8 years ago
003e6ef
[Web] Important fixes for quarantaine; other minor changes
- Full commit hash
003e6ef5cda773cccbb8febdec8e2ad915e514d1- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 242
WHERE `rcpt` = :rcpt2
WHERE `rcpt` = :rcpt2
andre.peters
over 8 years ago
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 243
ORDER BY id DESC
ORDER BY id DESC
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 244
LIMIT :retention_size
LIMIT :retention_size
FreddleSpl0it
over 1 year ago
89fb132
Enable password protection for Redis
- Full commit hash
89fb1322c6f486a9883e6435a73537b13fbf3582- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 245
) x
) x
andre.peters
over 8 years ago
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 246
);');
);');
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 247
$stmt->execute(array(
$stmt->execute(array(
andryyy
over 6 years ago
cb599db
[Rspamd] Fix quarantine and pushover notifications
- Full commit hash
cb599db61e911a78cc9ead1c0f041140bd754c29- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 248
':rcpt' => $rcpt_final,
':rcpt' => $rcpt_final,
same change
cb599db
[Rspamd] Fix quarantine and pushover notifications
- Full commit hash
cb599db61e911a78cc9ead1c0f041140bd754c29- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 249
':rcpt2' => $rcpt_final,
':rcpt2' => $rcpt_final,
andre.peters
over 8 years ago
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 250
':retention_size' => $retention_size
':retention_size' => $retention_size
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 251
));
));
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 252
}
}
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 253
catch (PDOException $e) {
catch (PDOException $e) {
andryyy
over 6 years ago
ccdb7fc
[Rspamd] Add metadata exporter for unauthed mail
- Full commit hash
ccdb7fcd2693bd5f0e3929eec8daccb414403f47- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 254
error_log("QUARANTINE: " . $e->getMessage() . PHP_EOL);
error_log("QUARANTINE: " . $e->getMessage() . PHP_EOL);
andre.peters
over 8 years ago
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 255
http_response_code(503);
http_response_code(503);
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 256
exit;
exit;
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 257
}
}
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 258
}
}
same change
873222d
[Rspamd] Remove DKIM forced action, move ratelimit lua, add meta exporter
- Full commit hash
873222d5f8f9efc3355b1babe394a543698bcfa4- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 259