Revision as of 17:52, 13 May 2014
You can use our shell-servers to forward mails from your KULeuven mailbox to an email provider of your choice (e.g. GMail).
DOING THIS IS ENTIRELY ON YOUR OWN RISK. ULYSSIS CANNOT BE HELD RESPONSIBLE FOR LOST/DELAY MAILS. BY HAVING OUR SERVERS FORWARD YOUR KULEUVEN MAIL, YOU TAKE FULL RESPONSIBILITY.
This tutorial is based on http://ronin.ulyssis.be/files/kulmail_gmail2.txt
We wrote a script that configures everything automatically. To use it, log in on one of our shell servers and execute the following commands:
Alternatively, you can configure everything yourself. Below we briefly explain how to do this.
- Create a directory to save the SSL certificates:
- Put the necessary certificates in the .certs directory:
cp /etc/ssl/certs/AddTrust_External_Root.pem .
- Rehash them:
- Create the fetchmail configuration file with your favourite text editor and enter the confiration details:
$login = your KULeuven login (e.g. s0123456)
$pass = your KULeuven password
$mail = the email address to forward your KULeuven mail to (TRIPLECHECK IT!!)
keep = "" (delete forwarded mails from your KULeuven mailbox) or "keep" (keep forwarded emails)
set daemon 600 # Check every 10 minutes
poll imaps.student.kuleuven.be port 993 protocol imap username "$login" password "$pass" smtpname "$mail" ssl sslcertck $keep sslcertpath .certs/
- Add it to your crontab
- Because of our setup fetchmail cannot be started automatically when the shell server is restarted. But you if you add it to your crontab, you'll get email that it failed. You can then manually login on our shell servers to start fetchmail again.
- Start fetchmail: