Mail filters permit you to sort incoming mail or deny mail access to your account. Below is an outline on how to setup a simple filter. Be aware it is easy to misconfigure a filter and lose all your mail, and should only be attempted by advanced users.
- SSH to ArtSci and login (click here use your browser).
- At the Unix prompt, type: pico .forward then press the "Enter" key
someuser@ascc students/s/someuser> pico .forward
- Add the line (with quotes):
"| /pkg/elm/bin/filter"
- Save the file using the "WriteOut" command. (pressing "Ctrl" and "0" at the same time)
- At the prompt, type: chmod a+r .forward then press the "Enter" key
- Type: mkdir .filter then press the "Enter" key
- Type: chmod a+rx .filter then press the "Enter" key
- Type: cd .filter then press the "Enter" key
- Type: pico filter-rules then press the "Enter" key
- Add the filter you wish. Example: to ignore all mail you receive from somebody @ there.com, type:
if ( from = "somebody@there.com" ) then delete
always leave
- Save the file using the "WriteOut" command. (pressing "Ctrl" and "0" at the same time).