Add Message ID on Web Interface
Posted: 15 Jun 2015 11:58
Hi,
If you're interested to add "message ID" on web interface to see quickly a message, it's very easy !
You can modify status.php and quarantine.php in directory.
You add in SQL request the ID :
default :
with ID :
automaticaly an URL link is created with the ID, it's very easy to navigate.
Enjoy.
Charles.
If you're interested to add "message ID" on web interface to see quickly a message, it's very easy !
You can modify status.php and quarantine.php in
Code: Select all
/var/www/html/mailscanner
You add in SQL request the ID :
default :
Code: Select all
$sql .= "
to_address,
subject,
size as size,
isspam,
ishighspam,
spamwhitelisted,
spamblacklisted,
virusinfected,
nameinfected,
otherinfected,
sascore,
report,
ismcp,
issamcp,
ishighmcp,
mcpsascore,
'' AS status
FROM
maillog
WHERE
" . $_SESSION['global_filter'] . "
ORDER BY
date DESC,
time DESC
LIMIT " . MAX_RESULTS;
Code: Select all
$sql .= "
to_address,
subject,
size as size,
isspam,
ishighspam,
spamwhitelisted,
spamblacklisted,
virusinfected,
nameinfected,
otherinfected,
sascore,
report,
ismcp,
issamcp,
ishighmcp,
mcpsascore,
id,
'' AS status
FROM
maillog
WHERE
" . $_SESSION['global_filter'] . "
ORDER BY
date DESC,
time DESC
LIMIT " . MAX_RESULTS;
Enjoy.
Charles.