From owner-freebsd-questions Mon Jul 24 9:52:56 2000 Delivered-To: freebsd-questions@freebsd.org Received: from goliath.siemens.de (goliath.siemens.de [194.138.37.131]) by hub.freebsd.org (Postfix) with ESMTP id 54E5237B59C for ; Mon, 24 Jul 2000 09:52:52 -0700 (PDT) (envelope-from andre.albsmeier@mchp.siemens.de) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer goliath.siemens.de) Received: from mail2.siemens.de (mail2.siemens.de [139.25.208.11]) by goliath.siemens.de (8.10.1/8.10.1) with ESMTP id e6OGqmH12583; Mon, 24 Jul 2000 18:52:49 +0200 (MET DST) Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7]) by mail2.siemens.de (8.10.1/8.10.1) with ESMTP id e6OGqmJ20739; Mon, 24 Jul 2000 18:52:48 +0200 (MET DST) Received: (from localhost) by curry.mchp.siemens.de (8.10.2/8.10.2) id e6OGqma66028; Date: Mon, 24 Jul 2000 18:52:48 +0200 From: Andre Albsmeier To: Spork Admin Cc: questions@FreeBSD.ORG Subject: Re: mail.local Message-ID: <20000724185248.A15078@curry.mchp.siemens.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: ; from admin@spork.spods.co.uk on Mon, Jul 24, 2000 at 01:28:47PM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 24-Jul-2000 at 13:28:47 +0100, Spork Admin wrote: > On Mon, 24 Jul 2000, Giorgos Keramidas wrote: > > > > > > > Can anyone tell me what calls mail.local at bootup time? I'm using > > > FreeBSD 4.1-RC and wish to change the local mailer for procmail. > > > It won't let me touch mail.local, I can only assume because it is in use. > > > > mail.local is called by the `local' mailer of sendmail. > > you can recofigure your sendmail to use procmail instead of mail.local > > for the local delivery agent. > > > > see the following features of sendmail's master-config file: > > > > FEATURE(local_procmail) > > MAILER(procmail) > > > > > Also, can anyone suggest if I should simply mv mail.local, and symlink it > > > to procmail, or should I actually change whatever it is that calls > > > mail.local at bootup. > > > > no need to mess with things like that. > > you can simple reconfigure your sendmail > > to use procmail as the local delivery agent. > > > > OK, I think it's now using procmail sucessfully. > > My reason for chaning over to procmail is to get the mail spool files to > locate themselves in the users home directories i.e. $HOME/.mail, however, > again, following the procmail docs has led me nowhere. Can anyone suggest > a method for doing this under BSD? I use: (beware, there are other things as well in the patch but you will get the idea) --- src/authenticate.c.orig Mon Apr 28 02:27:45 1997 +++ src/authenticate.c Fri Nov 12 08:36:33 1999 @@ -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) --- config.h.orig Fri Nov 12 08:36:33 1999 +++ config.h Fri Nov 12 08:36:33 1999 @@ -32,7 +32,7 @@ */ #define PRESTENV {"IFS","ENV","PWD",DEFPATH,0} -/*#define GROUP_PER_USER /* uncomment this if each +#define GROUP_PER_USER /* uncomment this if each user has his or her own group and procmail can therefore trust a $HOME/.procmailrc that is group writable or contained in a group writable home directory --- src/autoconf.orig Wed Jan 20 18:58:20 1999 +++ src/autoconf Fri Nov 12 08:36:33 1999 @@ -832,6 +832,7 @@ else echo "#define NO_COMSAT" >>$ACONF fi +echo "#define NO_COMSAT" >>$ACONF $RM _autotst.$O To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message