Koozali.org formerly Contribs.org

Logs

Logs
« on: October 10, 2019, 03:55:22 PM »
Hello,

Regarding mail logs :
/var/log/qpsmtpd
/var/log/sqpmtpd
/var/log/qmail

I receive a lot of email and my logs stops at 3/4 days. :(
How can I extend logs for 1 months for example?

is it possible to check old logs more than 10 days which I do not have in these folders?

thank you. :-o

Offline warren

  • *
  • 268
Re: Logs
« Reply #1 on: October 10, 2019, 05:19:39 PM »

from wiki : https://wiki.contribs.org/Mail_log_file_analysis
Code: [Select]
config setprop qpsmtpd KeepLogFiles 20
sv stop qpsmtpd
kill -HUP `cat /var/service/qpsmtpd/log/supervise/pid`
sv start qpsmtpd

for sqpsmtpd :
Code: [Select]
config setprop sqpsmtpd KeepLogFiles 20
sv stop sqpsmtpd
kill -HUP `cat /var/service/sqpsmtpd/log/supervise/pid`
sv start sqpsmtpd

Re: Logs
« Reply #2 on: October 11, 2019, 09:59:04 AM »
 :-o thank you !
from wiki : https://wiki.contribs.org/Mail_log_file_analysis
Code: [Select]
config setprop qpsmtpd KeepLogFiles 20
sv stop qpsmtpd
kill -HUP `cat /var/service/qpsmtpd/log/supervise/pid`
sv start qpsmtpd

for sqpsmtpd :
Code: [Select]
config setprop sqpsmtpd KeepLogFiles 20
sv stop sqpsmtpd
kill -HUP `cat /var/service/sqpsmtpd/log/supervise/pid`
sv start sqpsmtpd