From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,44b0cb14b3f0299d X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-06-07 11:07:12 PST Path: nntp.gmd.de!Germany.EU.net!netmbx.de!zib-berlin.de!news.th-darmstadt.de!terra.wiwi.uni-frankfurt.de!zeus.rbi.informatik.uni-frankfurt.de!news.dfn.de!darwin.sura.net!convex!news.duke.edu!news-feed-1.peachnet.edu!dekalb.dc.peachnet.edu!dekalb.dc.peachnet.edu!not-for-mail From: douglas@dekalb.DC.PeachNet.EDU (Douglas Jones) Newsgroups: comp.unix.osf.osf1 Subject: Re: Redirecting Mail Date: 7 Jun 1994 13:50:13 -0400 Organization: DeKalb College, Clarkston GA Message-ID: <2t2c0l$i4f@dekalb.DC.PeachNet.EDU> References: <2qnh8d$plt@info.epfl.ch> NNTP-Posting-Host: dekalb.dc.peachnet.edu Keywords: forward, mail In article <2qnh8d$plt@info.epfl.ch>, Stefan Monnier wrote: >In article , >David Bannon wrote: >> Seems like a simple enough problem, but ... >> The man page for mail says put the line >> Forward to WhoEver >> at the to of user file in /var/spool/mail, but it seems to be ignored. >> It's a DEC Alpha 3000 with OSF/1.3 > >Make a ~/.forward file in which you'll put the address you want your >mail to be forwarded to. > >I have a related question: > >is there some way to do anything more than forward the mail to a >specified address ? >>From what I've been able to figure out, mail handling on osf/1 is >prehistoric. I couldn't even pipe my mail into a script !!! >Xmh and Dxmail are fine, but I wish the xmh man page was correct when >it was refering me to the .maildelivery file. > >Have I missed something ? > > > Stefan for simple mail forwarding to another address: in ~/.forward user@address for piping to another program: in ~/.forward (I don't remember off hand if the quotes are suppopse to be there. They are in the system alias file, not sure about personal .forward file, but I think they are) "|path_of_command_to_execute" Notice that this pipes the message to the command specified. One such program, called procmail (archie for its' location), lets you do a of stuff with incomming mail. Such as take all mail of a certain subject an redirect it to a certain folder; talk all mail from a certain user a redirect it. Let people know you are on vacation (I think this is in it) and that you are not just ignoring them. This is standard on most UNIXes....At least the sendmail ones. I'm not sure about non-sendmail ones and if it is true for all sendmail ones. I know osf, bsd, ultrix, brl support it (at least the later 3 did when I was on them). Hope this helps some - don't know about mh mail..... Cheers, Douglas