BillionMail gives you open-source MailServer, NewsLetter, Email Marketing — fully self-hosted, dev-friendly, and free from monthly fees. Join the discord: https://discord.gg/asfXzBUhZr
fiexed maillog aggregation bug: aggregate received to sent.
Jackde8302d4cd1e
diff --git a/core/internal/service/maillog_stat/aggregate.go b/core/internal/service/maillog_stat/aggregate.goindex 81a25f84..0a6a9eae 100644--- a/core/internal/service/maillog_stat/aggregate.go+++ b/core/internal/service/maillog_stat/aggregate.go@@ -93,7 +93,7 @@ func AggregateMaillogs() (err error) {binds[domainLen+i] = "%@" + domain}- query.Where(fmt.Sprintf("%s OR %s", gstr.Join(where1, " OR "), gstr.Join(where2, " OR ")), binds...)+ query.Where(fmt.Sprintf("(%s) AND (%s)", gstr.Join(where1, " OR "), gstr.Join(where2, " OR ")), binds...)ret, err := query.All()if err != nil {