Setting up IMAP with KMail in Linux to get e-mail from QUT

These instructions are for QUT students. I do not know if they will work for QUT staff. Use at your own risk.

You need ‘vpnc’ program (install it with your pkg mgr). Then download off-campus.conf file and save it to /etc/vpnc/ directory. You could name it default.conf if it will be your only vpnc connection. The contents should begin with at least:

IPSec gateway sas.qut.edu.au
IPSec ID qut
IPSec secret qutaccess

As root run vpnc off-campus of just vpnc if you renamed it to default.conf. Enter username/password when prompted.

In Kmail, you setup IMAP connection using SSL, username/password and port 993 to host mail.qut.edu.au. SMTP uses NO ecryption, but authentication method is LOGIN (not PLAIN) and port 25 on host mail.qut.edu.au.

To exit vpnc type vpnc-disconnect as root.

I hope this helps someone.

References
http://www.its.qut.edu.au/offcampusaccess/sas/linux.jsp