632Part VRunning ServersIf you want to have Fetchmail (Web hosting company)

632Part VRunning ServersIf you want to have Fetchmail run in the background, you can use the –daemon(or-d) flags with a parameter telling it how often (in seconds) to poll the servers: $ fetchmail –daemon 300To have Fetchmail automatically start when the system boots, add this to yourcrontabfile: @reboot /usr/bin/fetchmail –daemon 300Fetchmailcannot prompt for passwords when run in this manner, which meansthat you must store the passwords in .fetchmailrcfor this to work. If you haven t configured a crontab file before, setting it up can be as easy as per- forming the following steps: $ cat > mycron@reboot /usr/bin/fetchmail –daemon 300(hit Ctrl-D here) $ crontab mycronConfiguring Web-Based MailIf 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 configuringyour system as a LAMP server (Chapter 23), and then install and configure theappropriate package. IMP is considerably more complex to configure than SquirrelMail and may bemore difficult to install. If you aren t sure which one is right for you, try the onlinedemos for both and see which one you like best. Securing Communications with SSL/TLSBecause communication between mail clients and the server often contains sensitiveinformation such as passwords, it is usually desirable to enable SSL/TLS encryption. Here s how to enable SSL/TLS in Postfix and Courier-IMAP: 1.SSL/TLS for Postfix and Courier-IMAP are provided in the postfix-tls andcourier-imap-tls packages, respectively. Use APT to install them: # apt-get install postfix-tls courier-imap-ssl2.Third-party CA certificates are provided in the ca-certificates package. Thiswill be referenced in the configuration, so install it too: # apt-get install ca-certificatesNoteNote33_
If you are searching for cheap webhost for your web application, please visit MySQL5 Web Hosting services.

Leave a Reply