Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-27, 23:13:24

Author Topic: [Qmail] Scavange stopps maillog - cron command to activate authentication  (Read 2683 times)

0 Members and 1 Guest are viewing this topic.

Offline Kloxo-DR

  • Senior Member
  • *
  • Posts: 239
  • Karma: +3/-9
    • View Profile
Hello,

Before the forum got wiped off, I had placed message on scavange deactivating qmail processes.

I found from # qmailctl stat that - for some unknown reasons - authlib/log, send/log and smtp-ssl/log was down, mostlikely after scavange. This affected authentication as well.

Now I have inserted in root crontab to run every five minutes, as root, the following:

svc -u /var/qmail/supervise/authlib/log
svc -u /var/qmail/supervise/send/log
svc -u /var/qmail/supervise/smtp-ssl/log

This works and helps.

Offline Kloxo-DR

  • Senior Member
  • *
  • Posts: 239
  • Karma: +3/-9
    • View Profile
As rsyslog stops after scavange, this would better:

/etc/yum.repos.d/
http://rpms.adiscon.com/v7-stable/rsyslog.repo
yum update

Offline Kloxo-DR

  • Senior Member
  • *
  • Posts: 239
  • Karma: +3/-9
    • View Profile
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.

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.041 seconds with 18 queries.

web stats analysis