[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HELP] UNIX mailer
>
> To all computer expert
>
!!! :-(
> I have my mail account in a HP-UNIX workstation. I heard that
> if a file named .forward (name ??) in the login directory, the
> mail can be redirected to other account. Can anybody tell me
> what is to write inside this file ?
>
email @ or whatever lengthly pipeline you can write, f.ex.:
"|yourscript|myscript|/usr/local/bin/filter"
NB: \"s are included.
> Actually, I want to make some program (shell script would be
> fine) and run it on the background. The program will check
> my mail periodically and searching through the text or the
> SUBJECT field and if it finds certain string, it will take
> certain actions. Like saving it in certain folder or just
> direct it to NULL. Is it possible to do that ? Do you have
>
Yes. But you'd better use filter. Info can be found in
vnsa web page. It's written in the greeting message, isnt it?
> any clue where in the internet that I can find information
> related to the UNIX mailer handling ?
>
type "man filter" <ENTER> "whereis filter" <ENTER>
This filter is part of the elm-package available in every unix system,
i suppose.
> The reason I want to do this is because sometime, I do not have
> much time and the VNSA "bombardment" (by email message) seems
> to be too heavy.
>
Part of my anti-bomb shield:
(but some bombs are sweet, really!)
# file: ~/.elm/filter-rules
# Rule 1: Save all replies to one folder.to be deleted later.
if (sender="vnsa-l@csd.uwm.edu") and (subject contains "re:") then
save "/users/hoang/vnsa.re"
# or delete, execute, forward ...
...
This doesnt help you much, does it?
(i'm not an Unix'hell citizen)
Bye!
\Hung