I already have an FIU email account. Why do I need a Knight Foundation School of Computing and Information Sciences email account?
All official correspondence from the Knight Foundation School of Computing and Information Sciences will be sent to your Knight Foundation School of Computing and Information Sciences email account.
How do I check my Knight Foundation School of Computing and Information Sciences email?
Faculy can visit https://mail.cs.fiu.edu to check their mail on a web browser, however, we recommend you setup your mail account on a mail client such as Mozilla Thunderbird.
Mail server configuration
Incoming mail server
Connection Security: SSL
Port: 993
Outgoing mail server
Connection Security: STARTTLS
Port: 587
How can I forward mail to my @cs.fiu.edu account somewhere else?
You can use procmail to do this (see below) but there is a simple way. Create a file in your home directory (U drive) called .forward (it starts with a dot, so it a hidden file) in that file you place the email address(s) you want your email to forward to.
If you are remote, you can login to wolf.cs.fiu.edu to do this.
I do not know or have forgotten my password
Send an email to request@cis.fiu.edu and the staff can assist you with resetting your password.
Setting up Procmail on your FIU-SCIS Account
Introduction
Procmail is a tool that is designed to filter your mail. In other words, it permits you to send your Email to different locations depending on its content. This is very handy because you can use it to do things like:
- Split mail from different places into different folders
- Delete mail from undesireable sources
- Forward certain email to a script to process it further
- Forward certain email to another address so you can read it elsewhere
- and much more
Setting up Procmail
In the past, you used to have to use a “.forward” file to use procmail. You no longer have to do this, since *ALL* email is delivered using procmail. The only file you have to worry about is your .procmailrc file, which is located in your UNIX home directory. The first step is to create a mail directory inside your home directory, if you don’t already have one. Just type, in UNIX:
mkdir mail
chmod 700 mail
The chmod command keeps other people from poking around in your mail directory, but allows you to access it. The second step is to actually create the file. For instance, in UNIX, type:
(or emacs, or vi, or whatever editor you want; pico is easiest for beginners, though) Then, paste in the following. This is the procmail header, which defines various operating parameters.
PATH=$HOME/bin:/usr/bin:/usr/ucb:/bin:/usr/local/bin:.
MAILDIR=$HOME/mail # Make sure it exists
DEFAULT=/var/mail/$LOGNAME
VERBOSE=off
LOCKFILE=/var/mail/.proclock.$LOGNAME
LOGFILE=$MAILDIR/.procmail.log
# Recipes go here
#
# .procmailrc ends here
Procmail automatically replaces “$LOGNAME” with your username and “$HOME” with your home directory. The LOCKFILE is used by procmail to keep two different procmail processes from accessing your mailbox at the same time, causing corruption. The LOGFILE contains a log of procmail transactions; this is handy if something is not working and you want to find out why. DEFAULT specifies the destination of all Email that does not match any recipies. Since there are no recipes yet, all your incoming email will go to DEFAULT, which is your mail spool.
Creating Recipes
A recipe is a rule that tells procmail what to do with a particular Email. Recipes must be placed after the header in your .procmailrc file, IE, after the “Recipes go here” comment in the above example. Here are some examples of useful recipes. Let’s say we have a jerk with the Email address “jerk@microsoft.com” who is sending you lots of annoying Email, and you want to stop seeing the messages. This recipe will do that:
:1
^From.*jerk\@microsoft\.com.*
/dev/null
# End procmail recipe
Explanation:
[First Line] :1
There is always a : on the first line of every recipe. The number (in this case 1) after the : specifies how many rules follow for this recipe. All the rules must match for the recipe to take the message.
[Second Line] ^From.*jerk\@microsoft\.com.*
This line will match any Email that contains the above text. Since the From header is integral to most Emails, and contains the sender’s Email address, that line will match messages from “jerk@microsoft.com”. The line is a regular expression, so standard UNIX regular expression syntax applies.
[Third Line] /dev/null
The last line in a recipe tells procmail what file to send the message to. It is called the “action line”. In this case, we’re sending the message to /dev/null, which is the “bit bucket”, all data sent there is deleted. Remember that jerk@microsoft.com could always change his email address, or find another ISP. This won’t necessarily stop someone from harassing you. It is best to not brag about the filter; if the person doesn’t know his email is being deleted, he will likely continue sending the messages and wonder why you aren’t replying!
Example: Carbon Copies
Let’s say you want to do something with a message, like file it away, but still want the message to continue being processed by the remaining recipes. To do this, add a “c” after the number in the : line. For instance:
:1 c
^From.*pelina\@cs\.fiu\.edu.*
/homes/$LOGNAME/mail/pelina
# End procmail recipe
The above recipe will save a CARBON COPY of all messages from pelina@cis.fiu.edu to the “pelina” mail spool file, and the message will still be delivered to your INBOX, provided there are no more recipes after this one that match that message and do something else with it.
Example: Forwarding
You can also use procmail to forward your mail. Say you get a lot of personal email at your school address from friend@yahoo.com, and you don’t want it distracting you at work. You can quietly forward that to your personal email (say it’s guru@foo.org) with a rule like this:
:1
^From.*friend\@yahoo\.com.*
! guru@foo.org
# End procmail recipe
The “!” in the action line tells procmail to send the message to that address.
Example: Filing certain messages into folders
Here is another example of a procmail recipe; this one will take all messages from pelina@cis.fiu.edu and place them in the mail folder “pelina”.
:1
^From.*pelina\@cs\.fiu\.edu.*
/homes/$LOGNAME/mail/pelina
# End procmail recipe
Since $LOGNAME is replaced by your username, messages from pelina@cis.fiu.edu will be stored in the mail spool file “/homes/username/mail/pelina”, which you can access from pine and/or imap.
Going on Vacation? Here is how to setup your vacation mailer.
If you will be away from the office for a while, you can set up vacation mode. This means that anyone who emails you will receive a message telling them that you are on vacation and will read your mail when you get back.
Setting up vacation mode requires minor UNIX usage; if you are not familiar with UNIX, we would be happy to set this up for you; simply E-mail us at request@cs.fiu.edu. There are two ways to set up vacation mode. The simplest way is to just use the “vacation” command. However, if you have a complex .procmailrc file (and you will know if you do), you may want to use the .procmailrc method.
vacation command
SSH into wolf.cs.fiu.edu and run command:
You will be presented with a text editor containing a default vacation message. Edit it to your tastes, then save the message. That’s it! Vacation mode is now set up. Feel free to test it by sending an E-mail to yourself; you should get an immediate response with your vacation message.
When you return, to turn off vacation mode, simply ssh into UNIX and type:
This will remove the vacation script from your .forward file and return you to normal mail processing.
The .procmailrc method
If you have a .procmailrc file to sort your E-mail, you will want to use this method. It will work the same way for folks that E-mail you, but your mail sorting will be preserved. To set this up, simply add this section before the first rule in your .procmailrc file:
# vacation handler
#
:0 Whc:.vacation.lock
*!^FROM_DAEMON
*!^X-loopity-loop: yourusername@cs.fiu.edu
*^TOyourusername.*
| formail -rD 8192 $HOME/.vacation.cache
:0 ehc
| ( formail -rA”Precedence: Junk” \
-A”X-loopity-loop: yourusername@cs.fiu.edu”;\
cat $HOME/vacation-message.txt ) | /usr/lib/sendmail -oi -t
Replace all instances of ‘yourusername’ with your actual SCS username. Then, edit the file vacation-message.txt in your home directory, and place your vacation message in it. That’s all there is to it! Vacation mode is now set up. When you return from vacation, simply edit your .procmailrc file and remove or comment out the above section, and delete the file ~/.vacation.cache and you will return to normal mail processing.