Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!nbires!hao!boulder!sunybcs!rutgers!im4u!jai From: jai@im4u.UUCP (Jai Srinivasan) Newsgroups: comp.unix.questions Subject: Re: tricky mail aliases Message-ID: <2138@im4u.UUCP> Date: Sun, 13-Sep-87 12:54:22 EDT Article-I.D.: im4u.2138 Posted: Sun Sep 13 12:54:22 1987 Date-Received: Mon, 14-Sep-87 03:57:38 EDT References: <264@mv06.ecf.toronto.edu> Reply-To: jai@im4u.UUCP (Jai Srinivasan) Organization: U. Texas CS Dept., Austin, Texas Lines: 35 Keywords: saving outgoing mail to particular files In article <264@mv06.ecf.toronto.edu> drascic@ecf.toronto.edu (SpIKe) writes: >I would like to organize my correspondance so that all letters to and >from a particular person would be stored in a single file. Is there any >way to do this using "set record", so that a letter to joe@somewhere would >be saved in the file mbox.joe? That can be done on 4.2 BSD with the standard mail program by: alias joe joe@somewhere +mbox.joe in your .mailrc file. The +mbox.joe mails the message to a folder (file), which is stored in a directory specified by the variable "folder". This variable can be set in .mailrc too, eg: set folder folders will cause all your mail folders to be saved in the directory $HOME/folders. You can save incoming mail from joe by typing "s +mbox.joe". To browse through the old mail to/from joe, use the command `mail -f +mbox.joe'. The one annoying feature of this is that when joe replies to a message you send him, a cc will be sent to "+mbox.joe" unless he removes that from the cc list. That causes the message he sends to be put in a file mbox.joe in his folder directory, or to a file +mbos.joe in his current directory, if his variable `folder' is not set. The mail program should have made file aliases blind or should have a way to specify a bcc (blind carbon copy) list with an alias. -------- Jai Srinivasan, UUCP: {gatech,harvard,ihnp4,pyramid,seismo}!ut-sally!im4u!jai ARPA: jai@im4u.UTEXAS.EDU, jai@sally.UTEXAS.EDU -----------------------------