Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Redirecting Mail
@ 1994-05-10  5:57 David Bannon
  1994-05-10  8:39 ` Stefan Monnier
  0 siblings, 1 reply; 4+ messages in thread
From: David Bannon @ 1994-05-10  5:57 UTC (permalink / raw)


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   

Any suggestions ?

David Bannon, D.Bannon@latrobe.edu.au

------------------------------------------------------------
David Bannon            D.Bannon@latrobe.edu.au
Dept Biochem            Phone 61 03 479 2197
Latrobe University      Fax   61 03 479 2467
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Redirecting Mail
  1994-05-10  5:57 Redirecting Mail David Bannon
@ 1994-05-10  8:39 ` Stefan Monnier
  1994-06-07 17:50   ` Douglas Jones
       [not found]   ` <2t2c0l$i4f@dekalb.dc.peachnet.edu>
  0 siblings, 2 replies; 4+ messages in thread
From: Stefan Monnier @ 1994-05-10  8:39 UTC (permalink / raw)


In article <d.bannon.6.000FF76E@latrobe.edu.au>,
David Bannon <d.bannon@latrobe.edu.au> 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Redirecting Mail
  1994-05-10  8:39 ` Stefan Monnier
@ 1994-06-07 17:50   ` Douglas Jones
       [not found]   ` <2t2c0l$i4f@dekalb.dc.peachnet.edu>
  1 sibling, 0 replies; 4+ messages in thread
From: Douglas Jones @ 1994-06-07 17:50 UTC (permalink / raw)


In article <2qnh8d$plt@info.epfl.ch>,
Stefan Monnier <monnier@di.epfl.ch> wrote:
>In article <d.bannon.6.000FF76E@latrobe.edu.au>,
>David Bannon <d.bannon@latrobe.edu.au> 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Redirecting Mail
       [not found]   ` <2t2c0l$i4f@dekalb.dc.peachnet.edu>
@ 1994-06-07 20:46     ` Stefan Monnier
  0 siblings, 0 replies; 4+ messages in thread
From: Stefan Monnier @ 1994-06-07 20:46 UTC (permalink / raw)


In article <2t2c0l$i4f@dekalb.dc.peachnet.edu>,
Douglas Jones <douglas@dekalb.DC.PeachNet.EDU> wrote:
> 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"

I'm probably stupid. But seeing your confidence, I tried it for the
(at least) third time.

Could I know how this works ?


	Stefan

PS: the simple forwarding works. The pipe works on other systems.
	But on osf1, I just couldn't make it work.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1994-06-07 20:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-05-10  5:57 Redirecting Mail David Bannon
1994-05-10  8:39 ` Stefan Monnier
1994-06-07 17:50   ` Douglas Jones
     [not found]   ` <2t2c0l$i4f@dekalb.dc.peachnet.edu>
1994-06-07 20:46     ` Stefan Monnier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox