From 6eab59a9a22461fb00d322d2e3e0df5638602fd6 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Wed, 31 Dec 2025 11:13:29 -0500 Subject: [PATCH] Correct getReceivedInfo order --- cmd/mailpopbox-router/monitor.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/mailpopbox-router/monitor.go b/cmd/mailpopbox-router/monitor.go index c9b066c..6901726 100644 --- a/cmd/mailpopbox-router/monitor.go +++ b/cmd/mailpopbox-router/monitor.go @@ -122,7 +122,7 @@ func getReceivedInfo(cfg MonitorConfig, t time.Time) []byte { line := fmt.Sprintf( "Received: from <%s> (via %s) by mailpopbox-router\r\n for <%s> (via %s); %s\r\n", cfg.Source.Email, cfg.Source.Type, - t.Format(time.RFC1123Z), - cfg.Destination.Email, cfg.Destination.Type) + cfg.Destination.Email, cfg.Destination.Type, + t.Format(time.RFC1123Z)) return []byte(line) } -- 2.43.5