From owner-freebsd-questions Tue May 15 13:56: 6 2001 Delivered-To: freebsd-questions@freebsd.org Received: from scaup.mail.pas.earthlink.net (scaup.mail.pas.earthlink.net [207.217.121.49]) by hub.freebsd.org (Postfix) with ESMTP id E8FA937B424 for ; Tue, 15 May 2001 13:55:59 -0700 (PDT) (envelope-from ipthomas_77@yahoo.com) Received: from scarlet.my.domain (1Cust89.tnt2.buffalo.ny.da.uu.net [63.20.90.89]) by scaup.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id NAA22689; Tue, 15 May 2001 13:55:57 -0700 (PDT) Received: (from ipt@localhost) by scarlet.my.domain (8.9.3/8.9.3) id QAA02511; Tue, 15 May 2001 16:55:35 -0400 (EDT) (envelope-from ipt) From: User Ipt Ian Patrick Thomas Message-Id: <200105152055.QAA02511@scarlet.my.domain> Subject: Re: Procmail question. In-Reply-To: <20010515151631.34386.qmail@web14304.mail.yahoo.com> from Wild Fyre at "May 15, 2001 08:16:30 am" To: wildfiah@yahoo.com (Wild Fyre) Date: Tue, 15 May 2001 16:55:35 -0400 (EDT) Cc: freebsd-questions@freebsd.org Operating-System: FreeBSD X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You should be able to use mail. I believe that the default for mail is to look in /var/spool/[your username]. If you change that then make sure you let mail know about. Of course if you are using procmail, have mail look in whatever file you are sending mail to. These options go in a .mailrc file in your home directory. Ian As told by, Wild Fyre > Is it possible to use 'mail' /usr/bin/mail to read the > messages? > > If not how can i configure mutt to read the mail? > > > --- Francesco Casadei wrote: > > On Mon, May 14, 2001 at 11:34:21AM -0700, Wild Fyre > > wrote: > > > Hello ladies and gents, > > > > > > How can i use procmail, so that 1) Mail can be > > > delivered to the users home directory instead of > > the > > > spool dir ie /var/mail. > > > > > > > > > Thanks in advance > > > Stephan Weaver > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Yahoo! Auctions - buy the things you want at great > > prices > > > http://auctions.yahoo.com/ > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-questions" in the body > > of the message > > > > > > end of the original message > > > > From procmailrc(5) manpage: > > > > [...] > > Recipes > > A line starting with ':' marks the beginning > > of a recipe. > > It has the following format: > > > > :0 [flags] [ : [locallockfile] ] > > > line)> > > > > [...] > > Recipe action line > > The action line can start with the following > > characters: > > [...] > > Anything else will be taken as a mailbox > > name (either a > > filename or a directory, absolute or > > relative to the cur- > > rent directory (see MAILDIR)). If it is a > > (possibly yet > > nonexistent) filename, the mail will be > > appended to it. > > > > If it is a directory, the mail will be > > delivered to a > > newly created, guaranteed to be unique file > > named $MSGPRE- > > FIX* in the specified directory. If the > > mailbox name ends > > in "/.", then this directory is presumed > > to be an MH > > folder; i.e., procmail will use the next > > number it finds > > available. If the mailbox name ends in > > "/", then this > > directory is presumed to be a maildir > > folder; i.e., proc- > > mail will deliver the message to a file in a > > subdirectory > > named "tmp" and rename it to be inside a > > subdirectory > > named "new". If the mailbox is specified > > to be an MH > > folder or maildir folder, procmail will > > create the neces- > > sary directories if they don't exist, rather > > than treat > > the mailbox as a non-existent filename. > > When procmail is > > delivering to directories, you can specify > > multiple direc- > > tories to deliver to (procmail will do > > so utilising > > hardlinks). > > > > > > So you'll want something like: > > > > -* begin .procmailrc-wind *- > > > > MAILDIR=$HOME/Mail/ > > ORGMAIL=$MAILDIR/wind/ > > DEFAULT=$MAILDIR/wind/ > > > > :0 > > * ^Sender.*freebsd-questions > > freebsd-questions/ > > > > :0 E > > * ^Sender.*freebsd-stable > > freebsd-stable/ > > > > :0 E > > * ^Sender.*freebsd-isp > > freebsd-isp/ > > > > :0 E > > * ^Sender.*freebsd-announce > > freebsd-announce/ > > > > -* end .procmailrc-wind *- > > > > Messages from -questions, -stable, -isp and > > -announce go to (respectively) > > ~/Mail/freebsd-questions, ~/Mail/freebsd-stable, > > ~/Mail/freebsd-isp and > > ~/Mail/freebsd-announce. All other messages go to > > ~/Mail/wind, which is the > > default maildir. > > > > For more information: > > > > man procmail > > man procmailrc > > man procmailex > > > > Hope this helps. > > > > Francesco Casadei > > -- > > You can download my public key from > > http://digilander.iol.it/fcasadei/ > > or retrieve it from a keyserver (pgpkeys.mit.edu, > > wwwkeys.pgp.net, ...) > > > > Key fingerprint is: 1671 9A23 ACB4 520A E7EE 00B0 > > 7EC3 375F 164E B17B > > > > > > > ATTACHMENT part 2 application/pgp-signature > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Auctions - buy the things you want at great prices > http://auctions.yahoo.com/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- Have blue screens given you the blues, go to www.freebsd.org for the cure. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message