Re: Qmail don't log

This is a discussion on Re: Qmail don't log within the alt.comp.mail.qmail forums, part of the Mail Servers and Related category; Chrigi Hartmann <chrigi.hartmann@gmx.net> writes: > does anyone knows, why i don't have a logfile ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.qmail

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-05-2003
Dave Sill
 
Posts: n/a
Default Re: Qmail don't log

Chrigi Hartmann <chrigi.hartmann@gmx.net> writes:

> does anyone knows, why i don't have a logfile about the recieved and
> sent emails?
>
> The Mailserver is based on the manual from
> http://www.ndhsoft.com/qmailtoaster.htm


You bought a pig in a poke, and, not surprisingly, you don't really
know how it works. From the scant documentation at that URL, it
appears that that installation is based loosely on "Life with
qmail"--at least it uses daemontools and an LWQ-like qmailctl
script. If that's the case, the logs are probably under
/var/log/qmail.

I'd strongly suggest removing the toaster installation and
reinstalling following the LWQ directions. Yes, it's more work, but
you'll at least have some understanding of how things work--and some
documentation for troubleshooting.

--
Dave Sill Oak Ridge National Lab, Workstation Support
Author, The qmail Handbook <http://web.infoave.net/~dsill>
<http://lifewithqmail.org/>: Almost everything you always wanted to know.
Reply With Quote
  #2 (permalink)  
Old 09-08-2003
Chrigi Hartmann
 
Posts: n/a
Default Re: Qmail don't log

> If that's the case, the logs are probably under
> /var/log/qmail.


Yes, they are there. But there are a lot of logfiles. the listing is:

[root@mx qmail]# ls -al
total 32
drwxr-x--- 8 qmaill qmail 4096 Jul 25 20:50 .
drwxr-xr-x 4 root root 4096 Aug 3 21:35 ..
drwxr-x--- 2 qmaill qmail 4096 Sep 4 16:20 imap4
drwxr-x--- 2 qmaill qmail 4096 Aug 28 15:04 imap4-ssl
drwxr-x--- 2 qmaill qmail 4096 Sep 8 13:52 pop3
drwxr-x--- 2 qmaill qmail 4096 Aug 28 15:04 pop3-ssl
drwxr-x--- 2 qmaill qmail 4096 Sep 5 21:33 send
drwxr-x--- 2 qmaill qmail 4096 Sep 8 01:45 smtp
[root@mx qmail]#

In each folder are files. example in folder smtp:
[root@mx qmail]# cd smtp/
[root@mx smtp]# ls -al
total 852
drwxr-x--- 2 qmaill qmail 4096 Sep 8 01:45 .
drwxr-x--- 8 qmaill qmail 4096 Jul 25 20:50 ..
-rwxr--r-- 1 qmaill nofiles 98037 Aug 20 20:24
@400000003f43bce3394c387
4.s
-rwxr--r-- 1 qmaill nofiles 98070 Aug 22 12:11
@400000003f45ec5d089b7bc
c.s
-rw-r--r-- 1 qmaill nofiles 72449 Aug 28 05:07
@400000003f4dc79f0836ca7
4.u
-rw-r--r-- 1 qmaill nofiles 50 Aug 28 11:12
@400000003f4dfddc261ecbf
4.u
-rwxr--r-- 1 qmaill nofiles 98042 Aug 30 04:02
@400000003f5005ba10dc6dd
c.s
-rwxr--r-- 1 qmaill nofiles 98132 Sep 1 20:15
@400000003f538ccb1959d86
4.s
-rwxr--r-- 1 qmaill nofiles 98063 Sep 3 14:36
@400000003f55e05212793d8
c.s
-rwxr--r-- 1 qmaill nofiles 98052 Sep 5 14:35
@400000003f58832b2f79d4d
c.s
-rwxr--r-- 1 qmaill nofiles 98100 Sep 8 01:45
@400000003f5bc329382bc89
c.s
-rw-r--r-- 1 qmaill nofiles 58894 Sep 8 17:09 current
-rw------- 1 qmaill nofiles 0 Jul 25 21:02 lock
-rw-r--r-- 1 qmaill nofiles 0 Aug 28 15:04 state
[root@mx smtp]#

