Thank you Christian.  I am running on CentOS 8.2 and the name of the
service is "postfix.service".  When I enter:

journalctl -u postfix.service --since="2020-07-12 03:06:00"
--until="2020-07-12 03:11:00"

I see all of the missing data that should be in /var/log/maillog -- almost
50,000 records.  You discovered a way to gain access to the missing data!

The big question for me continues to be, why did this data not make it to
/var/log/maillog?

Greg Sims


On Sun, Jul 12, 2020 at 2:40 PM Christian Kivalo <ml+postfix-us...@valo.at>
wrote:

> On 2020-07-12 23:01, Greg Sims wrote:
> > Nothing Christian:
> >
> >> [root@mail0 postfix]# journalctl -u postfix@-.service
> >> --since="2020-07-12 03:06:00" --until="2020-07-12 03:11:00"
> >> -- Logs begin at Sat 2020-07-11 09:35:28 CDT, end at Sun 2020-07-12
> >> 15:50:00 CDT. --
> >> -- No entries --
> Maybe your systemd unit is named slightly different as in debian,
> postfix@-.service is what tab completion makes for me...
>
> Is there anything in journalctl? What does systemctl status postfix
> show?
>
> You can have postfix log to a file as described in
> http://www.postfix.org/MAILLOG_README.html first and then fix your
> logging.
>
> --
> Christian Kivalo
>

Reply via email to