next up previous
Next: Reading and sending Unix Up: Introduction to the Computer Previous: Command shells


Electronic Mail

Your account on the Departmental server includes an electronic mail account. If you wish, you can make this your primary e-mail account. Details about how to use it are given in the next section. However, many people prefer to continue using their personal e-mail account with a commercial provider. If so, you should set up forwarding of your Unix mail to that account.

Spam filtering: Your incoming Unix email is checked for spam. Mail messages that are identified as possible spam are diverted to a file (Caughtspam) in your home directory. Since spam filtering is not an exact science, there's always the possiblity of false negatives or false positives; in other words, spam may be misidentified as legitimate email or vice versa. False negatives are easy to deal with; simply delete the offending message. To deal with false positives, you should check the Subject field of each suspicious message; if they all turn out to be spam, you can safely delete the file containing same.

Here's how you can check for false positives:

  1. Run the command mvspam from a shell window. This safely moves the suspected spam file to a holding directory (~/.holdspam/).
  2. Run the checkspam command. If you have an inordinately large amount of spam, you should pipe the results through the more command, i.e., use the mvspam | more command sequence.
  3. If there are no false positives, run the rmspam command, which will safely delete the suspected spam. It will ask you whether you're sure you really want to delete your spam file; in other words, it gives you a chance to change your mind.

If there are false positives, there are a few things you can do to read the associated email message:

  1. If you are comfortable reading email in emacs, you can run emacs RMAIL on the file, by issuing the command C-u M-x rmail; when prompted for a file name, enter ~/.holdspam/Caughtspam as your response.
  2. If you would rather not deal with emacs RMAIL, you can use the more command to look at the ~/.holdspam/Caughtspam file. You can also examine the file with a text editor that you like. In either case, you would simply scroll down (or do a search) until you find the subject header of interest.
  3. If the spam-filtering software consistently identifies one or more addresses as spam sources, you can create a file ~/.whitelist containing those addresses; the spam-filtering software will then assume that any mail coming from said addresses is legitimate.
Of course, once you have done this, you should use rmspam to get rid of the spam.

Forwarding your Unix mail to another address: This is done by creating a file, named .forward (notice the initial dot), in your home directory. This file should contain a single line, consisting of your preferred e-mail address, e.g. KewlDewd@hotmail.com or whatever your preferred e-mail address is.



Subsections
next up previous
Next: Reading and sending Unix Up: Introduction to the Computer Previous: Command shells
Robert Moniot 2007-09-12