Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Qmail: users

Log file structure

 

 

Qmail users RSS feed   Index | Next | Previous | View Threaded


adamsmth070 at gmail

Apr 19, 2009, 4:50 PM

Post #1 of 2 (948 views)
Permalink
Log file structure

Hello,

I seem to have a problem, I believe. Would someone say if my log file
(s) structure seem correct? I am using a LWQ installation on a FreeBSD
O/S vers 6.0 platform

# ls /var/log/qmail/
./ @4000000049e70cd92ced5d9c.s
../ @4000000049e711ec05b7573c.s
@4000000049e6ee5e2dd521a4.s @4000000049e716fe15c63224.s
@4000000049e6f3710423d65c.s current
@4000000049e6f88316b0c104.s lock
@4000000049e6fd952874c9e4.s pop3d/
@4000000049e702a8034380ac.s smtpd/
@4000000049e707c713de3c2c.s state

# ls /var/log/qmail/smtpd
./ @4000000049e68b9217a0b2cc.s
../ @4000000049e6b522363cc9dc.s
@4000000049e5dd8738edb13c.s @4000000049e6e6ea04e6e00c.s
@4000000049e5fd49374c3a24.s @4000000049e6f70f04b72164.s
@4000000049e61f10254f3f24.s current
@4000000049e63887247b2644.s lock
@4000000049e663dd1fa6ca74.s state

# ls /var/log/qmail/pop3d/
./ @4000000049e568751eabd844.s
../ @4000000049e60ecc0815ec64.s
@4000000049dd3ceb1d2f32f4.s @4000000049e64e5d29e5c6d4.s
@4000000049e4251a07b1c7ac.s @4000000049e684590cb2c15c.s
@4000000049e4b847274692b4.s current
@4000000049e4ebd7359556ac.s lock
@4000000049e532282ef4689c.s state


I wanted to look at my qmail-send log

I was expecting to see the log file -
/var/log/qmail/service/

and running
# /service/qmail-send/log/run =>
multilog: fatal: unable to lock directory /var/log/qmail: temporary
failure

Thanks


adip at gmx

Apr 19, 2009, 5:37 PM

Post #2 of 2 (866 views)
Permalink
Re: Log file structure [In reply to]

On Sun, 19 Apr 2009 16:50:15 -0700 Adam Smith wrote:

> I seem to have a problem, I believe. Would someone say if my log file
> (s) structure seem correct? I am using a LWQ installation on a FreeBSD
> O/S vers 6.0 platform
>
> # ls /var/log/qmail/
> ./ @4000000049e70cd92ced5d9c.s
> ../ @4000000049e711ec05b7573c.s
> @4000000049e6ee5e2dd521a4.s @4000000049e716fe15c63224.s
> @4000000049e6f3710423d65c.s current
> @4000000049e6f88316b0c104.s lock
[...]
> I wanted to look at my qmail-send log
>
> I was expecting to see the log file -
> /var/log/qmail/service/

Hi Adam,

according to http://lifewithqmail.org/lwq.html the log files for
qmail-send should be under /var/log/qmail, so from the above output I
don't see any problem by just looking at your ls output.
To be sure that your qmail-send logging works:
1. exercise a message delivery and inspect the content
of /var/log/qmail/current file
2. Inspect the content of /var/qmail/supervise/qmail-send/log/run. If
installed & configured as per lwq, it should contain a line like this:

exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /var/log/qmail

See cr.yp.to/daemontools/multilog.html for a detailed description

--
Adi Pircalabu

Qmail users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.