From CsWiki
Jump to: navigation, search

All students in HUJI have mail accounts at where all official HUJI announcements (including library announcements) are sent.

By default, all mail sent to will be sent to the CSE user's account (with no copy stored locally at CSE).

Users who have their mail automatically forwarded to will not have spam mail saved to their spam folder, but spam mail will be forwarded with the string [CSESPAM] prepended to the Subject header of the mail message. This string can be used to filter spam in your account as illustrated in the section Filtering CSE Spam.

CSE users who have accounts -- e.g. CSE user joeyl05 with HujiMail account -- will also receive mail addressed to <> or in our example This mail will be treated in the same manner as if it had been addressed to <> -- in this case:

Users with existing CSE mail folders should note that only future mail will be forwarded to their accounts. The contents of their old folders will remain at CSE. While we don't support transferring of folders to accounts, users who want to do this, at their own risk, can try using public domain software at

Please note that whenever the automatic forwarding is overridden either by ~/.forward or ~/.nogmail, mail sent directly to (such as official HUJI messages) will still arrive there unless the user sets up a forwarding directive in his account to forward all his mail to his CSE address (

The management and configuration of the mail domain is under the auspices of Hebrew University's Computer Centre and all questions or complaints regarding receiving, sending and reading mail there should be directed to the support page.

CS mail accounts

Sending mail

SMTP Server Settings

You should set up the outgoing (SMTP) mail server in your mail program as following:

Connection Outgoing mail server username password
Inside CS network -- blank -- -- blank --
Inside HUJI dialup (modem, ADSL, ISDN) -- blank -- -- blank --
Outside HUJI system your CS login -- blank --*
* From within CS or HUJI networks, no password is needed. From outside, the first time you try to send e-mail, you will be prompted for your OTP password. You will then be able to continue sending e-mail during the current session for twelve hours, at which point, you will be again prompted for a new OTP password.

Temporary Failure Messages

If you are outside the HUJI system and the first time you try to send mail you get the response:

451 Temporary failure, please try again later.

You can either download and use the OTPKnocker application or authenticate using telnet.

OTPKnocker Authentication

1. Copy the knocker to your Windows Desktop from

2. Read the instructions in

3. As long as the OTPKnocker application is alive, you will not need further authentication to send e-mail.

Many thanks Tal Maoz for writing and debugging this application.

Telnet Authentication

Follow these instructions:

1. Open a DOS (cmd) window on your PC.

2. Do:

       telnet 5

3. Enter (no prompt):

login OTP


najenson 475661

4. You should get a response: Ok

5. If you get "Authentication failure", you mistyped your OTP, go back to #2.

6. Once you get "Ok" -- keep the connection open (i.e. iconify the window, do not exit).

As long as the connection is open, you will be able to send e-mail via without being prompted for further authentication.

Reading mail

Using IMAP

Set your mail program to use as an IMAP server with your username as your CSE login. The account password is your regular, fixed password inside CSE, or the OTP password if you're connecting from outside. The OTP password is valid for twelve hours, after which you will be prompted for a new OTP password.

Those who do not wish to have OTP protection outside CSE for their IMAP connection can put a file .imap-nootp in their home directory in the following manner:

      touch ~/.imap-nootp

This will make IMAP authenticate using the user's regular, fixed CSE password. Please note that disabling OTP password protection for IMAP in this manner opens one up to the dangers of password-sniffing over the network or browsers in Internet Cafes that have the password of the previous users stored in them.

There is a detailed explanation for how to configure thunderbird for using IMAP.

Using Movemail

From inside CS, you can use movemail which will read the mail spool file directly (not supported by all mail clients). The mail spool is /cs/mail/login. This is the default for thunderbird and pine.

Spam filtering

Incoming mail is filtered for spam. For more information see the Spam Mail Filter page.

Forwarding mail

You can forward your incoming mail in various ways by updating your ~/.forward file.

Mail vacation messages

You can auto-reply to incoming mail, for example when going on vacation.

Alumni account

Gradudates of the School of Computer Science & Engineering are entitled to an alumni account for life.

Mail.Huji.Ac.Il accounts

Opening a account

All undergraduate students have a account when they start their studies so there is no need to open an account.

Graduate students and senior staff who do not yet have a account can open an account at the following link:

Disabling auto forwarding

By default, all mail sent to will be sent to the CSE user's account (with no copy stored locally at CSE).

However, if a CSE user has a ~/.forward file in his home directory, the directives in that file will be followed and no automatic forwarding to will take place.

Similarly, if a CSE does not want his CSE mail to be forwarded to his account, he can create a ~/.nogmail file in his home directory. Such a file can be created from any Unix command line by doing:

   touch ~/.nogmail

Filtering CSE spam

All spam caught at CSE will be autoforwarded to your account with the string [CSESPAM] prepended to the Subject line -- this will allow the use of the filter and label tools available at in the following manner:

   Choose Settings->Filters from your account main page.

This will bring you to the filter definition page: Cspam1.jpg

Click on Create new filter and fill in [CSESPAM] in the Subject field of the form: Cspam2.jpg

Click on Next Step and tick off the boxes marked Skip the Inbox and Apply the label: Cspam3.jpg

In the Choose label menu, choose New label and give it the value CSESPAM: Cspam4.jpg

Click on OK to give: Cspam5.jpg

Click on Create Filter and you are all done: Cspam6.jpg

When you want to review your spam mail, go to the Label section of your main page and click on CSESPAM: Cspam7.jpg