But I search one logfile for analyzing with awstats or analyzer.

Greets and thx for help

Chrigi Hartmann

Reply With Quote
  #3 (permalink)  
Old 09-08-2003
Dave Sill
 
Posts: n/a
Default Re: Qmail don't log

Chrigi Hartmann <chrigi.hartmann@gmx.net> writes:

> Yes, they are there. But there are a lot of logfiles. the listing is:
>
> ...
>
> In each folder are files. example in folder smtp:
> [root@mx qmail]# cd smtp/
> [root@mx smtp]# ls -al
> total 852
> drwxr-x--- 2 qmaill qmail 4096 Sep 8 01:45 .
> drwxr-x--- 8 qmaill qmail 4096 Jul 25 20:50 ..
> -rwxr--r-- 1 qmaill nofiles 98037 Aug 20 20:24
> @400000003f43bce3394c3874.s
> -rwxr--r-- 1 qmaill nofiles 98070 Aug 22 12:11
> @400000003f45ec5d089b7bcc.s
> -rw-r--r-- 1 qmaill nofiles 72449 Aug 28 05:07
> @400000003f4dc79f0836ca74.u
> -rw-r--r-- 1 qmaill nofiles 50 Aug 28 11:12
> @400000003f4dfddc261ecbf4.u
> -rwxr--r-- 1 qmaill nofiles 98042 Aug 30 04:02
> @400000003f5005ba10dc6ddc.s
> -rwxr--r-- 1 qmaill nofiles 98132 Sep 1 20:15
> @400000003f538ccb1959d864.s
> -rwxr--r-- 1 qmaill nofiles 98063 Sep 3 14:36
> @400000003f55e05212793d8c.s
> -rwxr--r-- 1 qmaill nofiles 98052 Sep 5 14:35
> @400000003f58832b2f79d4dc.s
> -rwxr--r-- 1 qmaill nofiles 98100 Sep 8 01:45
> @400000003f5bc329382bc89c.s
> -rw-r--r-- 1 qmaill nofiles 58894 Sep 8 17:09 current
> -rw------- 1 qmaill nofiles 0 Jul 25 21:02 lock
> -rw-r--r-- 1 qmaill nofiles 0 Aug 28 15:04 state
> [root@mx smtp]#
>
> But I search one logfile for analyzing with awstats or analyzer.


multilog doesn't work that way, so you either need to deal with
multiple log files or you need to switch to another (inferior, IMHO)
logger like syslog.

--
Dave Sill Oak Ridge National Lab, Workstation Support
Author, The qmail Handbook <http://web.infoave.net/~dsill>
<http://lifewithqmail.org/>: Almost everything you always wanted to know.
Reply With Quote
  #4 (permalink)  
Old 09-08-2003
Chrigi Hartmann
 
Posts: n/a
Default Re: Qmail don't log

> multilog doesn't work that way, so you either need to deal with
> multiple log files or you need to switch to another (inferior, IMHO)
> logger like syslog.


OK, and do you know a manual about that or do I have to read the full
syslog documentation?

greets from switzerland

chrigi hartmann

Reply With Quote
  #5 (permalink)  
Old 09-08-2003
Dave Sill
 
Posts: n/a
Default Re: Qmail don't log

Chrigi Hartmann <chrigi.hartmann@gmx.net> writes:

> > multilog doesn't work that way, so you either need to deal with
> > multiple log files or you need to switch to another (inferior, IMHO)
> > logger like syslog.

>
> OK, and do you know a manual about that or do I have to read the full
> syslog documentation?


Change /service/qmail*/log/run to something like:

#!/bin/sh
exec splogger qmail

Try "man splogger" and "man syslog.conf".

--
Dave Sill Oak Ridge National Lab, Workstation Support
Author, The qmail Handbook <http://web.infoave.net/~dsill>
<http://lifewithqmail.org/>: Almost everything you always wanted to know.
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:57 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0