[comp.sys.att] forwarding mail

mef@remus.rutgers.edu (Marc E. Fiuczynski) (01/23/91)

Hi there,
I'm using a 3B2 running SVR3.1.  How do I forward mail from
this machine to another.  Basically, I want to forward all
the mail that I receive on the 3B2 to another machine.

I remember one way of doing it is to have an entry in /usr/mail/<user> :
user@<host>

Or can I use a .forward file the way it works with ucbmail?

-Marc
-- 
================================================================================
Marc Fiuczynski                                 |       mef@remus.rutgers.edu
						|       mef@klinzhai.rutgers.edu
Rpo 5814, Po Box 5063                           |
New Brunswick, NJ 08903                         |       Tel.: (908)/878-9388
================================================================================

les@chinet.chi.il.us (Leslie Mikesell) (01/24/91)

In article <Jan.22.21.51.12.1991.29374@remus.rutgers.edu> mef@remus.rutgers.edu (Marc E. Fiuczynski) writes:
>Hi there,
>I'm using a 3B2 running SVR3.1.  How do I forward mail from
>this machine to another.  Basically, I want to forward all
>the mail that I receive on the 3B2 to another machine.

If you are running the stock sysV mailer you need to replace your mailbox
(/usr/mail/userid) with a file that says:
Forward to new!address
Some versions allow you to use "mail -F new!address" to create this
entry.  Otherwise, send yourself a dummy message to create the mailbox
file so you can edit it without special permissions.

Les Mikesell
  les@chinet.chi.il.us

rad@genco.bungi.com (Bob Daniel) (01/24/91)

In article <Jan.22.21.51.12.1991.29374@remus.rutgers.edu> mef@remus.rutgers.edu (Marc E. Fiuczynski) writes:
>Hi there,
>I'm using a 3B2 running SVR3.1.  How do I forward mail from
>this machine to another.  Basically, I want to forward all
>the mail that I receive on the 3B2 to another machine.
>
>I remember one way of doing it is to have an entry in /usr/mail/<user> :
>user@<host>
>
>Or can I use a .forward file the way it works with ucbmail?


Simply make this entry in the /usr/mail/login_id file.

Forward to machine!login_id


Then to ensure proper ownership:
# chown login_id login_id
# chgrp mail login_id
# chmod 662 login_id

pjh@mccc.edu (Pete Holsberg) (01/27/91)

In article <Jan.22.21.51.12.1991.29374@remus.rutgers.edu> mef@remus.rutgers.edu (Marc E. Fiuczynski) writes:
=Hi there,
=I'm using a 3B2 running SVR3.1.  How do I forward mail from
=this machine to another.  Basically, I want to forward all
=the mail that I receive on the 3B2 to another machine.
=
=I remember one way of doing it is to have an entry in /usr/mail/<user> :
=user@<host>

The entry I have in /usr/mail/pjh on the "other" 3B2 is
	Forward to mccc!pjh
and that works.

Do you have a mailer on your 3B2 that understands user@some.site.domain??

Pete	

-- 
Prof. Peter J. Holsberg      Mercer County Community College
Voice: 609-586-4800          Engineering Technology, Computers and Math
UUCP:...!princeton!mccc!pjh  1200 Old Trenton Road, Trenton, NJ 08690
Internet: pjh@mccc.edu	     Trenton Computer Festival -- 4/20-21/91