• English
  • Japanese

IMAP4 (WebMail) Service

About starting IMAP4 service

Since 25th September 2004, IMAP4 server operation has started officially.


IMAP4 places message folder on the server, that messages will not be deleted even if hardware of PC is broken. There is an advantage that you can read the same messages from school and home (from different PC). If your settings is to keep messages on the server with POP3, try using IMAP4.

  • IMAP4 server name:imap.sfc.keio.ac.jp
  • If you want to use this server, you need to register a IMAP4 password. (refer to notification)
  • In case you forget or want to change your password, please reset your password.
  • If you want to send your mail from outside the campus, please use SMTP-AUTH*2 instead of POP before SMTP*1 (refer to notification)
  • If you read e-mails via POP3 now, you have to set mail environment to use IMAP4 on mailsetup.
    - Login => Mail Forwarding => Click a [try IMAP] button.
  • IMAP4 manages messages completely different from pop.sfc.keio.ac.jp(POP3).
  • IMAP4 server will be used by forwarding mails to imap.sfc.keio.ac.jp.
  • Messages will be saved on ~/Maildir in IMAP4 server. (saved on the home directory)


  1. If you want to use IMAP4, you have to use mail software which has IMAP4 function. Also if you want to send mails from outside of the campus, you have to use mail software which has SMTP-AUTH (SMTP authentication) function.
  2. About the connecting IMAP4 server
    The connection to IMAP4 and SMTP are both restricted as shown below:
    in use SSL in non-use SSL
    LOGIN Authentication CRAM-MD5 Authentication LOGIN Authentication CRAM-MD5 Authentication
  3. Unlike POP3, e-mails are directly saved at the personal home directory. Therefore you will not be able to receive e-mails if with the excess of quota or any other reasons you are unable to write home directory.
  4. When .procmailrc is placed at home directory (~/.procmailrc), IMAP server will automatically be activate procmail. If you are already using procmail at mail.sfc.keio.ac.jp, you need to re-name .procmailrc, and put forward. At //+mail.sfc.keio.ac.jp, ~/.forward is ignored, but IMAP server will process. Please re-name any ~/.forward file.

How to use IMAP4

  1. Login mail.sfc.keio.ac.jp with SSH etc.
  2. Make sure you are not over the quota.
    % quota -v
    If you are exceeding the quota, you cannot receive emails. Please give enough allowance.
  3. Configure mail environment for IMAP service: https://itcsecure.sfc.keio.ac.jp/accounts/mail/ IMAP4 Server: imap.sfc.keio.ac.jp
    If specified: use SSL/ port 993
     or use CRAM-MD5/ port 143
    SMTP Server: smtp.sfc.keio.ac.jp
     If you want to send emails from outside of the university, you need to configure to use SMTP-AUTH.
    User name and password for SMTP-AUTH is the same for IMAP4.
    ※~/Maildir is created when the first email is received. If you try to read a mail when no email is received, error message will appear. Please send yourself email and try again.

About WebMail

If you use IMAP4, WebMail is also available. Access the following URL, and enter your login name and password (IMAP/SMTP-AUTH password). You can read your mails on web browser. Please try.

※Important Note for the use of WebMail
The communication pathway is encrypted with SSL, yet whether the terminal you use is trustworthy or not is another issue. You need to be well aware the risks you are taking when you use the terminal from internet cafe and such.
With WebMail, you can attach files up to 2 megabytes (MB) in size.

Server specification

Model name Virtual Machine * 12 units
Memory 8192MB
OS Ubuntu 14.04 LTS
Main Installed Software Dovecot 2.2.9
SMTP: Exim 4.82

History of changes in server specifications

Aug 30, 2016 replaced Virtual Machines * 12 units.
Ubuntu 12.04 LTS -> Ubuntu 14.04 LTS
Courier-IMAP 4.13.0 -> Dovecot 2.2.9
Exim 4.76-3ubuntu3.2 -> Exim 4.82
Nov. 25, 2010 SquirrelMail 1.4.18 -> 1.4.20 Update
May 25, 2009 DELL PowerEdge1850 * 5 units came off lease and
were replaced with IBM BladeCenter HS12 * 8 units.
Courier-IMAP 3.0.8 -> 4.4.0 Update
Exim 4.50 -> 4.69 Update
SquirrelMail 1.4.9a -> 1.4.18 Update
May 1, 2007 DELL PowerEdge1650 * 4 units came off lease and were stopped.
Apr. 20, 2007 SquirrelMail 1.4.8 -> 1.4.9a Update
Jan. 18, 2007 SquirrelMail Addressbook Import-Export plugin was added.
Dec. 6, 2006 DELL PowerEdge1850 * 5 units were added.
Dec. 1, 2006 SpamAssassin was terminated.
Nov. 4, 2006 SquirrelMail 1.4.4 -> 1.4.8 Update
Mar. 31, 2005 Exim 4.44 -> 4.50 Update
Mar. 3, 2005 Exim 4.34 -> 4.44 Update
Feb. 7, 2005 SpamAssassin 2.64 -> 3.0.2 Update
Feb. 1, 2005 SquirrelMail 1.4.3a -> 1.4.4 Update
Oct. 6, 2004 Courier-IMAP 3.0.5 -> 3.0.8 Update
Aug. 26, 2004 SpamAssassin 2.63 -> 2.64 Update
Aug. 3, 2004 Exim 4.32 -> 4.34 Update
Courier-IMAP 3.0.3 -> 3.0.5 Update
Jul. 20, 2004 WebMail function was added.
May 10, 2004 Exim 4.31 -> 4.32 Security Update
May 7, 2004 IMAP Server (*trial run)
*1 the mechanism that cancel the restriction of sending mails by receiving mails before sending
*2 as well as incoming messages, outgoing messages will also be authenticated. However, if you want to use SMTP-AUTH, you have to use mail software which has SMTP-AUTH function

Last-Modified: July 5, 2017

The content ends at this position.