[vchkpw] logging bug?

2003-08-04 Thread Jesse Guardiani
Howdy list,

I'm using vpopmail-5.2.1 with the following configure:

./configure \
--enable-roaming-users=y \
--enable-clear-passwd=y \
--enable-logging=e \
--enable-log-name=vpopmail \
--enable-defaultquota=1000 \
--enable-mysql-logging=y \
--enable-auth-logging=y \
--enable-mysql=y \
--enable-valias=y \
--enable-relay-clear-minutes=60 \
--enable-md5-passwords=y \
--enable-large-site=y \
--enable-ip-alias-domains=y \
--enable-many-domains=n \
--enable-incdir=/usr/local/mysql/include/mysql \
--enable-libdir=/usr/local/mysql/lib/mysql \
--enable-qmail-ext=y \
--enable-default-domain=cvsup.wingnet.net

Notice the:

--enable-logging=e \

and:

--enable-log-name=vpopmail \

and:

--enable-mysql-logging=y \


I _thought_ that --enable-mysql-logging=y would
create a vlog table in my mysql database, but it
didn't.

I _thought_ that --enable-logging=e would enable
logging to syslog and that --enable-log-name=vpopmail
would log that information under the vpopmail name,
but it didn't. I don't have a single vpopmail: statement
in 3 months of logs.

I DO, however, have pop3d: and imapd: statements
in my logs, which I assume come from my courier
daemons.

So, my question is this:

Did logging get turned off because I specified both mysql
AND syslog logging? If so, why didn't vpopmail tell me that?

Or is there something else going on here?

Any help appreciated.

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net





Re: [vchkpw] logging bug?

2003-08-04 Thread Jesse Guardiani
On Monday 04 August 2003 11:20, Jesse Guardiani wrote:

[...]

 So, my question is this:

 Did logging get turned off because I specified both mysql
 AND syslog logging? If so, why didn't vpopmail tell me that?

 Or is there something else going on here?

Hmmm after taking a look at the source code for vpopmail-5.2.1,
I'm inclined to think something else is going on here.

Looks like when mysql-logging is enabled AND syslog logging
is enabled I should at least get a syslog statement saying that
my mysql vlog table doesn't exist.

Unfortunately, I'm not getting ANYTHING from syslog regarding
vpopmail.

My system is a FreeBSD 4.8-RELEASE i386 box.

Has anyone else had trouble getting syslog logging to work
with FreeBSD?

Any tips or tricks?

Thanks.

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net





Re: [vchkpw] logging bug?

2003-08-04 Thread Jesse Guardiani
On Monday 04 August 2003 13:22, Jesse Guardiani wrote:
 On Monday 04 August 2003 11:20, Jesse Guardiani wrote:

 [...]

  So, my question is this:
 
  Did logging get turned off because I specified both mysql
  AND syslog logging? If so, why didn't vpopmail tell me that?
 
  Or is there something else going on here?

 Hmmm after taking a look at the source code for vpopmail-5.2.1,
 I'm inclined to think something else is going on here.

 Looks like when mysql-logging is enabled AND syslog logging
 is enabled I should at least get a syslog statement saying that
 my mysql vlog table doesn't exist.

 Unfortunately, I'm not getting ANYTHING from syslog regarding
 vpopmail.

 My system is a FreeBSD 4.8-RELEASE i386 box.

 Has anyone else had trouble getting syslog logging to work
 with FreeBSD?

 Any tips or tricks?

Nevermind. I just took a look at the courier-imap vchkpw auth module.

Apparently nothing in the auth module actually makes a call to a
vpopmail function that actually does logging.

So I guess that explains why vchkpw isn't doing any logging. I'm
not using vchkpw. I'm just using the auth routines...

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net