688 Part V . Running Servers To have (Web host music)
688 Part V . Running Servers To have Fetchmail automatically start when the system boots, add this to your crontab file: @reboot /usr/bin/fetchmail –daemon 300 Fetchmail cannot prompt for passwords when run in this manner, which means that you must store the passwords in .fetchmailrc for this to work. If you haven t configured a crontab file before, setting it up can be as easy as entering the following three commands: $ cat > mycron @reboot /usr/bin/fetchmail –daemon 300 (hit Ctrl-D here) $ crontab mycron Configuring Web-Based Mail If you re running an IMAP server, you can offer Web-based access by installing IMP (http://horde.org/imp/, also in the imp3 package) or SquirrelMail (http:// squirrelmail.org/, also found in the squirrelmail package). Start by configuring your system as a LAMP server (see Chapter 24), and then install and configure the appropriate package. IMP is considerably more complex to configure than SquirrelMail and may be more difficult to install. If you aren t sure which one is right for you, try the online demos for both and see which one you like best. Securing Communications with SSL/TLS Because communication between mail clients and the server often contains sensitive information such as passwords, it is usually desirable to enable SSL/TLS encryption. Here s how to enable SSL/TLS in Exim and Courier: 1. Install the Courier daemons with SSL/TLS support: # apt-get install courier-imap-ssl courier-pop-ssl 2. Third-party CA certificates are provided on the ca-certificates package. This will be referenced in the configuration, so install it, too: # apt-get install ca-certificates Debconf asks you whether you want to trust the CA certificates by default. In most cases, you want to select Yes. Note Note
You want to have a cheap webhost for your apache application, then check apache web hosting services.