Detailed Setup for Specific E-Mail Clients

Pine

  • In the text below, wherever there is: 'pine' you should read: 'pine or alpine'.
  • If you execute pine on a machine administered by the departmental system administrators, you need not to configure pine, except for IMAP (see below)
  • If you execute pine on a machine not administered by the departmental system administrators, you might need to fill in your correct E-Mail address (see above).
  • You can configure pine by starting it, pressing S (for Setup) and then C (for Config). You will be presented a list of variables you can assign a value to.
  • If your mailbox is on the machine you execute pine on, you need not to, and probably cannot, use IMAP to read your E-Mail. Pine can be configured to read E-Mail on the machine it is executed on, directly. Just make sure the variable inbox-path does not have a value in the pine configuration. Pine will find your mailbox at the default, system-specific location.
  • If your mailbox is on one of the departmental POP/IMAP servers, you must use the IMAP protocol to read your mail using pine. Pine does not support the POP protocol. IMAP allows you to read E-Mail from several different machines by leaving your mailbox on the server. You need to fill in the value {imap-server-name.cs.kuleuven.be} for the inbox-path variable in the pine configuration (including the curly braces).
  • Pine first tries to set up a secure connection (using TLS) and when that does not succeed, reverts to clear text connection.
  • Depending on how you refer to the imap server, you might need to accept the certificate that is used to establish the secure connection ... if you refer to it with it's real name, the certificate is accepted without interaction; if you refer to it with one of it's aliases (e.g. mail3.cs.kuleuven.be), you might need to explicitly accept the certificate because pine seems not to check the alternate host names that are present in the certificate(s).
  • If this is important to you, consult with your systems group representative to find out the best way to configure your pine (e.g. what hostname to use for your inbox-path variable) ... we strongly advise against the use of the SSL/novalidate-cert option as is suggested in some pine manuals.
  • You might want to configure the following variables (the values are just examples; tune to your specific needs and situation) :
    • nntp-server=news.belnet.be (see more info about news here)
    • folder-collections=LocalMail {imap.cs.kuleuven.be}ImapMail/[]
    LocalMail is a directory containing your E-Mail folders on the local machine (thus the machine you execute pine on), whereas ImapMail is a directory containing your E-Mail folders on the remote (imap-server) machine.
  • If you mess up your pine configuration too much, just delete all .pine* files in your home directory and start all over again.
  • Pine either delivers through a local MTA or directly via SMTP. In the former case, you should configure the local MTA to deliver by SMTP to an SSH tunnel to mail.cs.kuleuven.be. In the latter case, you should configure pine to connect via such an SSH tunnel

Mutt

Mutt only needs to be configured where to find your Incoming E-Mail. You can read E-Mail from a local mailbox (i.e. on the machine you execute mutt on), or from a remote mailbox using the POP protocol or the IMAP protocol (e.g. imaps://mail3.cs.kuleuven.be/INBOX).

Mutt cannot use SMTP directly (to another SMTP machine) to send E-Mail; you can only send E-Mail via a local sendmail program. If you use mutt outside cs.kuleuven.be you can and should setup your local mail transfer agent to forward mail through an SSH tunnel to mail.cs.kuleuven.be.

Example: user janie wants to set up mutt to read and send mail on/via mail3.cs.kuleuven.be and therefore adds to ~/.muttrc ::

set spoolfile="imaps://janie@mail3.cs.kuleuven.be/INBOX"
set folder="imaps://janie@mail3.cs.kuleuven.be"
The following settings are almost certainly also worthwhile considering, but check and adapt them to your needs:
set move=no
set record="=Sent"
set postponed="=Drafts"
set trash="=Trash"
When using mutt on departmental systems, the settings below are not needed, but when using mutt on other systems (at home, ...) you must set them to be able to send mail:
set smtp_authenticators=login
set smtp_url="smtps://janie@mail3.cs.kuleuven.be"
Previous commands give an initial, very basic mutt configuration. You can find additional possibilities in the example configuration:
$ zless /usr/share/doc/mutt/examples/Muttrc.gz

When you start mutt it may warn you about the certificates used on mail3.cs.kuleuven.be. You should accept this certificate and give your password to access your mailbox and mail folders.  (We  do not recommend to store your password in a file.).

More information about using mutt can be found on http://www.mutt.org/

Other Unix tools (mailx, Mail)

They always use mail on the local machine and will not need further setup to start. Consult the man page for specific documentation about them. (If you use mailx or Mail outside cs.kuleuven.be you should setup your local mail transfer agent to forward mail through an SSH tunnel to mail.cs.kuleuven.be.)

Elm

We advise against using elm because most versions of elm are out-dated and little effort is done to make it up to date e.g. concerning MIME messages.

Moreover Elm also does not support the POP nor IMAP protocols.

Outlook (Express)

We advise against using Outlook and Outlook Express as E-Mail client (especially, but not only on Windows) for 2 reasons :
  • unless configured very rigorously, they are quite vulnerable to virusses
  • E-Mail messages and folders are stored in a proprietary, binary format. You cannot access nor, when something goes wrong, recover them using other tools.

Eudora

  • Fill in your correct E-Mail address (see above).
  • You can either use the POP or IMAP protocol to read your mail,
  • Send outgoing mail by SMTP through an SSH tunnel to mail.cs.kuleuven.be.

Emacs.

With emacs you can read your E-Mail via POP and/or IMAP. In the file ~/.emacs you add one of :
;; rmail with pop
(setenv "MAILHOST" "pop.cs.kuleuven.be")
(setq rmail-primary-inbox-list '("po:YOUR_LOGIN_GOES_HERE"))
(setq rmail-pop-password-required t)
;; vm with pop
(setq vm-spool-files '("pop.cs.kuleuven.be:110:pass:YOUR_LOGIN_GOES_HERE:*"))
;; vm with imap
;; Currently only supports the Inbox as IMAP folder.
;; Beware: vm by default retrieves the messages to the local machine
;; this might not be what you expect of imap ;-)
(setq vm-spool-files '("imap:imap.cs.kuleuven.be:143:inbox:login:YOUR_LOGIN_GOES_HERE:*"))
I do not know how emacs delivers mail, please mail me a solution if/how to setup for SMTP through SSH-tunnel works.

Please read the appropriate documentation before you try this !

You might also want to have a look at the Gnus packages for (x)emacs.