Email

Email aliases, how to figure out who are in an alias? e.g. who are in students@stat.ubc.ca?

Go to https://portal.stat.ubc.ca/stat-mailaliases which will list available mail aliases and their membership in your web browser.

If the STAT portal is unavailable:

Manual method

Login to our Unix servers (login.stat.ubc.ca)
$ ssh your_email@stat.ubc.ca
         Type this:
 $ less /usr/local/data/stat-mailaliases/aliases
      
and browse through to get necessary information. It will contain lines like these:

help:tha,thi,binh.dang
grads:grad
students:grad

Which explain that "help" includes "thi, tha and binh.dang" are in the help group. There is no mysterious difference between "grad", "grads" and "students" in our department.

Also, there will be lines like the following:

grad: :include:/etc/stat-mailaliases/grad.list

which instructs us look at the given file to get the list of people included into "grad" alias. To look at this list just pull this file on your screen by

 less /usr/local/data/stat-mailaliases/grad.list

You will see a simple one-name-by-line list of all grad students' emails.

FAQ Category

How do I setup automatic email forwarding or vacation messages?

Easy way:

Log in to https://portal.stat.ubc.ca then:

Go to My Stuff -> Email Forwarding/Vacation Message or click here to get there.

Manual Setup Forwarding Email:

 Log into the StatNet server using SSH.
 $ ssh your_email@login.stat.ubc.ca

Check if there is a file named ".forward" in your home directory.
$ ls -l .forward

If there is no such file, then use any text editor (e.g. vi, emacs) to create the ".forward" file in your home directory.

# If you want only forwarding, and don't want a local copy of the message
At your home directory, use any text editor to create the ".forward" file..
$ emacs .forward or vi .forward

   your_other@email.address

OR simply run this command
 $ echo 'your_other@email.address' > ~/.forward
 # If you want forwarding, and also keep a local copy of StatNet message.  NOT recommended,
 $ echo '\user_name,your_other@email.address' >~/.forward
    NOTE:   the '\' character is important: it disables any aliasing and prevent Email loops.

If there already exists the ".forward" file in your home directory, then it means you already setup e-mail forwarding. You can use any text editor (e.g. vi, emacs) to change the destination e-mail address.

For example, if the destination address in the ".forward" file is abc@gmail.com, and you want to change
the destination address to abcyahoo@yahoo.com. Then you can use any text editor to open the ".forward" file.
Then replace
   abc@gmail.com

with
   abcyahoo@yahoo.com

To deactivate, remove the above file:
$ rm ~/.forward

FAQ Category

What are the risks of using an Email auto-reply?

Email auto-replies are useful in some circumstances, but the use of this facility is not without risk. If you install an auto-reply to your Email address, please be aware of the following outcomes which you may not have considered.

The main problem associated with auto-reply systems are that they indiscriminately reply to the purported sender. Email is notoriously prone to fraud, and the sender information is frequently forged (or spoofed) by spammers, phishers, Email worms and viruses, and other ne're-do-wells. The result is that your messages could be sent to

  • innocent third parties who have had their Email addresses forged;
  • Email addresses that collect replies to phishing targets;
  • spammers who may collect replies to confirm a working Email address;
  • spamtrap addresses owned by blacklist operators -- this is a malicious attempt by an attacker to try and put a mail system onto a public blacklist to cause mail delivery problems.
  • a mail domain that is a target of a denial-of service: a malicious party could generate Emails from

Such unintended replies are sometimes called "outscatter" or "backscatter"

http://en.wikipedia.org/wiki/Outscatter

Furthermore, even legitimate auto-replies may cause problems, such as

  • mail loops: under rare circumstances, two auto-reply systems could lock themselves into a mail loop replying to each other's Email and causing one, or the other's, Email INBOX to fill up.
  • mailing list: your reply notice may be sent to a mailing list yuo are subscribed to, and hundreds or thousands of other people who don't care may see your auto-replies.

There are some systems in place, both on our Email system and other mail system, that mitigate these risks:

  • an efficient spam/virus filter that drops Email before they can be responded to;
  • a sender tracking system that limits auto-replies to a particular Email address to (default) once per day.
  • mail loop detectors;
  • most blacklist operators are aware of unintentional auto-replies and will consider that before adding to a blacklist;

However, you can further reduce the risk of unintended consequences by

  • realistically assessing the nature of Emails you receive and evaluating whether it is of enough importance to necessitate an immediate auto-reply (as opposed to dealing with the Email when you can get to it).
  • Using some other mechanism such as Email forwarding or web notice to disseminate your intended notice.
  • narrowing the scope of when auto-replies are invoked, such as only during the times when it would be useful, or only to certain senders. Contact the IT staff on how you can achieve this.
  • recognizing special circumstances that would make an auto-reply system risky (target of much spam or many mailing lists) and weighing those factors against the benefits of installing an auto-reply.
FAQ Category

How to Forward FASmail to @stat.ubc.ca mail?

1. Ask UBC to create the alias Firstname.Lastname@ubc.ca for your FASmail account, when done log in to https://mail.ubc.ca/. 

2. Create an Inbox rule (go to the little gear wheel on the top right of the web interface www.mail.ubc.ca) to have FASemail forwarded to @stat.ubc.ca 

3. Split the rule into two: one to forward emails only, and another one to delete the forwarded emails, and make sure the "delete" rule is set up after the forward one.

4. If you don't do 3 above, you will have your "alias" email forwarded, but email to your CWL@mail.ubc.ca will disappear in thin air

5. With 3, all my FASmail (those sent to CWL@mail.ubc.ca and also those sent to Firstname.Lastname@ubc.ca) get forwarded to @stat.ubc.ca

Here is the UBC IT Howto: https://web.it.ubc.ca/forms/fasmail/

FAQ Category

How do I turn off automatic email forwarding or vacation messages?

Easy way:

Log in to https://portal.stat.ubc.ca then:

Go to My Stuff -> Email Forwarding/Vacation Message or click here to get there.

Manual way:

Log in to the StatNet server with SSH:

$ ssh username@login.stat.ubc.ca

To turn off the vacation feature, just re-run the "vacation" program.

  1. Type the Unix command:

      vacation
    
  2. The Unix will give the following information:

      This program can be used to answer your mail automatically
      when you go away on vacation.
      You have a message file in /home/yourusername/.vacation.msg.
      Would you like to see it?
    
  3. Type "n" and the Unix will give the following information:

      Would you like to edit it?
    
  4. Type "n" and the Unix will give the following information:

    You have a .forward file in your home directory containing:
        yourusername, "|/usr/bin/vacation yourusername"
    Would you like to remove it and disable the vacation feature?
    
  5. Type "y" to disable the vacation feature. The Unix will show the following information:

    Back to normal reception of mail.
    
FAQ Category