Introduction to Sending and Receiving Electronic Mail
Table of Contents
- How to Send/Receive Mail
- How to Send/Receive Mail Using Outlook, or Other IMAP/SMTP Compatable Software
- Forwarding Email Messages
- Mailing A File
- Pine Aliasing
- Appending a Signature
- SMTPIN Spam Filter
- Removing SPAM from your inbox
By using email, you are able to send messages or entire files at your convenience to anyone, anywhere on the internet. The system automatically stores your mail until you are ready to read it. The mail clients available to you are Pine/Alpine, mailx, and Procmail. This guide is intended to introduce you to the basic uses of these programs. To learn about Procmail, read Procmail HowTo. Pay attention to procmail and maildir.
How to Send/Receive Mail
Pine/Alpine, and mailx/nail can be used to send and receive email and should be used from your home machine (ex. quake, shell, diablo). Procmail can be configured to sort incoming mail and do various processing tasks. gkrellm and xbiff can be used to monitor new emails. gkrellm and xbiff must be used in an Xwindows environment (On a linux machine or through Xming on a Windows machine). From the command line just type:
[program name] [-optional command line argument]
[program name] -h for a list of command-line options.
To read email (a message tells you that you have received mail when you login), typing “pine”, “alpine”, or “mailx” will enter you into interactive, menu-driven mailers. After reading your mail, you can save it, reply, delete it, and a variety of other functions. See the man page for full details. pine is menu-driven and fairly simple but if problems arise, consult the man pages: man pine, procmail. mailx is less user friendly than pine and may be slower to load your mailbox if you have large number of messages in your INBOX.
The third way to read email is to use webmail. (Or open http://webmail2.cs.fsu.edu in your favorite web browser).
How to Send/Receive Mail Using Outlook, or Other IMAP/SMTP Compatible Software
Your Computer Science e-mail may be accessed using any IMAP/SMTP compatible software, such as Microsoft Outlook, by entering in the following information into your software program:
IMAP server: mail2.cs.fsu.edu
SMTP server: mail2.cs.fsu.edu
Input your CS credential for authentication. Make sure you use STARTTLS or SSL options.
Forwarding Email Messages
To have your mail automatically forwarded to another mailbox you must modify your .forward file. At the command line when in your home directory type pico .forward and add one line per address and save the file. If you would still like your mail to be sent to your CS account, include a line with a backslash followed by your CS user name, e.g.
All future incoming mail should be forwarded before it is placed in your mail directory.
Mailing a file to another person
The procedure for sending a file to another person can be done from the command-line. The format for sending a file is:
% pine "address" < "filename" (return) EXAMPLE: % pine firstname.lastname@example.org < set.list (return)
This command tells the system that you want to send mail to email@example.com and the mail is to contain a file entitled set.list. The redirection sign < tells the system that a file is to be sent. To add a message to a file see the section on vi.
Appending a Signature
In pine, you can create a custom signature by selecting Setup from the main menu, and by typing the signature command, s, from the setup menu. You will then be given a screen to type in your signature and choose ^X to save and exit. Your signature will then be automatically appended to all emails.
SMTPIN Spam Filter
MailScanner sits between two Sendmail processes; the first Sendmail receives mail, and does some checking of senders and recipients. If it is satisfied with both the sender and the recipients, it will enqueue the message for MailScanner. MailScanner will make a number of checks, including running SpamAssassin. If the message is accepted it is passed to an outgoing Sendmail process to go to mail.cs.fsu.edu for delivery.
If the message is not accepted by MailScanner, it quarantines the message. You can check the status of all of your email processed by MailScanner at https://smtpin.cs.fsu.edu, and you can modify your own preferences for blacklists, whitelists, and spam ratings that you find acceptable.
After filtering, e-mail may be tagged in the Subject line with the following:
|[Phishing]||Message contains a potential phishing attack|
|[SPAM]||Message contains potential spam message|
Removing SPAM from your inbox
E-mail that receives a SPAM score of 10.0 or above will not be delivered to your inbox. Instead, it is quarantined by SMTPIN. E-mail scored 5 or above but less than 10 will be tagged by adding ‘[SPAM]’ to the message’s “Subject” line and delivered to your inbox. You can divert these messages to a separate folder using your own local filtering tools.
The CS e-mail system uses
procmail to deliver messages to a user’s inbox. You can create your own procmail recipes to re-direct your e-mail based on any number of criteria. If you want to set up additional folders, you may want to create a new ‘Mail’ directory in your Unix home directory. Then create a file called
.procmailrc in your home directory with the following contents:
MAILDIR=$HOME/Mail :0: * ^SUBJECT:.*\[(SPAM|Phishing) spam
This simple recipe will re-direct any incoming message tagged as ‘[SPAM]’ or ‘[Phishing]’ to the mailbox ‘spam’ in the directory ‘$HOME/Mail’ (where $HOME expands to your own Unix home directory).
.procmailrc file should be world-readable so that the e-mail system can access it. (E.g.,
chmod 644 .procmailrc) Search the web for additional information on
procmail and its many uses.