From owner-freebsd-ports Sat Mar 7 06:44:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA13055 for freebsd-ports-outgoing; Sat, 7 Mar 1998 06:44:46 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from news1.gtn.com (news1.gtn.com [192.109.159.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA13032; Sat, 7 Mar 1998 06:44:33 -0800 (PST) (envelope-from andreas@klemm.gtn.com) Received: (from uucp@localhost) by news1.gtn.com (8.8.6/8.8.6) with UUCP id PAA06572; Sat, 7 Mar 1998 15:30:06 +0100 (MET) Received: (from andreas@localhost) by klemm.gtn.com (8.8.8/8.8.7) id PAA20521; Sat, 7 Mar 1998 15:24:18 +0100 (CET) (envelope-from andreas) Message-ID: <19980307152418.16939@klemm.gtn.com> Date: Sat, 7 Mar 1998 15:24:18 +0100 From: Andreas Klemm To: ache@FreeBSD.ORG Cc: isp@FreeBSD.ORG, ports@FreeBSD.ORG, asami@FreeBSD.ORG Subject: bugfix procmail port and discussion about general MAILSPOOLHOME var. Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i X-Disclaimer: A free society is one where it is safe to be unpopular X-Operating-System: FreeBSD 3.0-CURRENT SMP Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Andrey and the others ! First this should only be one mail for you, you'll see at the end of this mail that this has changed to a general feature request ;-) patch-ab in the procmail port patches in absolute path names: ! #define ETCRC "/usr/local/etc/procmailrc" /* optional global procmailr ^^^^^^^^^^ ! #define ETCRCS "/usr/local/etc/procmailrcs/" /* optional trusted path pre ^^^^^^^^^^ Could you please remove these two diffs from the patch and provide a post configuration script, that patches the actual content of $(PREFIX) into the config.h file ? FEATURE REQUEST: Another thing, many ISP's use procmail's ability, to store users mails into their home directory ($HOME/.mail). This is useful, if you want to use existing user quotas for incoming mails and if you don't want to have one huge /var/mail directory with mailfiles for 5000+ users ... Could you add a compile time option that patches authenticate.c to activate this feature ? MAILSPOOLHOME enables this behaviour. For example cd /usr/ports/mail/procmail make MAILSPOOLHOME=yes And in the port's Makefile .if defined(MAILSPOOLHOME) PATCHFILES=mailspoolhome.patch .endif Or something like this. Perhaps one should make a note, that then the MUA has to be aware of the MAIL envireonment variable or pop server have to be patched, too look for the users mailbox in $HOME/.mail/loginname. --- src/authenticate.c.orig Sat Mar 7 14:56:07 1998 +++ src/authenticate.c Sat Mar 7 14:56:15 1998 @@ -41,7 +41,7 @@ #ifndef MAILSPOOLHASH #define MAILSPOOLHASH 0 /* 2 would deliver to /var/spool/mail/b/a/bar */ #endif -/*#define MAILSPOOLHOME "/.mail" /* watch the leading / */ +#define MAILSPOOLHOME "/.mail" /* watch the leading / */ /* delivers to $HOME/.mail */ #define STRLEN(x) (sizeof(x)-1) [Brainstorming on] With the help of the other port maintainers we could additionally think about patching all of our pop and imap servers and MUA's in the ports collection to be aware of mailbox files in the users home directory in $HOME/.mail via a global make variable MAILSPOOLHOME that could be placed in /etc/make.conf. This switch should also be available on the command line make MAILSPOOLHOME=yes all install or make it to a system wide default via /etc/make.conf For ISP's with large installations that would surely be a nice feature and another bonus to use FreeBSD and the ports collection [Brainstorming OFF] What do you think of that ? -- Andreas Klemm powered by ,,symmetric multiprocessor FreeBSD'' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message