procmail
[Top] [All Lists]

Re: Big Mails

1998-10-11 20:11:16
"John D. Hardin" <jhardin(_at_)wolfenet(_dot_)com> writes:
On Sun, 11 Oct 1998, Robin Fundinger wrote:

we have the problem, that big mails are not forwarded by procmail. This is
the message of the mailq-command under UNIX:

UAA03645  8984240 Sat Oct 10 20:38 <rp18218(_at_)online-club(_dot_)de>
                 (Operating system error)
                                   "|exec /usr/bin/procmail #overlack"
--------------------------------------------------------------^

The "#" character begins comments. Either escape it with a backslash,
or change the address so it does not contain a hash character.

Actually, it's probably supposed to be a comment.  Some old versions of
sendmail treated people with the same .forward file as having the same
end address, so that a message to both of them would end up going to
only one as sendmail would do duplicate address elimination.  This was
fixed somewhere in the run-up to sendmail version 8.

The real problem is probably the interaction between procmail's use of
realloc() and the system's implementation of it.  This is generally
seen on BSD derived system (NeXTStep, FreeBSD, OpenBSD, BSDI, etc).  On
these systems, repeatedly realloc()ing a block is a pessimal operation,
resulting in repeated copies of the memory block and much greater
memory usage.  The quick fix is to edit config.h and change the
definition of BLKSIZ to be something like 4194000 (just under 4MB).
That should cut down on the number of copies and the obscene memory
growth.  I've been working on a better solution, but it isn't ready
yet.

Regardless of changing BLKSIZ, make sure the machine has plenty of swap.


Philip Guenther

<Prev in Thread] Current Thread [Next in Thread>