Skip to content

Commit

Permalink
Merge pull request #1271 from shawniverson/111522mtacleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
endelwar authored Dec 12, 2022
2 parents 1833a5c + 86d8aba commit b714c7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/Cron_jobs/mailwatch_db_clean.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
$tablecheck = dbquery($sqlcheck);
$mta = get_conf_var('mta');
$optimize_mtalog_id = '';
if ('postfix' === $mta && $tablecheck->num_rows > 0) {
if (('postfix' === $mta || 'msmail' === $mta) && $tablecheck->num_rows > 0) {
// version for postfix with mtalog_ids enabled
dbquery(
'DELETE i.*, m.* FROM mtalog AS m
Expand Down

0 comments on commit b714c7e

Please sign in to comment.