Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Nov 1997 09:10:20 -0800 (PST)
From:      Tom <tom@sdf.com>
To:        Luigi Rizzo <luigi@labinfo.iet.unipi.it>
Cc:        hackers@freebsd.org
Subject:   Re: procmail problems
Message-ID:  <Pine.BSF.3.95q.971106090558.1694A-100000@misery.sdf.com>
In-Reply-To: <199711061011.LAA24917@labinfo.iet.unipi.it>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.971106090558.1694A-100000>