Internet


Contents

Browser

Which browser should I use to surf the internet ?

Use Mozilla Firefox or Opera. They can be found in the G-Bar Menu (Internet -> Browsers)

E-mail

Which program should I use to read and write e-mails ?

We recommend either Pine, Mutt or Mozilla Thunderbird. Thunderbird can be found in the G-Bar Menu (Internet -> Mail Clients)

How can I access my DTU mail at home?

To access your DTU mail at home you have three options: the first is to login at Campusnet. At the top bar you click 'Webmail'. The second is to make a remote login to the G-Bar using ThinLinc and opening one of the mail clients (Thunderbird, Pine etc.). The third option is to set up your sXXXXXX@student.dtu.dk-account in your local e-mail program with either POP or IMAP. The information needed to do this is the following, where sXXXXXX is your student number:

Remember to make sure that your e-mail program uses SSL.

There's a list of some common SMTP servers for different ISP.

You have the option set up your mail account with either POP or IMAP. With the POP server and SSL activated, the port should be 995, whereas the port for IMAP and SSL activated should be 993.

Can I get a confirmation that my mail message has arrived?

Yes. You should add the header "Return-Receipt-To: your e-mail address" to your mail messages. This is done in the following way: In pine:

1. Go to the main menu (type: 'M') 2. Select Setup (type 'S') 3. Select Config (type 'C') 4. Browse down to the field "customized-hdrs" 5. Add a new value (type 'A') 6. Type in: Return-Receipt-To: your email address 7. Exit Setup (type 'E')

For example, if your login name is s970102 type in :

Return-Receipt-To: s970102@student.dtu.dk

Note that some mail servers do not send a receipt, so if you don't receive a receipt it does not mean that the mail message did not arrive. If your message is very important, ask the recipient to send a confirmation that he/she has received the mail message. However, most mail servers do send receipts.

Furthermore, just because you get a receipt is does not mean the recipient has read the mail. It simply says that the mail has been delivered.

Can I have my e-mail forwarded to another address automatically?

Yes.

1. Either start a text editor using the panel at the bottom at the screen or start a terminal using the middle mouse and start pico by entering:

pico -w .qmail

2. In the text editor enter:

&emailaddress
./Maildir/

where emailaddress is the emailaddress you want to forward your mail to. You can add as many email adresses as you want. Your mails will be forwarded as soon as you save the file. In pico you can save the file by pressing CTRL-o (WriteOut). You exit pico by pressing CTRL-x.

3. Remember to change the permissions of the file, so that only you can read it (required by the qmail program):

chmod 600 .qmail

Note

Do not edit your .qmail file from a Windows program (e.g. notepad), because Windows ends lines with <CR>-<LF> (instead of <LF>), which results in your mail being forwarded to email@addre.ss<CR> which of course will fail!

Note 2

Databar Support scans your .qmail-files every night to check for and correct common errors (such as the above). Corrections will be logged to ~/.QMAIL_CORRECTIONS.

Can I add a spam-filter to my mail account?

Yes. Take a look at Spamfilter.

How can I encrypt my web pages?

You can't. Encrypted web pages are not supported.

When I edit my homepage, the changes don't show up when I access the page with Firefox. What's wrong?

This is because Firefox caches the pages you view, i.e. it stores a copy of the page on the hard disk for faster access. The solution is to force Firefox to reload the contents from the web server. This is done by holding down the 'Shift' button while pressing the 'Reload' button in the toolbar at the top of the Firefox window (or pressing 'Ctrl-Shift-R').

Why can't the server access my homepage and/or subpages?

Probably because your HTML files are not readable for the server. All your web pages must be readable to the group 'others'. Furthermore, your home directory and ~/public_html directory must be executable to the same group. You can open this access by clicking on the file with the right mouse button in the file manager and then select 'Change Permissons...'. Then put a mark in the 'Read' field for 'Other:'. The execute rights for the ~/public_html directory are set in a similar way. Alternatively, you can enter the following in a terminal:

chmod a+x ~
chmod a+x ~/public_html
chmod a+r ~/public_html/*.html

This will open the access to all the HTML files in your ~/public_html directory.

Why can't I set up a CGI script as a part of my homepage?

You can. Make sure that your script is executable (chmod +x filename.cgi) and placed in ~/public_html/cgi-bin. If you have problems with this, consult the general guidelines, or contact Databar Support.

Why does the URL http://www.student.dtu.dk/~myuserid report an error instead of showing my homepage?

Probably because you have stored your homepage file in your ~/html directory instead of the ~/public_html directory, and there has not been established a link. The new server setup only accepts ~/public_html as the directory for the homepage. The server will not accept ~/html any more. However, Databar Support has linked from ~/public_html to ~/html for the users who had a ~/html directory when the server was moved.

Why does the URL http://www.student.dtu.dk/~myuserid show a directory listing instead of my homepage?

Probably because you have a homepage file called welcome.html instead of index.html in your ~/public_html directory.

The new server setup only accepts index.html as the name for the homepage.The server will not accept welcome.html any more. You can change this behavior by adding a .htaccess-file in your ~/public_html-folder with the following line:

DirectoryIndex welcome.html 

You can append more filenames to this, if desired. The first filename takes precedence over the second, and so forth.