After the scavange time is completed, rsyslog stops.
Thus, there is no maillogging thereafter.
This can be regained by the following command in cron:
qmailctl stop
qmailctl start
Reminder: As Mustafa said, service qmail restart is not equal to service qmail stop and service qmail start, one must execute the above commands.
Only then all the services from qmail will actually stop and restart.
Unfortunately, as the maillog stops, many other associated functions stops as well.
Since I have CSF firewall and login detection installed based on maillog, the entire firewall activity stops anfetr scavange is run.
Hence, Mustafa, I request to you to investigate this issue in the area of scavange as well as the issue of qmail stop/start everywhere.