From owner-freebsd-hackers Thu Nov 6 09:21:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA28759 for hackers-outgoing; Thu, 6 Nov 1997 09:21:03 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from misery.sdf.com (misery.sdf.com [204.244.210.193]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id JAA28749 for ; Thu, 6 Nov 1997 09:20:56 -0800 (PST) (envelope-from tom@sdf.com) Received: from tom by misery.sdf.com with smtp (Exim 1.73 #1) id 0xTVRy-0000RX-00; Thu, 6 Nov 1997 09:10:34 -0800 Date: Thu, 6 Nov 1997 09:10:20 -0800 (PST) From: Tom To: Luigi Rizzo cc: hackers@freebsd.org Subject: Re: procmail problems In-Reply-To: <199711061011.LAA24917@labinfo.iet.unipi.it> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Thu, 6 Nov 1997, Luigi Rizzo wrote: > On one of our servers we have replaced "mail" with procmail, mainly to Actually, mail.local does local delivery, so I guess you replaced that? > have the possibility of putting mailboxes in user directories instead > of having 3000+ files in /var/mail . But for some reason, procmail > quite often starts growing until it exhausts the swap space causing > itself and a bunch of other processes to get killed. 3000 files in /var/mail isn't so bad. If you time an open() call on a file in /var/mail and one in a directory with only one file, you won't notice much of a difference. procmail uses lots of memory. You might want to limit the maximum message size. I consider procmail rather wasteful, in both CPU and memory. It loads the entire message into RAM, and scans it, making it slow and costly. > Are there known problem in procmail, and is there any simple > alternative for achieving our main goal (putting mailboxes into users' > directories instead of /var/mail) ? Well, you could use tmail from the imap-utils package (from UW). It is intended as a mail.local replacement, and it can deliver to all kinds of places. > Thanks > Luigi > -----------------------------+-------------------------------------- > Luigi Rizzo | Dip. di Ingegneria dell'Informazione > email: luigi@iet.unipi.it | Universita' di Pisa > tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) > fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ > _____________________________|______________________________________ > > Tom