Increase log size send-current

Does anyone know how to increase the log size for send-current ? I need to do more analysis on the logs and they’re only saving around 700 emails.

I need it to save around 100,000 (2 days) worth at least.

Hi mikei

Most posts are how to keep these logs smaller

Personally, I think you need to stop log rotate, but this will bring its own issues, for obvious reasons. However, just increasing log file size without removing log rotate, would just remove the logs.

Are you viewing the logs from nodeworx server logs or directly

Many thanks

John

My logs don’t appear to be rotating at all. I’ve looked at them both from server logs and IW UI. I have a 7 day setting turn on in IW but it appears to be deleting the logs when they get to a certain size.

Hi mike

I think you maybe looking in the wrong place.

What’s listed in the /var/log/send/

I think you’ll find a lot

Many thanks

John

these files are less than 1mb each

[root@centos6 ~]# cd /var/log/send
[root@centos6 send]# ls
@40000000543bf56b35210554.s @40000000543cb69c07902e1c.s lock
@40000000543c35df0c3488dc.s @40000000543d2968105c0e94.s state
@40000000543c692321e22414.s current
[root@centos6 send]#

Hi mikei

How long has server been up and running

On all of our servers, the logs are much higher and show for a long time frame.

If server has been up for a long time, and qmail running, has any of the files been changed for qmail

Many thanks

John

Server has been running for about 3 weeks. Mail volume is about 30,000 emails a day starting yesterday. Logs only show me about 2 minutes of activity.

It’s a real problem.

I’ve tried resources like -> http://www.gossamer-threads.com/lists/qmail/users/100536 but IW qmail seems to be setup differently and these directories do not exist.

Hi mikei

Wow, that’s some increase if your server was not doing anything.

Edit your /service/smtp/log/run and set accordingly.

Many thanks

John

I finally found the log controls at /service/send/log/run

#!/bin/sh
exec /usr/bin/setuidgid qmaill /usr/bin/multilog t n100 s1000000 /var/log/send 2>&1

But they appear to be set correctly, 1mb file size keep 100. But it’s not happening that way. I’m going to try to make the logs 10mb and see if that helps

Hmm I changed the value and issued

[root@centos6 send]# svc -t /service/smtp/log
[root@centos6 send]# svc -t /service/send/log

But the settings didn’t take…
any thoughts?

Service smtp restart

While all of that worked, thank-you. We traced the issue to a qmail problem. I started a new thread on this issue.

Hi mikei

Yes I just read it.

How can if be duplicated as none of our clients have an issue

Many thanks

John

fully documented with IW support and they are trying to create a workaround. It’s a known problem with qmail.

[TABLE=“class: tborder, width: 100%”]
[TR=“class: rowpost”]
[TD=“colspan: 2, align: left”][TABLE=“width: 100%”]
[TR]
[TD=“colspan: 2, align: left”]http://hewgill.com/journal/entries/30-qmail-may-be-eating-your-email[/TD]
[/TR]
[/TABLE]
[/TD]
[/TR]
[TR=“class: row1”]
[TD=“colspan: 2, align: left”][/TD]
[/TR]
[/TABLE]