From owner-freebsd-questions Tue Oct 12 7:51:36 1999 Delivered-To: freebsd-questions@freebsd.org Received: from unix.megared.net.mx (megamail.megared.com.mx [207.249.162.252]) by hub.freebsd.org (Postfix) with ESMTP id E8558157BA for ; Tue, 12 Oct 1999 07:51:31 -0700 (PDT) (envelope-from ales@megared.net.mx) Received: from ales (ales.megared.net.mx [207.249.163.251]) by unix.megared.net.mx (8.9.3/8.9.3) with SMTP id JAA68758; Tue, 12 Oct 1999 09:50:56 -0500 (CDT) (envelope-from ales@megared.net.mx) Message-ID: <00a701bf14c1$20c52d60$fba3f9cf@megared.net.mx> Reply-To: "Alejandro Ramirez" From: "Alejandro Ramirez" To: "Nobody Special" , References: Subject: RE: Procmail as local mailer Date: Tue, 12 Oct 1999 09:50:29 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, Try this link, it will help you: http://freebsd.peon.net/cgi-bin/tutorials.html.cgi?file=8 Have Fun... Ales ----- Original Message ----- From: Nobody Special To: Sent: Monday, October 11, 1999 9:30 PM Subject: Procmail as local mailer > Okay, I'm going to be adding a LOT of users really soon, such that no > single partition I have can handle all the mail these users could > accumulate, and to this end I wanted to put mailboxes in the user > homedirs. > > I tried first doing this through simple symlinks, but sendmail reorts > invalid format, so after a bit of reading I discovered that having > procmail as a local mailer enables it. I compiled and installed (making > the necessary changes to authenticate.c), and had a few problems that were > corrected with the enclosed /usr/local/etc/procmailrc > > My problem is this:According to ALL the documentation, it's okay to create > symlinks in /var/mail so that things like pine function right without > recompilation. So why is procmail still renaming the symlinks to > bogus.Whatever, if it's set to deliver to the homedirs? > > This is my /usr/local/etc/procmailrc: > > LOGFILE=/var/log/procmail > MAILDIR=/.mail > DEFAULT=$HOME/.mail > > This is the relevant section of sendmail.cf: > > > Mlocal, P=/usr/local/bin/procmail, F=SAw5:/|@glDFMPhsfn, S=10/30, R=20/40, > T=DNS/RFC822/X-Unix, > A=procmail -Y -a $h -d $u > Mprog, P=/bin/sh, F=lsDFMoqeu9, S=10/30, R=20/40, D=$z:/, > T=X-Unix, > A=sh -c $u > > > ######################*****############## > ### PROCMAIL Mailer specification ### > ##################*****################## > > ##### @(#)procmail.m4 8.11 (Berkeley) 5/19/1998 ##### > > Mprocmail, P=/usr/local/bin/procmail, F=DFMSPhnu9, S=11/31, R=21/31, T=DNS/RFC822/X-Unix, > A=procmail -Y -m $h $f $u > > > And this is a (retyped) version of procmail -v > > Locking strategies: dotlocking, fcntl(), lockf() > Your system mailbox: /root/.mail > Default rcfile: $home/.procmailrc > > If anyone can tell me why procmail is being uncooperative here, or what > other files I should include, let me know. > > Help much appreciated. > > -Dan > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message