linux-l: Doku zu .forward ???
Dirk Wunderlich
dirk.wunderlich at rz.hu-berlin.de
Mo Feb 23 19:57:52 CET 1998
Am Mon, 23 Feb 1998 13:45:38 +0100 (CET), kam folgendes bei mir an:
[...]
> 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.
Aha, das reicht mir ja schon.
Vielen Dank :-)
> > 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.
hmm, das werde ich dann mal versuchen, - aber erst wenn mein Examen
vorbei ist ;-)
Vielen Dank noch mal an Euch alle für die promte Beantwortung.
Einen schönen Tag noch,
----------------------------------
und tschuess,
Dirk Wunderlich
http://www2.rz.hu-berlin.de/~h0444xbd/index.html
Mehr Informationen über die Mailingliste linux-l