procmail
[Top] [All Lists]

Re: mailbox too big ?

2002-01-02 02:44:55
Olaf Menkens <olaf(_dot_)menkens(_at_)imk(_dot_)fraunhofer(_dot_)de> writes:
Most things work fine, but procmail can't append to large mailboxes.
Some users have inboxes of more than ~40MB. For these I see error
message like this in my log file:

Dec 22 00:29:41 vmsdmnew postfix/local[7741]: 16DB6862F:
to=<jas(_at_)vmsdmail(_dot_)gmd(_dot_)de>, 
relay=local, delay=20505, status=deferred (temporary failure. Command
output: procmail: Error while writing to "/var/spool/mail/jas" )

Some additional infos: 
- disk space is sufficient, 
- no quota configured, 
- file permissions are OK, 
- delivery to other users (with smaller mailboxes) works without
problems.

That's weird.  It's not obvious what the problem is, so I suggest you
trace the procmail process to see what system call is returning an error.
This is most easily done from the /etc/procmailrc file with something
like:

        # Only do this for one user (the 'jas' below)
        :0
        * LOGNAME ?? ^^jas^^
        {
                pid = $$
                dummy = `strace -o $HOME/procmail.strace -p $pid \
                         >/dev/null 2>/dev/null </dev/null &`
        }

The redirections in the backquote bit are to make sure procmail doesn't
get stuck waiting for a pipe to be closed.

Anyway, once that's in place in the /etc/procmailrc file, send a message
to the user tested for and see what the strace output shows.


Philip Guenther
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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