[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem with db files



I seem to be having a problem with my ndbm files (aliases specifically).
I get the following error:

iiapro# router -i
ZMailer router (2.99.50-s10 #3: Fri Oct 16 08:03:18 ADT 1998)
  trent@iiaeng:/opt/src/zmailer-2.99.50s10/router
Copyright 1992 Rayan S. Zachariassen
Copyright 1992-1998 Matti Aarnio
Configured with command: './configure --prefix=/opt/zmailer
--with-mailvar=/var/zmailer --with-postoffice=/var/zmailer/postoffice
--with-mailbox=/var/mail --with-logdir=/var/zmailer/log
--with-zmailer-conf=/etc/zmailer.conf --mandir=/opt/zmailer/man
--libdir=/opt/zmailer/lib --includedir=/opt/zmailer/include
--with-bundled-libresolv'

z# router trent
<.interactive@pro.infointeractive.com>: address: trent
modp_ndbm: cannot fstat("/var/zmailer/db/aliases")!
(((local trent trent@infointeractive.com default_attributes)))
z# 

Here is the listing of the db dir:

iiapro# ls -l /var/zmailer/db/
total 236
-rw-r--r--   1 root     root         426 Oct 15 15:37 aliases
-rw-r--r--   2 root     root       24913 Oct 15 17:21 aliases.dir
-rw-r--r--   2 root     root       24913 Oct 15 17:21 aliases.pag
-rw-r--r--   1 root     root         472 Oct 15 15:35 fqdnaliases
-rw-r--r--   2 root     root       24576 Oct 15 17:21 fqdnaliases.dir
-rw-r--r--   2 root     root       24576 Oct 15 17:21 fqdnaliases.pag
-rw-r--r--   1 root     root         186 Oct 15 15:40 localnames
drwxr-xr-x   2 root     root         512 Oct 15 15:02 proto/
-rw-r--r--   1 root     root         631 Oct 15 15:45 routes
-rw-r--r--   1 root     root        1733 Oct 15 15:35 smtp-policy.relay
-rw-r--r--   1 root     root       12966 Oct 15 15:47 smtp-policy.src
iiapro# 

Also, here is my /etc/zmailer.conf file:

# Do not edit this file, instead edit
/opt/src/zmailer-2.99.50s10/SiteConfig.in file
ZCONFIG=/etc/zmailer.conf
MAILBIN=/opt/zmailer/bin
MAILSHARE=/opt/zmailer
MAILVAR=/var/zmailer
MAILBOX=/var/mail
POSTOFFICE=/var/zmailer/postoffice
ROUTERDIRS=router1:router2:router3:router4
LOGDIR=/var/zmailer/log
prefix=/opt/zmailer
MANDIR=/opt/zmailer/man
LIBRARYDIR=/opt/zmailer/lib
INCLUDEDIR=/opt/zmailer/include
SMTPOPTIONS="-a -sve -l ${LOGDIR}/smtpserver"
SCHEDULEROPTIONS="-l ${LOGDIR}/scheduler.perflog -S -H"
ROUTEROPTIONS="-dkn 4"
NOBODY=nobody
LOGLEVEL="deferred: file: header_defer:"
NNTPSERVER=nntp
INEWSBIN=/opt/bin/inews
SENDMAILPATH=/usr/lib/sendmail
RMAILPATH=/usr/bin/rmail
SELFADDRESSES=
DBTYPE=ndbm
DBEXT=
DBEXTtest=.pag
DEFCHARSET=ISO-8859-1
MAX_NR=1000
MAX_NT=1000
MAX_LOAD=300
SYSLOGFLG=RT

Does anyone have any idea what is going on here?  I could really use some
help on this one.

I have compiled zmailer-2.99.50s10 with gcc 2.8.1 on a Sun Enterprise 450
running SunOS 5.6.
-- 
                Trent MacDougall @ InfoInterActive Inc.
           Network Administrator @ 902-832-2651
                 Trent.MacDougall@InfoInterActive.Com