Due to an unexpected system crash, I ended up making a somewhat
hurried migration from vpopmail 4.9.8 and sqwebmail 0.99 on a solaris
2.6 system to vpopmail 5.0 and sqwebmail 3.0 on a solaris 8 box.

Mail delivery and sqwebmail work perfectly, but strangely, vchkpw
itself (and thus, pop3 access) is broken.  Any user attempting to
authenticate through vchkpw is denied with a "vpopmail user not found"
error:

Oct  6 19:22:52 bigtime vpopmail[3256]: [ID 436289 mail.notice] vchkpw: vpopmail user 
not found velcro@سل:127.0.0.1
Oct  6 19:58:55 bigtime vpopmail[3602]: [ID 969420 mail.notice] vchkpw: vpopmail user 
not found velcro@cdb:127.0.0.1
Oct  6 20:00:35 bigtime vpopmail[3628]: [ID 436289 mail.notice] vchkpw: vpopmail user 
not found velcro@سل:127.0.0.1

(The "cdb" entry in the second line was me trying to manually force
vchkpw to regenerate the cdb datafile.)

If I truss the vchkpw process itself, I find the following very odd
section:

3628:   open("/var/qmail/users/cdb", O_RDONLY)          = 3
3628:   lseek(3, 1264, SEEK_SET)                        = 1264
3628:   read(3, "C218\0\0\0\0\0\0", 8)                  = 8
3628:   llseek(3, 0, SEEK_CUR)                          = 1272
3628:   close(3)                                        = 0
3628:   getpid()                                        = 3628 [3626]
3628:   open("<FF>:/vpasswd.cdb", O_RDONLY)             Err#2 ENOENT
3628:   open("<FF>:/.vpasswd.lock", O_RDWR|O_CREAT|O_TRUNC, 0666) Err#2 ENOENT
3628:   fstat(-1, 0xFFBEEE10)                           Err#9 EBADF

It _looks_ like vchkpw isn't aware of what the proper path to the
vpasswd cdb file is, but I can't quite understand why that would be,
since all of the settings look to be in order:

           vpopmail 5.0           
            Current settings
---------------------------------------

vpopmail directory = /project/vpopmail
               uid = 7800
               gid = 10001
          ip alias = OFF --enable-ip-alias-domains=n (default)
address extentions = ON  --enable-qmail-ext=y
     roaming users = ON  --enable-roaming-users=y
    tcpserver file = /etc/tcp.smtp
    open_smtp file = /project/vpopmail/etc/open-smtp
        user quota = OFF --enable-hardquota=n default
table optimization = many domains --enable-many-domains=y default
       auth module = cdb default
  system passwords = OFF --enable-passwd=n default
      file locking = ON  --enable-file-locking=y default
         file sync = ON  --enable-file-sync=y default
      auth logging = OFF --enable-auth-logging=n default
     mysql logging = OFF --enable-mysql-logging=n default
mysql clear passwd = OFF --enable-clear-passwd=n default
 valias processing = OFF --enable-valias=n
        pop syslog = show only failure attempts
                     --enable-logging=e default
    default domain =  --enable-default-domain=
          auth inc = -Icdb
          auth lib = 

Any clues that anybody could offer would be most appreciated.

-n


------------------------------------------------------------<[EMAIL PROTECTED]>
"What you want -- and I think you are very strange for wanting it, by the way,
but I will supply you a solution anyway..."                  (--Sean M. Doran)
<http://blank.org/memory/>----------------------------------------------------

Reply via email to