procmail
[Top] [All Lists]

Re: Halting delivery on program failure

2006-03-24 02:36:05
On Thu, Mar 23, 2006 at 03:10:21PM -0500, Patrick Shanahan wrote:
* Jim C. Nasby <decibel(_at_)decibel(_dot_)org> [03-23-06 10:32]:
Postfix allows you to set a limit on the size of a mailbox. By default,
this is ~50MB. The problem is that this limit is set by essentially
doing a ulimit. So if your procmail is set to log, and the logfile
exceeds this limit, things stop working properly. Certainly one issue I
was seeing was that spamassassin wasn't being run.

The problem can be solved by either bumping up the size of
mailbox_size_limit in your postfix config, or using a limit at all by
setting it to 0.

or directing procmail to put it's log in another directory...

Won't work. Postfix has to handle mailbox size via a ulimit, otherwise
they'd have no way to enforce it when using something like procmail.

I'm actually wondering if procmail should report an error instead of
just silently failing.
-- 
Jim C. Nasby, Database Architect                decibel(_at_)decibel(_dot_)org 
Give your computer some brain candy! www.distributed.net Team #1828

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming, or what?"

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail