I had the same problem, and hacked up the genpath.c a bit. It appears as
though it has directly to do with how FreeBSD is grabbing the home dir path.
len[1-3] are lengths of strings. I believe FreeBSD is calculating the length
of the string path incorrectly. I think what I did to get it working was to
just disable the check on len[2] (if I remember correctly) and assume that
there would be no home directory longer than 256. Have fun.
Matthew Koch
Geneva On-Line Inc.
-----Original Message-----
From: Steven A. Fletcher [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 10, 2001 11:11 AM
To: Subscribers of Qpopper
Subject: --enable-home-dir-mail
Hi all,
Could someone perhaps shed some light onto the "Insufficient room to
generate..." error message that I'm getting if I configure qpopper with
--enable-home-dir-mail ? Unfortunatley I can't make head nor tail of the
meanings behind the len[1-3] values that seem to spring the error
message from inside genpath.c.
Jul 10 16:55:39.740 2001 [22617] Qpopper ready for input from stevenf at
localhost [127.0.0.1] [popper.c:285]
Jul 10 16:55:39.740 2001
Jul 10 16:55:42.045 2001 [22617] Received: "pass xxxxxxxxx"
[pop_get_command.c:96]
Jul 10 16:55:42.045 2001
Jul 10 16:55:42.046 2001 [22617] ...checknonauthfile didn't match user
stevenf in file /etc/ftpusers [pop_pass.c:174]
Jul 10 16:55:42.046 2001
Jul 10 16:55:42.049 2001 [22617] ...built: (975) '/home/stevenf/'
[genpath.c:158]
Jul 10 16:55:42.049 2001
Jul 10 16:55:42.049 2001 [22617] Insufficient room to generate path for
user stevenf; need more than 961; have only 256 [genpath.c:
Jul 10 16:55:42.049 2001
Jul 10 16:55:42.049 2001 [22617] stevenf at localhost (127.0.0.1): -ERR
[SYS/TEMP] Unable to get spool name [pop_dropcopy.c:1212]
Jul 10 16:55:42.049 2001
Jul 10 16:55:52.059 2001 [22617] pass returned 0; CurrentState now halt
[popper.c:329]
Jul 10 16:55:52.059 2001
Jul 10 16:55:52.059 2001 [22617] +OK Pop server at
smtp0.test.netnorth.co.uk signing off. [popper.c:351]
Qpopper (4.0.3) was configured with: --enable-nonauth-file=/etc/ftpusers
--prefix=/usr/local --enable-debugging --enable-home-dir-mail, and it's
running under FreeBSD 4.3-RELEASE.
Thanks for any clues!
--
Steven Fletcher
[EMAIL PROTECTED]