linux-l: Doku zu .forward ???

Bjoern Feustel feustel at fhtw-berlin.de
Mo Feb 23 13:45:38 CET 1998


On Mon, 23 Feb 1998, Dirk Wunderlich wrote:

> Hi allerseits,
> Ich versuche seit geschlagenen 3 Stunden eine Dokumentation zu
> .forward - Datei zu finden.
> leider hat ein
> 	man sendmail
> sowie ein 
> 	man vacation
> 
> nicht so richtig etwas zu Tage gefördert :-(
> 
> Frage: wo finde ich eine ausführliche Beschreibung der Möglichkeiten
> und Syntax dieser .forward Datei?

Hier mal ein auszug von man forward auf einer sun:
  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.


> 
> Ich möchte das benutzen, um mich auf meinem skyper benachrichtigen zu
> lassen, wenn neue e-mail eingetroffen ist.
> In diesem Zusammenhang wäre es besonders interessant, ob man mit
> dieser Datei auch filtern kann.
> Ein pipen an ein skript kommt nicht in Frage, weil ich auf der Uni
> keine skripte ausführen darf...

Ich denke mal, du darfst nur keine eigenen cgi-scripte benutzen. Es
hindert dich aber wohl niemand, in eigene (shell-)scripte oder programme
zu pipen. Zum filtern bietet sich vielleicht procmail oder du schreibst
dir selber deinen filter mit zb. perl.

ciao
bjoern 

       -   --  --- ----< I guess I'm lost in life >---- ---  --   -

                             Bjoern Feustel
                       feustel at rz.fhtw-berlin.de





Mehr Informationen über die Mailingliste linux-l