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/web/inc/functions.transports.inc.php
Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.
functions.transports.inc.php
on main
Author
Date
Commit
Line
Code
andryyy
over 7 years ago
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 1
<?php
<?php
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 2
function relayhost($_action, $_data = null) {
function relayhost($_action, $_data = null) {
andryyy
almost 5 years ago
2cd0b56
[Web] Various PHP 8 fixes, partly fixes #4219
- Full commit hash
2cd0b56b143b8a2741488ae1735bf6d74253247f- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 3
global $pdo;
global $pdo;
same change
2cd0b56
[Web] Various PHP 8 fixes, partly fixes #4219
- Full commit hash
2cd0b56b143b8a2741488ae1735bf6d74253247f- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 4
global $lang;
global $lang;
andryyy
over 7 years ago
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 5
$_data_log = $_data;
$_data_log = $_data;
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 6
switch ($_action) {
switch ($_action) {
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 7
case 'add':
case 'add':
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 8
if ($_SESSION['mailcow_cc_role'] != "admin") {
if ($_SESSION['mailcow_cc_role'] != "admin") {
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 9
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 10
'type' => 'danger',
'type' => 'danger',
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 11
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 12
'msg' => 'access_denied'
'msg' => 'access_denied'
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 13
);
);
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 14
return false;
return false;
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 15
}
}
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 16
$hostname = trim($_data['hostname']);
$hostname = trim($_data['hostname']);
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 17
$username = str_replace(':', '\:', trim($_data['username']));
$username = str_replace(':', '\:', trim($_data['username']));
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 18
$password = str_replace(':', '\:', trim($_data['password']));
$password = str_replace(':', '\:', trim($_data['password']));
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 19
if (empty($hostname)) {
if (empty($hostname)) {
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 20
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 21
'type' => 'danger',
'type' => 'danger',
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 22
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 23
'msg' => array('invalid_host', htmlspecialchars($host))
'msg' => array('invalid_host', htmlspecialchars($host))
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 24
);
);
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 25
return false;
return false;
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 26
}
}
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 27
try {
try {
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 28
$stmt = $pdo->prepare("INSERT INTO `relayhosts` (`hostname`, `username` ,`password`, `active`)
$stmt = $pdo->prepare("INSERT INTO `relayhosts` (`hostname`, `username` ,`password`, `active`)
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 29
VALUES (:hostname, :username, :password, :active)");
VALUES (:hostname, :username, :password, :active)");
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 30
$stmt->execute(array(
$stmt->execute(array(
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 31
':hostname' => $hostname,
':hostname' => $hostname,
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 32
':username' => $username,
':username' => $username,
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 33
':password' => str_replace(':', '\:', $password),
':password' => str_replace(':', '\:', $password),
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 34
':active' => '1'
':active' => '1'
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 35
));
));
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 36
}
}
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 37
catch (PDOException $e) {
catch (PDOException $e) {
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 38
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 39
'type' => 'danger',
'type' => 'danger',
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 40
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 41
'msg' => array('mysql_error', $e)
'msg' => array('mysql_error', $e)
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 42
);
);
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 43
return false;
return false;
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 44
}
}
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 45
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 46
'type' => 'success',
'type' => 'success',
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 47
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
andryyy
almost 5 years ago
2cd0b56
[Web] Various PHP 8 fixes, partly fixes #4219
- Full commit hash
2cd0b56b143b8a2741488ae1735bf6d74253247f- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 48
'msg' => array('relayhost_added', htmlspecialchars(implode(', ', (array)$hosts)))
'msg' => array('relayhost_added', htmlspecialchars(implode(', ', (array)$hosts)))
andryyy
over 7 years ago
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 49
);
);
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 50
break;
break;
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 51
case 'edit':
case 'edit':
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 52
if ($_SESSION['mailcow_cc_role'] != "admin") {
if ($_SESSION['mailcow_cc_role'] != "admin") {
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 53
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 54
'type' => 'danger',
'type' => 'danger',
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 55
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 56
'msg' => 'access_denied'
'msg' => 'access_denied'
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 57
);
);
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 58
return false;
return false;
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 59
}
}
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 60
$ids = (array)$_data['id'];
$ids = (array)$_data['id'];
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 61
foreach ($ids as $id) {
foreach ($ids as $id) {
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 62
$is_now = relayhost('details', $id);
$is_now = relayhost('details', $id);
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 63
if (!empty($is_now)) {
if (!empty($is_now)) {
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 64
$hostname = (!empty($_data['hostname'])) ? trim($_data['hostname']) : $is_now['hostname'];
$hostname = (!empty($_data['hostname'])) ? trim($_data['hostname']) : $is_now['hostname'];
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 65
$username = (isset($_data['username'])) ? trim($_data['username']) : $is_now['username'];
$username = (isset($_data['username'])) ? trim($_data['username']) : $is_now['username'];
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 66
$password = (isset($_data['password'])) ? trim($_data['password']) : $is_now['password'];
$password = (isset($_data['password'])) ? trim($_data['password']) : $is_now['password'];
andryyy
almost 6 years ago
d9b91fc
[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)
- Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 67
$active = (isset($_data['active'])) ? intval($_data['active']) : $is_now['active'];
$active = (isset($_data['active'])) ? intval($_data['active']) : $is_now['active'];
andryyy
over 7 years ago
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 68
}
}
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 69
else {
else {
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 70
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 71
'type' => 'danger',
'type' => 'danger',
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 72
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 73
'msg' => array('relayhost_invalid', $id)
'msg' => array('relayhost_invalid', $id)
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 74
);
);
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 75
continue;
continue;
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 76
}
}
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 77
try {
try {
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 78
$stmt = $pdo->prepare("UPDATE `relayhosts` SET
$stmt = $pdo->prepare("UPDATE `relayhosts` SET
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 79
`hostname` = :hostname,
`hostname` = :hostname,
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 80
`username` = :username,
`username` = :username,
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 81
`password` = :password,
`password` = :password,
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 82
`active` = :active
`active` = :active
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 83
WHERE `id` = :id");
WHERE `id` = :id");
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 84
$stmt->execute(array(
$stmt->execute(array(
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 85
':id' => $id,
':id' => $id,
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 86
':hostname' => $hostname,
':hostname' => $hostname,
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 87
':username' => $username,
':username' => $username,
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 88
':password' => $password,
':password' => $password,
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 89
':active' => $active
':active' => $active
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 90
));
));
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 91
}
}
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 92
catch (PDOException $e) {
catch (PDOException $e) {
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 93
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 94
'type' => 'danger',
'type' => 'danger',
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 95
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 96
'msg' => array('mysql_error', $e)
'msg' => array('mysql_error', $e)
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 97
);
);
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 98
continue;
continue;
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 99
}
}
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 100
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 101
'type' => 'success',
'type' => 'success',
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 102
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
andryyy
almost 5 years ago
2cd0b56
[Web] Various PHP 8 fixes, partly fixes #4219
- Full commit hash
2cd0b56b143b8a2741488ae1735bf6d74253247f- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 103
'msg' => array('object_modified', htmlspecialchars(implode(', ', (array)$hostnames)))
'msg' => array('object_modified', htmlspecialchars(implode(', ', (array)$hostnames)))
andryyy
over 7 years ago
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 104
);
);
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 105
}
}
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 106
break;
break;
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 107
case 'delete':
case 'delete':
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 108
if ($_SESSION['mailcow_cc_role'] != "admin") {
if ($_SESSION['mailcow_cc_role'] != "admin") {
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 109
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 110
'type' => 'danger',
'type' => 'danger',
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 111
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 112
'msg' => 'access_denied'
'msg' => 'access_denied'
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 113
);
);
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 114
return false;
return false;
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 115
}
}
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 116
$ids = (array)$_data['id'];
$ids = (array)$_data['id'];
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 117
foreach ($ids as $id) {
foreach ($ids as $id) {
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 118
try {
try {
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 119
$stmt = $pdo->prepare("DELETE FROM `relayhosts` WHERE `id`= :id");
$stmt = $pdo->prepare("DELETE FROM `relayhosts` WHERE `id`= :id");
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 120
$stmt->execute(array(':id' => $id));
$stmt->execute(array(':id' => $id));
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 121
$stmt = $pdo->prepare("UPDATE `domain` SET `relayhost` = '0' WHERE `relayhost`= :id");
$stmt = $pdo->prepare("UPDATE `domain` SET `relayhost` = '0' WHERE `relayhost`= :id");
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 122
$stmt->execute(array(':id' => $id));
$stmt->execute(array(':id' => $id));
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 123
}
}
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 124
catch (PDOException $e) {
catch (PDOException $e) {
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 125
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 126
'type' => 'danger',
'type' => 'danger',
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 127
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 128
'msg' => array('mysql_error', $e)
'msg' => array('mysql_error', $e)
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 129
);
);
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 130
continue;
continue;
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 131
}
}
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 132
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 133
'type' => 'success',
'type' => 'success',
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 134
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 135
'msg' => array('relayhost_removed', htmlspecialchars($id))
'msg' => array('relayhost_removed', htmlspecialchars($id))
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 136
);
);
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 137
}
}
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 138
break;
break;
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 139
case 'get':
case 'get':
andryyy
about 5 years ago
5065667
[Postfix] Allow to set and override a relayhost per mailbox
- Full commit hash
5065667ae467261d6a2336ec01faf9d26998044c- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 140
if ($_SESSION['mailcow_cc_role'] != "admin" && $_SESSION['mailcow_cc_role'] != "domainadmin") {
if ($_SESSION['mailcow_cc_role'] != "admin" && $_SESSION['mailcow_cc_role'] != "domainadmin") {
andryyy
over 7 years ago
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 141
return false;
return false;
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 142
}
}
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 143
$relayhosts = array();
$relayhosts = array();
andryyy
about 5 years ago
5065667
[Postfix] Allow to set and override a relayhost per mailbox
- Full commit hash
5065667ae467261d6a2336ec01faf9d26998044c- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 144
$stmt = $pdo->query("SELECT `id`, `hostname`, `username`, `active` FROM `relayhosts`");
$stmt = $pdo->query("SELECT `id`, `hostname`, `username`, `active` FROM `relayhosts`");
andryyy
over 7 years ago
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 145
$relayhosts = $stmt->fetchAll(PDO::FETCH_ASSOC);
$relayhosts = $stmt->fetchAll(PDO::FETCH_ASSOC);
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 146
return $relayhosts;
return $relayhosts;
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 147
break;
break;
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 148
case 'details':
case 'details':
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 149
if ($_SESSION['mailcow_cc_role'] != "admin" || !isset($_data)) {
if ($_SESSION['mailcow_cc_role'] != "admin" || !isset($_data)) {
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 150
return false;
return false;
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 151
}
}
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 152
$relayhostdata = array();
$relayhostdata = array();
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 153
$stmt = $pdo->prepare("SELECT `id`,
$stmt = $pdo->prepare("SELECT `id`,
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 154
`hostname`,
`hostname`,
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 155
`username`,
`username`,
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 156
`password`,
`password`,
andryyy
almost 6 years ago
d9b91fc
[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)
- Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 157
`active`,
`active`,
same change
d9b91fc
[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)
- Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 158
CONCAT(LEFT(`password`, 3), '...') AS `password_short`
CONCAT(LEFT(`password`, 3), '...') AS `password_short`
andryyy
over 7 years ago
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 159
FROM `relayhosts`
FROM `relayhosts`
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 160
WHERE `id` = :id");
WHERE `id` = :id");
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 161
$stmt->execute(array(':id' => $_data));
$stmt->execute(array(':id' => $_data));
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 162
$relayhostdata = $stmt->fetch(PDO::FETCH_ASSOC);
$relayhostdata = $stmt->fetch(PDO::FETCH_ASSOC);
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 163
if (!empty($relayhostdata)) {
if (!empty($relayhostdata)) {
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 164
$stmt = $pdo->prepare("SELECT GROUP_CONCAT(`domain` SEPARATOR ', ') AS `used_by_domains` FROM `domain` WHERE `relayhost` = :id");
$stmt = $pdo->prepare("SELECT GROUP_CONCAT(`domain` SEPARATOR ', ') AS `used_by_domains` FROM `domain` WHERE `relayhost` = :id");
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 165
$stmt->execute(array(':id' => $_data));
$stmt->execute(array(':id' => $_data));
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 166
$used_by_domains = $stmt->fetch(PDO::FETCH_ASSOC)['used_by_domains'];
$used_by_domains = $stmt->fetch(PDO::FETCH_ASSOC)['used_by_domains'];
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 167
$used_by_domains = (empty($used_by_domains)) ? '' : $used_by_domains;
$used_by_domains = (empty($used_by_domains)) ? '' : $used_by_domains;
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 168
$relayhostdata['used_by_domains'] = $used_by_domains;
$relayhostdata['used_by_domains'] = $used_by_domains;
andryyy
about 5 years ago
5065667
[Postfix] Allow to set and override a relayhost per mailbox
- Full commit hash
5065667ae467261d6a2336ec01faf9d26998044c- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 169
$stmt = $pdo->prepare("SELECT GROUP_CONCAT(`username` SEPARATOR ', ') AS `used_by_mailboxes` FROM `mailbox` WHERE JSON_VALUE(`attributes`, '$.relayhost') = :id");
$stmt = $pdo->prepare("SELECT GROUP_CONCAT(`username` SEPARATOR ', ') AS `used_by_mailboxes` FROM `mailbox` WHERE JSON_VALUE(`attributes`, '$.relayhost') = :id");
same change
5065667
[Postfix] Allow to set and override a relayhost per mailbox
- Full commit hash
5065667ae467261d6a2336ec01faf9d26998044c- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 170
$stmt->execute(array(':id' => $_data));
$stmt->execute(array(':id' => $_data));
same change
5065667
[Postfix] Allow to set and override a relayhost per mailbox
- Full commit hash
5065667ae467261d6a2336ec01faf9d26998044c- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 171
$used_by_mailboxes = $stmt->fetch(PDO::FETCH_ASSOC)['used_by_mailboxes'];
$used_by_mailboxes = $stmt->fetch(PDO::FETCH_ASSOC)['used_by_mailboxes'];
same change
5065667
[Postfix] Allow to set and override a relayhost per mailbox
- Full commit hash
5065667ae467261d6a2336ec01faf9d26998044c- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 172
$used_by_mailboxes = (empty($used_by_mailboxes)) ? '' : $used_by_mailboxes;
$used_by_mailboxes = (empty($used_by_mailboxes)) ? '' : $used_by_mailboxes;
same change
5065667
[Postfix] Allow to set and override a relayhost per mailbox
- Full commit hash
5065667ae467261d6a2336ec01faf9d26998044c- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 173
$relayhostdata['used_by_mailboxes'] = $used_by_mailboxes;
$relayhostdata['used_by_mailboxes'] = $used_by_mailboxes;
andryyy
over 7 years ago
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 174
}
}
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 175
return $relayhostdata;
return $relayhostdata;
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 176
break;
break;
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 177
}
}
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 178
}
}
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 179
function transport($_action, $_data = null) {
function transport($_action, $_data = null) {
andryyy
almost 5 years ago
2cd0b56
[Web] Various PHP 8 fixes, partly fixes #4219
- Full commit hash
2cd0b56b143b8a2741488ae1735bf6d74253247f- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 180
global $pdo;
global $pdo;
same change
2cd0b56
[Web] Various PHP 8 fixes, partly fixes #4219
- Full commit hash
2cd0b56b143b8a2741488ae1735bf6d74253247f- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 181
global $lang;
global $lang;
andryyy
over 7 years ago
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 182
$_data_log = $_data;
$_data_log = $_data;
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 183
switch ($_action) {
switch ($_action) {
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 184
case 'add':
case 'add':
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 185
if ($_SESSION['mailcow_cc_role'] != "admin") {
if ($_SESSION['mailcow_cc_role'] != "admin") {
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 186
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 187
'type' => 'danger',
'type' => 'danger',
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 188
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 189
'msg' => 'access_denied'
'msg' => 'access_denied'
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 190
);
);
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 191
return false;
return false;
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 192
}
}
andryyy
almost 7 years ago
ab42540
[Web] Minor changes or fixes; [Web] Add multiple transport destinations at the same time - comma separated
- Full commit hash
ab42540769f82423b4091fbf12248679bacc12f4- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 193
$destinations = array_map('trim', preg_split( "/( |,|;|\n)/", $_data['destination']));
$destinations = array_map('trim', preg_split( "/( |,|;|\n)/", $_data['destination']));
andryyy
almost 7 years ago
0d8a92a
[Web] Show ratelimit inheritance
- Full commit hash
0d8a92a36525ea141bd0c50a03162cc251c0223f- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 194
$active = intval($_data['active']);
$active = intval($_data['active']);
andryyy
about 5 years ago
8a83587
[Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik
- Full commit hash
8a8358780059abfb2c8ffe395392b220c3f39fdb- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 195
$is_mx_based = intval($_data['is_mx_based']);
$is_mx_based = intval($_data['is_mx_based']);
andryyy
over 7 years ago
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 196
$nexthop = trim($_data['nexthop']);
$nexthop = trim($_data['nexthop']);
andryyy
over 6 years ago
79ab962
[Web] Fix some transport verifications
- Full commit hash
79ab962d507b5ae6a5304ba276151bbb90d7f12f- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 197
if (filter_var($nexthop, FILTER_VALIDATE_IP)) {
if (filter_var($nexthop, FILTER_VALIDATE_IP)) {
same change
79ab962
[Web] Fix some transport verifications
- Full commit hash
79ab962d507b5ae6a5304ba276151bbb90d7f12f- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 198
$nexthop = '[' . $nexthop . ']';
$nexthop = '[' . $nexthop . ']';
same change
79ab962
[Web] Fix some transport verifications
- Full commit hash
79ab962d507b5ae6a5304ba276151bbb90d7f12f- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 199
}
}
andryyy
over 7 years ago
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 200
preg_match('/\[(.+)\].*/', $nexthop, $next_hop_matches);
preg_match('/\[(.+)\].*/', $nexthop, $next_hop_matches);
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 201
$next_hop_clean = (isset($next_hop_matches[1])) ? $next_hop_matches[1] : $nexthop;
$next_hop_clean = (isset($next_hop_matches[1])) ? $next_hop_matches[1] : $nexthop;
andryyy
over 7 years ago
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 202
$username = str_replace(':', '\:', trim($_data['username']));
$username = str_replace(':', '\:', trim($_data['username']));
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 203
$password = str_replace(':', '\:', trim($_data['password']));
$password = str_replace(':', '\:', trim($_data['password']));
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 204
if (empty($nexthop)) {
if (empty($nexthop)) {
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 205
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 206
'type' => 'danger',
'type' => 'danger',
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 207
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 208
'msg' => array('invalid_nexthop')
'msg' => array('invalid_nexthop')
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 209
);
);
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 210
return false;
return false;
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 211
}
}
andryyy
over 7 years ago
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 212
$transports = transport('get');
$transports = transport('get');
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 213
if (!empty($transports)) {
if (!empty($transports)) {
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 214
foreach ($transports as $transport) {
foreach ($transports as $transport) {
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 215
$transport_data = transport('details', $transport['id']);
$transport_data = transport('details', $transport['id']);
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 216
$existing_nh[] = $transport_data['nexthop'];
$existing_nh[] = $transport_data['nexthop'];
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 217
preg_match('/\[(.+)\].*/', $transport_data['nexthop'], $existing_clean_nh[]);
preg_match('/\[(.+)\].*/', $transport_data['nexthop'], $existing_clean_nh[]);
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 218
if (($transport_data['nexthop'] == $nexthop || $transport_data['nexthop'] == $next_hop_clean) && $transport_data['username'] != $username) {
if (($transport_data['nexthop'] == $nexthop || $transport_data['nexthop'] == $next_hop_clean) && $transport_data['username'] != $username) {
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 219
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 220
'type' => 'danger',
'type' => 'danger',
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 221
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 222
'msg' => 'invalid_nexthop_authenticated'
'msg' => 'invalid_nexthop_authenticated'
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 223
);
);
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 224
return false;
return false;
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 225
}
}
andryyy
almost 7 years ago
ab42540
[Web] Minor changes or fixes; [Web] Add multiple transport destinations at the same time - comma separated
- Full commit hash
ab42540769f82423b4091fbf12248679bacc12f4- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 226
foreach ($destinations as $d_ix => &$dest) {
foreach ($destinations as $d_ix => &$dest) {
same change
ab42540
[Web] Minor changes or fixes; [Web] Add multiple transport destinations at the same time - comma separated
- Full commit hash
ab42540769f82423b4091fbf12248679bacc12f4- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 227
if (empty($dest)) {
if (empty($dest)) {
same change
ab42540
[Web] Minor changes or fixes; [Web] Add multiple transport destinations at the same time - comma separated
- Full commit hash
ab42540769f82423b4091fbf12248679bacc12f4- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 228
unset($destinations[$d_ix]);
unset($destinations[$d_ix]);
same change
ab42540
[Web] Minor changes or fixes; [Web] Add multiple transport destinations at the same time - comma separated
- Full commit hash
ab42540769f82423b4091fbf12248679bacc12f4- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 229
continue;
continue;
same change
ab42540
[Web] Minor changes or fixes; [Web] Add multiple transport destinations at the same time - comma separated
- Full commit hash
ab42540769f82423b4091fbf12248679bacc12f4- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 230
}
}
same change
ab42540
[Web] Minor changes or fixes; [Web] Add multiple transport destinations at the same time - comma separated
- Full commit hash
ab42540769f82423b4091fbf12248679bacc12f4- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 231
if ($transport_data['destination'] == $dest) {
if ($transport_data['destination'] == $dest) {
same change
ab42540
[Web] Minor changes or fixes; [Web] Add multiple transport destinations at the same time - comma separated
- Full commit hash
ab42540769f82423b4091fbf12248679bacc12f4- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 232
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
ab42540
[Web] Minor changes or fixes; [Web] Add multiple transport destinations at the same time - comma separated
- Full commit hash
ab42540769f82423b4091fbf12248679bacc12f4- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 233
'type' => 'danger',
'type' => 'danger',
same change
ab42540
[Web] Minor changes or fixes; [Web] Add multiple transport destinations at the same time - comma separated
- Full commit hash
ab42540769f82423b4091fbf12248679bacc12f4- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 234
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
ab42540
[Web] Minor changes or fixes; [Web] Add multiple transport destinations at the same time - comma separated
- Full commit hash
ab42540769f82423b4091fbf12248679bacc12f4- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 235
'msg' => array('transport_dest_exists', $dest)
'msg' => array('transport_dest_exists', $dest)
same change
ab42540
[Web] Minor changes or fixes; [Web] Add multiple transport destinations at the same time - comma separated
- Full commit hash
ab42540769f82423b4091fbf12248679bacc12f4- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 236
);
);
same change
ab42540
[Web] Minor changes or fixes; [Web] Add multiple transport destinations at the same time - comma separated
- Full commit hash
ab42540769f82423b4091fbf12248679bacc12f4- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 237
unset($destinations[$d_ix]);
unset($destinations[$d_ix]);
same change
ab42540
[Web] Minor changes or fixes; [Web] Add multiple transport destinations at the same time - comma separated
- Full commit hash
ab42540769f82423b4091fbf12248679bacc12f4- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 238
continue;
continue;
same change
ab42540
[Web] Minor changes or fixes; [Web] Add multiple transport destinations at the same time - comma separated
- Full commit hash
ab42540769f82423b4091fbf12248679bacc12f4- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 239
}
}
same change
ab42540
[Web] Minor changes or fixes; [Web] Add multiple transport destinations at the same time - comma separated
- Full commit hash
ab42540769f82423b4091fbf12248679bacc12f4- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 240
// ".domain" is a valid destination, "..domain" is not
// ".domain" is a valid destination, "..domain" is not
andryyy
about 5 years ago
8a83587
[Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik
- Full commit hash
8a8358780059abfb2c8ffe395392b220c3f39fdb- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 241
if ($is_mx_based == 0 && (empty($dest) || (is_valid_domain_name(preg_replace('/^' . preg_quote('.', '/') . '/', '', $dest)) === false && $dest != '*' && filter_var($dest, FILTER_VALIDATE_EMAIL) === false))) {
if ($is_mx_based == 0 && (empty($dest) || (is_valid_domain_name(preg_replace('/^' . preg_quote('.', '/') . '/', '', $dest)) === false && $dest != '*' && filter_var($dest, FILTER_VALIDATE_EMAIL) === false))) {
same change
8a83587
[Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik
- Full commit hash
8a8358780059abfb2c8ffe395392b220c3f39fdb- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 242
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
8a83587
[Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik
- Full commit hash
8a8358780059abfb2c8ffe395392b220c3f39fdb- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 243
'type' => 'danger',
'type' => 'danger',
same change
8a83587
[Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik
- Full commit hash
8a8358780059abfb2c8ffe395392b220c3f39fdb- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 244
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
8a83587
[Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik
- Full commit hash
8a8358780059abfb2c8ffe395392b220c3f39fdb- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 245
'msg' => array('invalid_destination', $dest)
'msg' => array('invalid_destination', $dest)
same change
8a83587
[Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik
- Full commit hash
8a8358780059abfb2c8ffe395392b220c3f39fdb- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 246
);
);
same change
8a83587
[Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik
- Full commit hash
8a8358780059abfb2c8ffe395392b220c3f39fdb- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 247
unset($destinations[$d_ix]);
unset($destinations[$d_ix]);
same change
8a83587
[Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik
- Full commit hash
8a8358780059abfb2c8ffe395392b220c3f39fdb- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 248
continue;
continue;
same change
8a83587
[Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik
- Full commit hash
8a8358780059abfb2c8ffe395392b220c3f39fdb- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 249
}
}
same change
8a83587
[Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik
- Full commit hash
8a8358780059abfb2c8ffe395392b220c3f39fdb- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 250
if ($is_mx_based == 1 && (empty($dest) || @preg_match('/' . $dest . '/', null) === false)) {
if ($is_mx_based == 1 && (empty($dest) || @preg_match('/' . $dest . '/', null) === false)) {
andryyy
almost 7 years ago
ab42540
[Web] Minor changes or fixes; [Web] Add multiple transport destinations at the same time - comma separated
- Full commit hash
ab42540769f82423b4091fbf12248679bacc12f4- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 251
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
ab42540
[Web] Minor changes or fixes; [Web] Add multiple transport destinations at the same time - comma separated
- Full commit hash
ab42540769f82423b4091fbf12248679bacc12f4- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 252
'type' => 'danger',
'type' => 'danger',
same change
ab42540
[Web] Minor changes or fixes; [Web] Add multiple transport destinations at the same time - comma separated
- Full commit hash
ab42540769f82423b4091fbf12248679bacc12f4- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 253
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
ab42540
[Web] Minor changes or fixes; [Web] Add multiple transport destinations at the same time - comma separated
- Full commit hash
ab42540769f82423b4091fbf12248679bacc12f4- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 254
'msg' => array('invalid_destination', $dest)
'msg' => array('invalid_destination', $dest)
same change
ab42540
[Web] Minor changes or fixes; [Web] Add multiple transport destinations at the same time - comma separated
- Full commit hash
ab42540769f82423b4091fbf12248679bacc12f4- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 255
);
);
same change
ab42540
[Web] Minor changes or fixes; [Web] Add multiple transport destinations at the same time - comma separated
- Full commit hash
ab42540769f82423b4091fbf12248679bacc12f4- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 256
unset($destinations[$d_ix]);
unset($destinations[$d_ix]);
same change
ab42540
[Web] Minor changes or fixes; [Web] Add multiple transport destinations at the same time - comma separated
- Full commit hash
ab42540769f82423b4091fbf12248679bacc12f4- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 257
continue;
continue;
same change
ab42540
[Web] Minor changes or fixes; [Web] Add multiple transport destinations at the same time - comma separated
- Full commit hash
ab42540769f82423b4091fbf12248679bacc12f4- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 258
}
}
andryyy
about 7 years ago
3e3e526
[Dovecot] Update to 2.3.5.2
- Full commit hash
3e3e526568d99d8899692ad7230e2593817bdea2- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 259
}
}
andryyy
over 7 years ago
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 260
}
}
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 261
}
}
andryyy
almost 6 years ago
3a9efc8
[SOGo, Dovecot] Remove unnecessary likes from sql queries
- Full commit hash
3a9efc86cf8c8942d51c0d54366d98825cd7670b- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 262
$destinations = array_filter(array_values(array_unique($destinations)));
$destinations = array_filter(array_values(array_unique($destinations)));
andryyy
almost 7 years ago
ab42540
[Web] Minor changes or fixes; [Web] Add multiple transport destinations at the same time - comma separated
- Full commit hash
ab42540769f82423b4091fbf12248679bacc12f4- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 263
if (empty($destinations)) { return false; }
if (empty($destinations)) { return false; }
andryyy
over 7 years ago
ebaa441
[Web] Fix for the fix of transport map checks
- Full commit hash
ebaa441f0e788a0ff2c3e914e72d96c8c90ed78a- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 264
if (isset($next_hop_matches[1])) {
if (isset($next_hop_matches[1])) {
andryyy
almost 5 years ago
913e9cb
[Web] Fix transport validation
- Full commit hash
913e9cbb116c7872d7a509efc22713889928361e- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 265
if ($existing_nh !== null && in_array($next_hop_clean, $existing_nh)) {
if ($existing_nh !== null && in_array($next_hop_clean, $existing_nh)) {
andryyy
over 7 years ago
ebaa441
[Web] Fix for the fix of transport map checks
- Full commit hash
ebaa441f0e788a0ff2c3e914e72d96c8c90ed78a- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 266
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
ebaa441
[Web] Fix for the fix of transport map checks
- Full commit hash
ebaa441f0e788a0ff2c3e914e72d96c8c90ed78a- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 267
'type' => 'danger',
'type' => 'danger',
same change
ebaa441
[Web] Fix for the fix of transport map checks
- Full commit hash
ebaa441f0e788a0ff2c3e914e72d96c8c90ed78a- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 268
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
ebaa441
[Web] Fix for the fix of transport map checks
- Full commit hash
ebaa441f0e788a0ff2c3e914e72d96c8c90ed78a- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 269
'msg' => array('next_hop_interferes', $next_hop_clean, $nexthop)
'msg' => array('next_hop_interferes', $next_hop_clean, $nexthop)
same change
ebaa441
[Web] Fix for the fix of transport map checks
- Full commit hash
ebaa441f0e788a0ff2c3e914e72d96c8c90ed78a- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 270
);
);
same change
ebaa441
[Web] Fix for the fix of transport map checks
- Full commit hash
ebaa441f0e788a0ff2c3e914e72d96c8c90ed78a- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 271
return false;
return false;
same change
ebaa441
[Web] Fix for the fix of transport map checks
- Full commit hash
ebaa441f0e788a0ff2c3e914e72d96c8c90ed78a- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 272
}
}
same change
ebaa441
[Web] Fix for the fix of transport map checks
- Full commit hash
ebaa441f0e788a0ff2c3e914e72d96c8c90ed78a- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 273
}
}
same change
ebaa441
[Web] Fix for the fix of transport map checks
- Full commit hash
ebaa441f0e788a0ff2c3e914e72d96c8c90ed78a- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 274
else {
else {
andryyy
over 7 years ago
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 275
foreach ($existing_clean_nh as $existing_clean_nh_each) {
foreach ($existing_clean_nh as $existing_clean_nh_each) {
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 276
if ($existing_clean_nh_each[1] == $nexthop) {
if ($existing_clean_nh_each[1] == $nexthop) {
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 277
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 278
'type' => 'danger',
'type' => 'danger',
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 279
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 280
'msg' => array('next_hop_interferes_any', $nexthop)
'msg' => array('next_hop_interferes_any', $nexthop)
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 281
);
);
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 282
return false;
return false;
andryyy
over 7 years ago
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 283
}
}
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 284
}
}
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 285
}
}
andryyy
almost 7 years ago
ab42540
[Web] Minor changes or fixes; [Web] Add multiple transport destinations at the same time - comma separated
- Full commit hash
ab42540769f82423b4091fbf12248679bacc12f4- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 286
foreach ($destinations as $insert_dest) {
foreach ($destinations as $insert_dest) {
andryyy
about 5 years ago
8a83587
[Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik
- Full commit hash
8a8358780059abfb2c8ffe395392b220c3f39fdb- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 287
$stmt = $pdo->prepare("INSERT INTO `transports` (`nexthop`, `destination`, `is_mx_based`, `username` , `password`, `active`)
$stmt = $pdo->prepare("INSERT INTO `transports` (`nexthop`, `destination`, `is_mx_based`, `username` , `password`, `active`)
same change
8a83587
[Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik
- Full commit hash
8a8358780059abfb2c8ffe395392b220c3f39fdb- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 288
VALUES (:nexthop, :destination, :is_mx_based, :username, :password, :active)");
VALUES (:nexthop, :destination, :is_mx_based, :username, :password, :active)");
andryyy
over 7 years ago
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 289
$stmt->execute(array(
$stmt->execute(array(
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 290
':nexthop' => $nexthop,
':nexthop' => $nexthop,
andryyy
almost 7 years ago
ab42540
[Web] Minor changes or fixes; [Web] Add multiple transport destinations at the same time - comma separated
- Full commit hash
ab42540769f82423b4091fbf12248679bacc12f4- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 291
':destination' => $insert_dest,
':destination' => $insert_dest,
andryyy
about 5 years ago
8a83587
[Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik
- Full commit hash
8a8358780059abfb2c8ffe395392b220c3f39fdb- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 292
':is_mx_based' => $is_mx_based,
':is_mx_based' => $is_mx_based,
andryyy
over 7 years ago
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 293
':username' => $username,
':username' => $username,
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 294
':password' => str_replace(':', '\:', $password),
':password' => str_replace(':', '\:', $password),
andryyy
almost 7 years ago
0d8a92a
[Web] Show ratelimit inheritance
- Full commit hash
0d8a92a36525ea141bd0c50a03162cc251c0223f- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 295
':active' => $active
':active' => $active
andryyy
over 7 years ago
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 296
));
));
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 297
}
}
andryyy
almost 7 years ago
ab42540
[Web] Minor changes or fixes; [Web] Add multiple transport destinations at the same time - comma separated
- Full commit hash
ab42540769f82423b4091fbf12248679bacc12f4- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 298
$stmt = $pdo->prepare("UPDATE `transports` SET
$stmt = $pdo->prepare("UPDATE `transports` SET
same change
ab42540
[Web] Minor changes or fixes; [Web] Add multiple transport destinations at the same time - comma separated
- Full commit hash
ab42540769f82423b4091fbf12248679bacc12f4- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 299
`username` = :username,
`username` = :username,
same change
ab42540
[Web] Minor changes or fixes; [Web] Add multiple transport destinations at the same time - comma separated
- Full commit hash
ab42540769f82423b4091fbf12248679bacc12f4- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 300
`password` = :password
`password` = :password
same change
ab42540
[Web] Minor changes or fixes; [Web] Add multiple transport destinations at the same time - comma separated
- Full commit hash
ab42540769f82423b4091fbf12248679bacc12f4- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 301
WHERE `nexthop` = :nexthop");
WHERE `nexthop` = :nexthop");
same change
ab42540
[Web] Minor changes or fixes; [Web] Add multiple transport destinations at the same time - comma separated
- Full commit hash
ab42540769f82423b4091fbf12248679bacc12f4- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 302
$stmt->execute(array(
$stmt->execute(array(
same change
ab42540
[Web] Minor changes or fixes; [Web] Add multiple transport destinations at the same time - comma separated
- Full commit hash
ab42540769f82423b4091fbf12248679bacc12f4- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 303
':nexthop' => $nexthop,
':nexthop' => $nexthop,
same change
ab42540
[Web] Minor changes or fixes; [Web] Add multiple transport destinations at the same time - comma separated
- Full commit hash
ab42540769f82423b4091fbf12248679bacc12f4- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 304
':username' => $username,
':username' => $username,
same change
ab42540
[Web] Minor changes or fixes; [Web] Add multiple transport destinations at the same time - comma separated
- Full commit hash
ab42540769f82423b4091fbf12248679bacc12f4- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 305
':password' => $password
':password' => $password
same change
ab42540
[Web] Minor changes or fixes; [Web] Add multiple transport destinations at the same time - comma separated
- Full commit hash
ab42540769f82423b4091fbf12248679bacc12f4- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 306
));
));
andryyy
over 7 years ago
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 307
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 308
'type' => 'success',
'type' => 'success',
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 309
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
andryyy
almost 5 years ago
2cd0b56
[Web] Various PHP 8 fixes, partly fixes #4219
- Full commit hash
2cd0b56b143b8a2741488ae1735bf6d74253247f- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 310
'msg' => array('relayhost_added', htmlspecialchars(implode(', ', (array)$hosts)))
'msg' => array('relayhost_added', htmlspecialchars(implode(', ', (array)$hosts)))
andryyy
over 7 years ago
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 311
);
);
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 312
break;
break;
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 313
case 'edit':
case 'edit':
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 314
if ($_SESSION['mailcow_cc_role'] != "admin") {
if ($_SESSION['mailcow_cc_role'] != "admin") {
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 315
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 316
'type' => 'danger',
'type' => 'danger',
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 317
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 318
'msg' => 'access_denied'
'msg' => 'access_denied'
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 319
);
);
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 320
return false;
return false;
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 321
}
}
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 322
$ids = (array)$_data['id'];
$ids = (array)$_data['id'];
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 323
foreach ($ids as $id) {
foreach ($ids as $id) {
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 324
$is_now = transport('details', $id);
$is_now = transport('details', $id);
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 325
if (!empty($is_now)) {
if (!empty($is_now)) {
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 326
$destination = (!empty($_data['destination'])) ? trim($_data['destination']) : $is_now['destination'];
$destination = (!empty($_data['destination'])) ? trim($_data['destination']) : $is_now['destination'];
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 327
$nexthop = (!empty($_data['nexthop'])) ? trim($_data['nexthop']) : $is_now['nexthop'];
$nexthop = (!empty($_data['nexthop'])) ? trim($_data['nexthop']) : $is_now['nexthop'];
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 328
$username = (isset($_data['username'])) ? trim($_data['username']) : $is_now['username'];
$username = (isset($_data['username'])) ? trim($_data['username']) : $is_now['username'];
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 329
$password = (isset($_data['password'])) ? trim($_data['password']) : $is_now['password'];
$password = (isset($_data['password'])) ? trim($_data['password']) : $is_now['password'];
andryyy
about 5 years ago
8a83587
[Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik
- Full commit hash
8a8358780059abfb2c8ffe395392b220c3f39fdb- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 330
$is_mx_based = (isset($_data['is_mx_based']) && $_data['is_mx_based'] != '') ? intval($_data['is_mx_based']) : $is_now['is_mx_based'];
$is_mx_based = (isset($_data['is_mx_based']) && $_data['is_mx_based'] != '') ? intval($_data['is_mx_based']) : $is_now['is_mx_based'];
andryyy
almost 6 years ago
d9b91fc
[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)
- Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 331
$active = (isset($_data['active']) && $_data['active'] != '') ? intval($_data['active']) : $is_now['active'];
$active = (isset($_data['active']) && $_data['active'] != '') ? intval($_data['active']) : $is_now['active'];
andryyy
over 7 years ago
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 332
}
}
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 333
else {
else {
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 334
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 335
'type' => 'danger',
'type' => 'danger',
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 336
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 337
'msg' => array('relayhost_invalid', $id)
'msg' => array('relayhost_invalid', $id)
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 338
);
);
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 339
continue;
continue;
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 340
}
}
andryyy
over 7 years ago
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 341
preg_match('/\[(.+)\].*/', $nexthop, $next_hop_matches);
preg_match('/\[(.+)\].*/', $nexthop, $next_hop_matches);
andryyy
over 6 years ago
79ab962
[Web] Fix some transport verifications
- Full commit hash
79ab962d507b5ae6a5304ba276151bbb90d7f12f- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 342
if (filter_var($nexthop, FILTER_VALIDATE_IP)) {
if (filter_var($nexthop, FILTER_VALIDATE_IP)) {
same change
79ab962
[Web] Fix some transport verifications
- Full commit hash
79ab962d507b5ae6a5304ba276151bbb90d7f12f- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 343
$nexthop = '[' . $nexthop . ']';
$nexthop = '[' . $nexthop . ']';
same change
79ab962
[Web] Fix some transport verifications
- Full commit hash
79ab962d507b5ae6a5304ba276151bbb90d7f12f- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 344
}
}
andryyy
over 7 years ago
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 345
$next_hop_clean = (isset($next_hop_matches[1])) ? $next_hop_matches[1] : $nexthop;
$next_hop_clean = (isset($next_hop_matches[1])) ? $next_hop_matches[1] : $nexthop;
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 346
$transports = transport('get');
$transports = transport('get');
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 347
if (!empty($transports)) {
if (!empty($transports)) {
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 348
foreach ($transports as $transport) {
foreach ($transports as $transport) {
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 349
$transport_data = transport('details', $transport['id']);
$transport_data = transport('details', $transport['id']);
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 350
if ($transport['id'] == $id) {
if ($transport['id'] == $id) {
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 351
continue;
continue;
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 352
}
}
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 353
$existing_nh[] = $transport_data['nexthop'];
$existing_nh[] = $transport_data['nexthop'];
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 354
preg_match('/\[(.+)\].*/', $transport_data['nexthop'], $existing_clean_nh[]);
preg_match('/\[(.+)\].*/', $transport_data['nexthop'], $existing_clean_nh[]);
andryyy
about 7 years ago
3e3e526
[Dovecot] Update to 2.3.5.2
- Full commit hash
3e3e526568d99d8899692ad7230e2593817bdea2- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 355
if ($transport_data['destination'] == $destination) {
if ($transport_data['destination'] == $destination) {
same change
3e3e526
[Dovecot] Update to 2.3.5.2
- Full commit hash
3e3e526568d99d8899692ad7230e2593817bdea2- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 356
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
3e3e526
[Dovecot] Update to 2.3.5.2
- Full commit hash
3e3e526568d99d8899692ad7230e2593817bdea2- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 357
'type' => 'danger',
'type' => 'danger',
same change
3e3e526
[Dovecot] Update to 2.3.5.2
- Full commit hash
3e3e526568d99d8899692ad7230e2593817bdea2- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 358
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
3e3e526
[Dovecot] Update to 2.3.5.2
- Full commit hash
3e3e526568d99d8899692ad7230e2593817bdea2- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 359
'msg' => 'transport_dest_exists'
'msg' => 'transport_dest_exists'
same change
3e3e526
[Dovecot] Update to 2.3.5.2
- Full commit hash
3e3e526568d99d8899692ad7230e2593817bdea2- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 360
);
);
same change
3e3e526
[Dovecot] Update to 2.3.5.2
- Full commit hash
3e3e526568d99d8899692ad7230e2593817bdea2- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 361
return false;
return false;
same change
3e3e526
[Dovecot] Update to 2.3.5.2
- Full commit hash
3e3e526568d99d8899692ad7230e2593817bdea2- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 362
}
}
andryyy
over 7 years ago
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 363
}
}
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 364
}
}
andryyy
about 5 years ago
8a83587
[Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik
- Full commit hash
8a8358780059abfb2c8ffe395392b220c3f39fdb- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 365
if ($is_mx_based == 0 && (empty($destination) || (is_valid_domain_name(preg_replace('/^' . preg_quote('.', '/') . '/', '', $destination)) === false && $destination != '*' && filter_var($destination, FILTER_VALIDATE_EMAIL) === false))) {
if ($is_mx_based == 0 && (empty($destination) || (is_valid_domain_name(preg_replace('/^' . preg_quote('.', '/') . '/', '', $destination)) === false && $destination != '*' && filter_var($destination, FILTER_VALIDATE_EMAIL) === false))) {
same change
8a83587
[Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik
- Full commit hash
8a8358780059abfb2c8ffe395392b220c3f39fdb- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 366
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
8a83587
[Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik
- Full commit hash
8a8358780059abfb2c8ffe395392b220c3f39fdb- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 367
'type' => 'danger',
'type' => 'danger',
same change
8a83587
[Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik
- Full commit hash
8a8358780059abfb2c8ffe395392b220c3f39fdb- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 368
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
8a83587
[Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik
- Full commit hash
8a8358780059abfb2c8ffe395392b220c3f39fdb- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 369
'msg' => array('invalid_destination', $destination)
'msg' => array('invalid_destination', $destination)
same change
8a83587
[Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik
- Full commit hash
8a8358780059abfb2c8ffe395392b220c3f39fdb- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 370
);
);
same change
8a83587
[Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik
- Full commit hash
8a8358780059abfb2c8ffe395392b220c3f39fdb- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 371
return false;
return false;
same change
8a83587
[Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik
- Full commit hash
8a8358780059abfb2c8ffe395392b220c3f39fdb- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 372
}
}
same change
8a83587
[Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik
- Full commit hash
8a8358780059abfb2c8ffe395392b220c3f39fdb- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 373
if ($is_mx_based == 1 && (empty($destination) || @preg_match('/' . $destination . '/', null) === false)) {
if ($is_mx_based == 1 && (empty($destination) || @preg_match('/' . $destination . '/', null) === false)) {
same change
8a83587
[Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik
- Full commit hash
8a8358780059abfb2c8ffe395392b220c3f39fdb- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 374
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
8a83587
[Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik
- Full commit hash
8a8358780059abfb2c8ffe395392b220c3f39fdb- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 375
'type' => 'danger',
'type' => 'danger',
same change
8a83587
[Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik
- Full commit hash
8a8358780059abfb2c8ffe395392b220c3f39fdb- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 376
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
8a83587
[Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik
- Full commit hash
8a8358780059abfb2c8ffe395392b220c3f39fdb- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 377
'msg' => array('invalid_destination', $destination)
'msg' => array('invalid_destination', $destination)
same change
8a83587
[Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik
- Full commit hash
8a8358780059abfb2c8ffe395392b220c3f39fdb- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 378
);
);
same change
8a83587
[Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik
- Full commit hash
8a8358780059abfb2c8ffe395392b220c3f39fdb- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 379
return false;
return false;
same change
8a83587
[Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik
- Full commit hash
8a8358780059abfb2c8ffe395392b220c3f39fdb- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 380
}
}
andryyy
over 7 years ago
ebaa441
[Web] Fix for the fix of transport map checks
- Full commit hash
ebaa441f0e788a0ff2c3e914e72d96c8c90ed78a- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 381
if (isset($next_hop_matches[1])) {
if (isset($next_hop_matches[1])) {
andryyy
almost 5 years ago
913e9cb
[Web] Fix transport validation
- Full commit hash
913e9cbb116c7872d7a509efc22713889928361e- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 382
if ($existing_nh !== null && in_array($next_hop_clean, $existing_nh)) {
if ($existing_nh !== null && in_array($next_hop_clean, $existing_nh)) {
andryyy
over 7 years ago
ebaa441
[Web] Fix for the fix of transport map checks
- Full commit hash
ebaa441f0e788a0ff2c3e914e72d96c8c90ed78a- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 383
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
ebaa441
[Web] Fix for the fix of transport map checks
- Full commit hash
ebaa441f0e788a0ff2c3e914e72d96c8c90ed78a- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 384
'type' => 'danger',
'type' => 'danger',
same change
ebaa441
[Web] Fix for the fix of transport map checks
- Full commit hash
ebaa441f0e788a0ff2c3e914e72d96c8c90ed78a- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 385
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
ebaa441
[Web] Fix for the fix of transport map checks
- Full commit hash
ebaa441f0e788a0ff2c3e914e72d96c8c90ed78a- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 386
'msg' => array('next_hop_interferes', $next_hop_clean, $nexthop)
'msg' => array('next_hop_interferes', $next_hop_clean, $nexthop)
same change
ebaa441
[Web] Fix for the fix of transport map checks
- Full commit hash
ebaa441f0e788a0ff2c3e914e72d96c8c90ed78a- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 387
);
);
same change
ebaa441
[Web] Fix for the fix of transport map checks
- Full commit hash
ebaa441f0e788a0ff2c3e914e72d96c8c90ed78a- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 388
return false;
return false;
same change
ebaa441
[Web] Fix for the fix of transport map checks
- Full commit hash
ebaa441f0e788a0ff2c3e914e72d96c8c90ed78a- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 389
}
}
same change
ebaa441
[Web] Fix for the fix of transport map checks
- Full commit hash
ebaa441f0e788a0ff2c3e914e72d96c8c90ed78a- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 390
}
}
same change
ebaa441
[Web] Fix for the fix of transport map checks
- Full commit hash
ebaa441f0e788a0ff2c3e914e72d96c8c90ed78a- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 391
else {
else {
andryyy
over 7 years ago
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 392
foreach ($existing_clean_nh as $existing_clean_nh_each) {
foreach ($existing_clean_nh as $existing_clean_nh_each) {
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 393
if ($existing_clean_nh_each[1] == $nexthop) {
if ($existing_clean_nh_each[1] == $nexthop) {
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 394
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 395
'type' => 'danger',
'type' => 'danger',
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 396
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 397
'msg' => array('next_hop_interferes_any', $nexthop)
'msg' => array('next_hop_interferes_any', $nexthop)
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 398
);
);
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 399
return false;
return false;
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 400
}
}
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 401
}
}
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 402
}
}
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 403
if (empty($username)) {
if (empty($username)) {
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 404
$password = '';
$password = '';
same change
6dc2a0e
[Web] More checks and fixes for transport maps
- Full commit hash
6dc2a0ee1a3172c67bb346534f27b3fd8d1e6c3e- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 405
}
}
andryyy
over 7 years ago
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 406
try {
try {
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 407
$stmt = $pdo->prepare("UPDATE `transports` SET
$stmt = $pdo->prepare("UPDATE `transports` SET
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 408
`destination` = :destination,
`destination` = :destination,
andryyy
about 5 years ago
8a83587
[Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik
- Full commit hash
8a8358780059abfb2c8ffe395392b220c3f39fdb- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 409
`is_mx_based` = :is_mx_based,
`is_mx_based` = :is_mx_based,
andryyy
over 7 years ago
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 410
`nexthop` = :nexthop,
`nexthop` = :nexthop,
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 411
`username` = :username,
`username` = :username,
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 412
`password` = :password,
`password` = :password,
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 413
`active` = :active
`active` = :active
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 414
WHERE `id` = :id");
WHERE `id` = :id");
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 415
$stmt->execute(array(
$stmt->execute(array(
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 416
':id' => $id,
':id' => $id,
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 417
':destination' => $destination,
':destination' => $destination,
andryyy
about 5 years ago
8a83587
[Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik
- Full commit hash
8a8358780059abfb2c8ffe395392b220c3f39fdb- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 418
':is_mx_based' => $is_mx_based,
':is_mx_based' => $is_mx_based,
andryyy
over 7 years ago
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 419
':nexthop' => $nexthop,
':nexthop' => $nexthop,
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 420
':username' => $username,
':username' => $username,
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 421
':password' => $password,
':password' => $password,
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 422
':active' => $active
':active' => $active
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 423
));
));
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 424
$stmt = $pdo->prepare("UPDATE `transports` SET
$stmt = $pdo->prepare("UPDATE `transports` SET
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 425
`username` = :username,
`username` = :username,
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 426
`password` = :password
`password` = :password
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 427
WHERE `nexthop` = :nexthop");
WHERE `nexthop` = :nexthop");
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 428
$stmt->execute(array(
$stmt->execute(array(
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 429
':nexthop' => $nexthop,
':nexthop' => $nexthop,
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 430
':username' => $username,
':username' => $username,
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 431
':password' => $password
':password' => $password
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 432
));
));
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 433
}
}
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 434
catch (PDOException $e) {
catch (PDOException $e) {
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 435
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 436
'type' => 'danger',
'type' => 'danger',
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 437
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 438
'msg' => array('mysql_error', $e)
'msg' => array('mysql_error', $e)
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 439
);
);
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 440
continue;
continue;
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 441
}
}
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 442
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 443
'type' => 'success',
'type' => 'success',
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 444
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
andryyy
almost 5 years ago
2cd0b56
[Web] Various PHP 8 fixes, partly fixes #4219
- Full commit hash
2cd0b56b143b8a2741488ae1735bf6d74253247f- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 445
'msg' => array('object_modified', htmlspecialchars(implode(', ', (array)$hostnames)))
'msg' => array('object_modified', htmlspecialchars(implode(', ', (array)$hostnames)))
andryyy
over 7 years ago
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 446
);
);
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 447
}
}
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 448
break;
break;
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 449
case 'delete':
case 'delete':
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 450
if ($_SESSION['mailcow_cc_role'] != "admin") {
if ($_SESSION['mailcow_cc_role'] != "admin") {
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 451
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 452
'type' => 'danger',
'type' => 'danger',
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 453
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 454
'msg' => 'access_denied'
'msg' => 'access_denied'
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 455
);
);
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 456
return false;
return false;
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 457
}
}
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 458
$ids = (array)$_data['id'];
$ids = (array)$_data['id'];
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 459
foreach ($ids as $id) {
foreach ($ids as $id) {
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 460
try {
try {
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 461
$stmt = $pdo->prepare("DELETE FROM `transports` WHERE `id`= :id");
$stmt = $pdo->prepare("DELETE FROM `transports` WHERE `id`= :id");
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 462
$stmt->execute(array(':id' => $id));
$stmt->execute(array(':id' => $id));
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 463
}
}
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 464
catch (PDOException $e) {
catch (PDOException $e) {
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 465
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 466
'type' => 'danger',
'type' => 'danger',
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 467
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 468
'msg' => array('mysql_error', $e)
'msg' => array('mysql_error', $e)
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 469
);
);
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 470
continue;
continue;
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 471
}
}
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 472
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 473
'type' => 'success',
'type' => 'success',
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 474
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 475
'msg' => array('relayhost_removed', htmlspecialchars($id))
'msg' => array('relayhost_removed', htmlspecialchars($id))
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 476
);
);
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 477
}
}
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 478
break;
break;
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 479
case 'get':
case 'get':
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 480
if ($_SESSION['mailcow_cc_role'] != "admin") {
if ($_SESSION['mailcow_cc_role'] != "admin") {
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 481
return false;
return false;
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 482
}
}
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 483
$transports = array();
$transports = array();
andryyy
about 5 years ago
8a83587
[Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik
- Full commit hash
8a8358780059abfb2c8ffe395392b220c3f39fdb- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 484
$stmt = $pdo->query("SELECT `id`, `is_mx_based`, `destination`, `nexthop`, `username` FROM `transports`");
$stmt = $pdo->query("SELECT `id`, `is_mx_based`, `destination`, `nexthop`, `username` FROM `transports`");
andryyy
over 7 years ago
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 485
$transports = $stmt->fetchAll(PDO::FETCH_ASSOC);
$transports = $stmt->fetchAll(PDO::FETCH_ASSOC);
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 486
return $transports;
return $transports;
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 487
break;
break;
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 488
case 'details':
case 'details':
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 489
if ($_SESSION['mailcow_cc_role'] != "admin" || !isset($_data)) {
if ($_SESSION['mailcow_cc_role'] != "admin" || !isset($_data)) {
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 490
return false;
return false;
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 491
}
}
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 492
$transportdata = array();
$transportdata = array();
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 493
$stmt = $pdo->prepare("SELECT `id`,
$stmt = $pdo->prepare("SELECT `id`,
andryyy
about 5 years ago
8a83587
[Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik
- Full commit hash
8a8358780059abfb2c8ffe395392b220c3f39fdb- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 494
`is_mx_based`,
`is_mx_based`,
andryyy
over 7 years ago
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 495
`destination`,
`destination`,
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 496
`nexthop`,
`nexthop`,
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 497
`username`,
`username`,
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 498
`password`,
`password`,
andryyy
almost 6 years ago
d9b91fc
[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)
- Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 499
`active`,
`active`,
same change
d9b91fc
[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)
- Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 500
CONCAT(LEFT(`password`, 3), '...') AS `password_short`
CONCAT(LEFT(`password`, 3), '...') AS `password_short`
andryyy
over 7 years ago
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 501
FROM `transports`
FROM `transports`
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 502
WHERE `id` = :id");
WHERE `id` = :id");
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 503
$stmt->execute(array(':id' => $_data));
$stmt->execute(array(':id' => $_data));
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 504
$transportdata = $stmt->fetch(PDO::FETCH_ASSOC);
$transportdata = $stmt->fetch(PDO::FETCH_ASSOC);
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 505
return $transportdata;
return $transportdata;
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 506
break;
break;
same change
b99820d
[Web] Allow to set transport maps, rename relayhosts to sender-dependent transports
- Full commit hash
b99820d0117e364dec337915dde7d697116ee532- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 507
}
}
andryyy
almost 5 years ago
2cd0b56
[Web] Various PHP 8 fixes, partly fixes #4219
- Full commit hash
2cd0b56b143b8a2741488ae1735bf6d74253247f- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 508
}
}