home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!wupost!csus.edu!netcom.com!dman
- From: dman@netcom.com (Dallman Ross)
- Subject: Re: Question about .forward
- Message-ID: <1992Dec23.070927.18324@netcom.com>
- Organization: Netcom - Online Communication Services (408 241-9760 guest)
- X-Newsreader: TIN [version 1.1 PL8]
- References: <1h7qk5INNfa7@moe.ksu.ksu.edu>
- Date: Wed, 23 Dec 1992 07:09:27 GMT
- Lines: 32
-
- Rob Quinn (rjq@phys.ksu.edu) wrote:
- : In <1992Dec21.232605.10593@netcom.com> dman@netcom.com (Dallman Ross) writes:
- : > If I have a .forward file directing a cc of mail to another system, can
- : > I safely rm mbox [N.B. I meant "my spool mail, not "mbox"] without fear
- : > of losing mail that comes right at that moment? Or does the .forward work
- : > only *after* mail is deposited in the spool, which could result in such
- : > a loss?
-
- : Yes, you can. A simple way to check would be to look at the access times on
- : the mailbox once you have installed your .forward.
- : But why would you want to remove your mailbox? Why not just leave it there,
- : with zero length? On most systems the mail directory is world writable, so
- : someone else could create a mailbox for you with world readable/writable
- : perms. If you ever rm your .forward, you will start using this ``fake''
- : mailbox.
-
- Good idea on the access times; and very illuminating on the fake
- spoolfile info!
-
- The reason I want to rm the file is that I want to have a background
- script deal with this on a system where I am charged for access time.
- I don't want the clock ticking while I type "mail," "d*," "q" -- but
- I haven't figured out how to do that in a shell script. Otoh, I
- *have* figured out how to "rm /usr/spool/mail/$USER" in a shell
- script.
-
- --
- __D_a l_l m a_n _ R o_s s _ |dman@netcom.com /or/ |"You sound like a man|
- l \\ l\\ /l /\\ l\\ l |dross@well.sf.ca.us |with a rubber nose." |
- l >)l \\ /ll / \\ l \\ l |vox/fax: 1.510.645.1883| -- One-Lung Bill |
- l // l \X ll/--- \\l \\ l |350 Perkins St., #108 | Remmer (deceased)
- _l//______________________\\l_|Oakland,_CA__94610-3422|_____________________|_
-