From owner-freebsd-questions Sun Dec 5 16:54: 9 1999 Delivered-To: freebsd-questions@freebsd.org Received: from bellona.asdf.com (bellona.asdf.com [205.138.138.158]) by hub.freebsd.org (Postfix) with ESMTP id 8E61214FA1 for ; Sun, 5 Dec 1999 16:53:56 -0800 (PST) (envelope-from xlogan@novagate.net) Received: from localhost (xlogan@localhost) by bellona.asdf.com (8.9.3/8.9.3) with ESMTP id TAA27618 for ; Sun, 5 Dec 1999 19:53:55 -0500 (EST) (envelope-from xlogan@novagate.net) X-Authentication-Warning: bellona.asdf.com: xlogan owned process doing -bs Date: Sun, 5 Dec 1999 19:53:55 -0500 (EST) From: x@asdf.com To: freebsd-questions@FreeBSD.ORG Subject: mail.local hack to deliver email to home directories Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello The old sys admin who used to work here had hacked the mail.local program on an OLD BSD system so that email would be delivered to /usr/home//.mail, instead of /var/mail. All he did was change one line in mail.local.c: /* Hack to send mail to users local directories */ /* (void)snprintf(path, sizeof(path), "%s/%s", _PATH_MAILDIR, name); */ (void)snprintf(path, sizeof(path), "%s/.mail", pw->pw_dir); This has always worked and we have never had a problem with it. I just did this to my new 3.3 machine and it seems to work fine, though I haven't finished testing it. My question is, does anyone see any issues with this? I know that you can use procmail as your local mailer, but I had heard/read that procmail is not the best solution for FreeBSD local mailing because of how it reads the emails into memory (i.e. a big mail can crash procmail). Thanks, -Dan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message