[ LUGOS ] .forward

Renato Lukac Renato na s-gms.ms.edus.si
Pon Jan 4 23:49:42 CET 1999


On Mon, 4 Jan 1999, andy wrote:

> Kje se da dobiti informacije o .forward fajlu?
za Solaris obstajajo man, zato izjemoma kopiram del le-teh:

man forward:
[...]
     ~/.forward           Addresses to which  a  user's  mail  is
                         forwarded   (see  Automatic  Forwarding,
                         below).
[...]
  Automatic Forwarding
     When an alias (or address) is resolved to the name of a user
     on  the  local  host,  sendmail(1M)  checks for a ~/.forward
     file, owned by the intended recipient, in that  user's  home
     directory,  and  with  universal read access.  This file can
     contain one or more addresses or aliases as described above,
     each of which is sent a copy of the user's mail.

     Care must be taken to avoid creating addressing loops in the
      ~/.forward file.  When forwarding mail between machines, be
     sure that the destination machine does not return  the  mail
     to  the  sender  through  the  operation of any NIS aliases.
     Otherwise, copies of the message  may  ``bounce.''  Usually,
     the  solution  is  to change the NIS alias to direct mail to
     the proper destination.

     A backslash before a  username  inhibits  further  aliasing.
     For  instance,  to  invoke  the  vacation  program,  user js
     creates a ~/.forward file that contains the line:

          \js, "|/usr/ucb/vacation js"

     so that one copy of the message is sent  to  the  user,  and
     another is piped into the vacation program.

> Bolj natancno:
> kako bi naredil da se mail forwarda in hkrati spravi v mailbox?
\local_user_name,username na drugi.naslov

meni tole dela (na Solarisu).

lp, lr
         ,'~`.                                           \\|//
        ( o o ) Window$ is living proof of Murphy's Law -(@ @)-
+--.oooO--(_)--Oooo.-*-*-*-------------------------.oooO--(_)--Oooo.-+
|Renato Lukac       ** * **  |Email:renato na s-gms.ms.edus.si          |
|Gimnazija M.Sobota  G M S   |WWW:http://www.s-gms.ms.edus.si/renato/|
|Slovenija          *******  |Tel.: + 386 / (0)69 / 38-260-106       |
+--------------------------------------------------------------------+




Dodatne informacije o seznamu Starilist