From owner-freebsd-questions Sat Oct 3 22:13:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA10854 for freebsd-questions-outgoing; Sat, 3 Oct 1998 22:13:35 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from dt053nb4.san.rr.com (dt053nb4.san.rr.com [204.210.34.180]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA10834 for ; Sat, 3 Oct 1998 22:13:27 -0700 (PDT) (envelope-from Studded@dal.net) Received: from dal.net (Studded@localhost [127.0.0.1]) by dt053nb4.san.rr.com (8.8.8/8.8.8) with ESMTP id WAA03002 for ; Sat, 3 Oct 1998 22:13:06 -0700 (PDT) (envelope-from Studded@dal.net) Message-ID: <361703E1.894FA14A@dal.net> Date: Sat, 03 Oct 1998 22:13:05 -0700 From: Studded Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.06 [en] (X11; I; FreeBSD 2.2.7-STABLE-0929 i386) MIME-Version: 1.0 To: FreeBSD Questions Subject: Delivering mail to user's home directory Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I know that this thread comes up periodically, and I searched the archives but didn't find an answer that I liked. I want to deliver mail directly to each user's home directory in such a way that I could enable quotas at some time down the road and have the mail delivery agent respect the quotas. The solutions from the archives: 1. Symlink /var/mail/username to /home/username/.mail The problem with this is that sendmail runs as root, so it won't respect quotas. 2. Use a mailer other than sendmail This solution might work for others, but I want to stick with sendmail (for now anyway). 3. Use procmail with sendmail to deliver the mail I'd like to avoid dependency on another utility (thus avoiding another potential security hole). So, I'm open to suggestions here. I'm in a position to do some creative work, but I'd like something that is secure and portable as much as possible. Thanks, Doug -- *** Chief Operations Officer, DALnet IRC network *** "Yes, the president should resign. He has lied to the American people, time and time again, and betrayed their trust. He is no longer an effective leader. Since he has admitted guilt, there is no reason to put the American people through an impeachment. He will serve absolutely no purpose in finishing out his term; the only possible solution is for the president to save some dignity and resign." - William Jefferson Clinton, 1974 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message