O'Reilly logo

Fedora Linux by Chris Tyler

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuring Webmail

When you’re on the move, it’s nice to have consistent access to your email. If you set up SquirrelMail, you’ll be able to access your email from any web browser.

How Do I Do That?

Before you set up SquirrelMail, you’ll need a working Apache configuration and the Dovecot IMAP server.

If you’re using SELinux, you must permit web scripts to create network connections. Use the graphical SELinux configuration tool or enter this command:

# setsebool -P httpd_can_network_connect 1

Tip

If Apache was running before you installed SquirrelMail, you’ll need to restart or reload it so that it notices the SquirrelMail alias directive:

# service apache reload

Unless you have other computers on your local network that need to access IMAP, you can restrict remote access to the IMAP server using Fedora’s firewall facilities.

You can now use SquirrelMail by accessing https://<hostname>/webmail. The web page shown in Figure 7-21 should appear.

Warning

If you are using the default Apache SSL certificate (which is automatically up by default), you will get a warning from your browser when you first connect using https.

You can instead access http://<hostname>/webmail to avoid that warning message, but your passwords and email may be read if someone intercepts your network communication.

SquirrelMail login page

Figure 7-21. SquirrelMail login page

Once you enter your user ID and password, the main inbox display will ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required