Almost certainly this is a limits issue. If you can, it's easy to find
out the limits by temporarily running /usr/bin/limits instead of
qmail-pop3d.
Where you have:
tcpserver ..... qmail-popup example.com /bin/checkpassword /var/qmail/bin/qmail-pop3d
Maildir
Change it to
tcpserver ..... qmail-popup example.com /bin/checkpassword /usr/bin/limits -a
and capture the output of a telnet test to your pop account.
Alternatively, if you're comfortable with tcpserver etc, run another
instance on another port so as not to disrupt the existing pop usage.
Regards.
On Wed, Dec 06, 2000 at 08:27:00AM +1100, [EMAIL PROTECTED] wrote:
> Hi,
> I have recently installed qmail-1.03 using ./Maildir/ and pop. I
> am using qmail-pop3d and checkpasswords. The problem I am
> having is that when a user gets large amounts of mail ie. 2000+ it
> will not scan their maildir. This is the message I am getting:
>
> Trying 127.0.0.1...
> Connected to localhost
> Escape character is '^]'.
> +OK <[EMAIL PROTECTED]>
> user excesstest
> +OK
> pass xxxxxx
> -ERR unable to scan $HOME/Maildir
> Connection closed by foreign host.
>
> It works fine for all other aspects just when a user gets excessive
> amounts of mail it stops scanning their maildir. Everyone elses still
> works though.
>
> I found a post on the mailing list that made me think I had worked it out
> but the amount of memory was not the case.
>
> I am using a Pentium Celeron 400mhz with 384MB of RAM running
> FreeBSD 4.1.
>
> Another post told me I might need to change the limits could the
> number of openfiles have anything to do with it.
> Here are my resource limits:
> Resource limits (current):
> cputime infinity secs
> filesize infinity kb
> datasize 524288 kb
> stacksize 65536 kb
> coredumpsize infinity kb
> memoryuse infinity kb
> memorylocked infinity kb
> maxprocesses 531
> openfiles 1064
> sbsize infinity bytes
>
> I did a ktrace on the pop3 process and the results tended to indicate a memory
> problem as it displayed the following line:
> 17129 qmail-pop3d RET break -1 errno 12 Cannot allocate memory
>
> If anyone has any insights could they please help me it would be
> much appreciated.
>
> Drew