procmail
[Top] [All Lists]

Re: Halting delivery on program failure

2006-03-23 14:06:47
* 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...

or utilizing logdigest:
  <dir>/procmail.log {
     compress
     datext
     maxage 180
     rotate 45
     size=+1024K
     notifempty
     missingok
     copytruncate
}


-- 
Patrick Shanahan                        Registered Linux User #207535
http://wahoo.no-ip.org                        @ http://counter.li.org
HOG # US1244711         Photo Album:  http://wahoo.no-ip.org/gallery2

____________________________________________________________
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