Qmail
[Top] [All Lists]

Re: better logging of qmail-pop3d usage? (bytes, username)

To: "J. Kendzorra" <qmail-list@kendzorra.de>
Subject: Re: better logging of qmail-pop3d usage? (bytes, username)
From: Olivier Mueller <om-lists-qmail@omx.ch>
Date: Wed, 23 May 2007 18:30:04 +0200
Cc: qmail@list.cr.yp.to
Delivered-to: sp-com-lists@consult.net
Delivered-to: gmail-qmail@securepoint.com
Delivered-to: sp.com.list@gmail.com
Delivered-to: mailing list qmail@list.cr.yp.to
In-reply-to: <200705231809.00729.qmail-list@kendzorra.de>
Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
References: <1179931631.21309.17.camel@bigapple.omnis.ch> <200705231809.00729.qmail-list@kendzorra.de>
Hi and thanks to you (and the 3 others) for your feedback!

On Wed, 2007-05-23 at 18:08 +0200, J. Kendzorra wrote:
> Olivier Mueller:
> > What would you do?
> 
> Use the patch Maex made some time ago - I copied it to 
> http://kendzorra.de/files/qmail-pop3d+vpopmail.c.diff.

Thanks, seems to be useful :)  It 'seems' to work, but something is
bugging me: 

[om@host1 ~]$ /var/qmail/bin/qmail-pop3d_orig_20070523
-ERR this user has no $HOME/Maildir

[om@host1 ~]$ /var/qmail/bin/qmail-pop3d
-ERR this user has no $HOME/Maildir
Segmentation fault: 11 (core dumped)

(I'm running freebsd).  I guess it's not very clean?   Here the "make"
output:

[root@host1 /usr/ports/mail/qmail/work/qmail-1.03]# make
./compile qmail-pop3d.c
qmail-pop3d.c:29: warning: conflicting types for built-in function
'puts'
qmail-pop3d.c:101: warning: conflicting types for built-in function
'log'
qmail-pop3d.c:102: warning: conflicting types for built-in function
'logf'
qmail-pop3d.c: In function `main':
qmail-pop3d.c:375: warning: return type of 'main' is not `int'
./load qmail-pop3d commands.o case.a timeoutread.o  timeoutwrite.o
maildir.o prioq.o now.o env.a strerr.a sig.a  open.a getln.a stralloc.a
alloc.a substdio.a error.a str.a  fs.a  `cat socket.lib`


Regards,
Olivier


<Prev in Thread] Current Thread [Next in Thread>