On Sat, 10 Mar 2001, Greg White wrote:

> 1. Modify procmail to exit status 100 on quota exceeded.

I did. It works--mostly. Instead of standard bounce text, the message is
bounced with the following explaination:

        procmail: Quota exceeded while \
        writing "Maildir/tmp/zOD.nTq6.mail.themeco.com"

instead of a more standard:

        Recipient's mailbox is full, message returned to sender. (#5.2.2)

Not a huge deal, in the grand scheme of things.

For anyone else dealing with the same issue, you can put the following in
your /etc/procmailrc or in $HOME/.procmailrc:

        # Needed if running from /etc/procmailrc. Otherwise, messages
        # will be unreadable by the user since they will be owned by
        # root as mode 0600.
        DROPPRIVS=yes

        # Deliver to user's maildir folder.
        :0
        Maildir/

        # Bounce mail if delivery fails.
        EXITCODE=100

Hope this saves someone an afternoon. :)

-- 
Todd A. Jacobs
CodeGnome Consulting, LTD



Reply via email to