
On Tue, Mar 13, 2012 at 03:53:19PM +1100, Mike Fabre wrote:
On Tue, Mar 13, 2012@03:45:30PM +1100, Jason White wrote:
Mike Fabre <mike+luv@fabre.id.au> wrote:
As far as I can tell from procmail's manpage I can't tell it *not* to read the users .procmailrc when it's finished with everything else, if I'm wrong here then that's probably the easiest way to go about it.
I might be wrong, but my understanding is that if the last recipe in /etc/procmailrc delivers all mail not handled by proceding recipes, then it won't matter what is in the user's ~/.procmailrc file, because /etc/procmailrc is executed first, and processing ends once the message has been handled by a delivering recipe.
Ah, that makes sense, I shall test this some more.
Follow-up: having tested this further I have found that it doesn't work, postfix is only allowing 2 copies of procmail per recipient to run at a time so if I put 'sleep 5m' into the procmailrc then each user can only receive 2 message every 5 minutes. I can probably change the arbitrary limit of 2 procmail processes, but that's likely to introduce other problems such as too many procmail instances eating up memory. -- Mike Fabre