Peter Peltonen wrote:
My send log starts from 2009-06-23 12:37:51 which is less than 2 hours
ago. Compared to my submission log, which starts from 2009-05-11
13:41:41, that is not much.
I do not see any logrotate script for qmail in /etc/logrotate.d/, so
how are the logs rotated and how can I alter how much of the logs is
stored on the disk?
They are controlled by daemontools and are rotated by how large the
files get. They are controlled by adjusting the
/var/qmail/control/logsize and logcount files (logcount basically
defines how many old logs to keep):
http://wiki.qmailtoaster.com/index.php/Control_Files
And could someone explain me the following log entry:
2009-06-23 12:39:34.728604500 status: local 0/10 remote 0/500
2009-06-23 12:39:34.728647500 starting delivery 108413: msg 2232131 to
remote email-a...@faked.here.for.privacy
2009-06-23 12:39:34.728746500 status: local 0/10 remote 1/500
2009-06-23 12:39:34.728782500 end msg 2232115
2009-06-23 12:39:34.943577500 delivery 108413: deferral:
Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
2009-06-23 12:39:34.943578500 status: local 0/10 remote 0/500
What does local 0/10 remote 0/500 / local 0/10 remote 1/500 mean?
You were using 0 of 10 possible local delivery connections, 0 of 500
possible remote connections. In the next status update you were using 0
of 10 possible local connections (for local deliveries) and 1 of 500
possible connections for remote deliveries.
Most of these are controlled by concurrency files in your
/var/qmail/control directory. For example, your remote connections
(which will crash your server with your current settings if you get a
major load) is controlled by your /var/qmail/control/concurrencyremote file.
Look in the archives for some more information on the concurrency
control files. There is a limitation of how many open files your system
can have and you're exceeding them with your current settings, which
will cause your system to lock up. Just a friendly warning.
How can I find the sender of this msg? I couldn't find anything else
related to msg 2232131?
You'll need to correlate the address to a log entry in your send logs
(/var/log/qmail/send) to determine who is sending the message.
What I would really like to have is a some kind of "error log" that
would have information about all failures. Or how do people keep track
what is going on with the server, I think nobody has time to look at
the logs all the time, especially with servers handling many accounts?
Configure logwatch to send you emails. I get a nice 1M email from my
server every day with log errors. You can trim and tune it as you see fit.
---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com