Now reload Apache one more time so that it reads the config file we just symlinked: sudo a2enconf squirrelmail would create a symlink for a file called nf. You should use this in situations where config already exists in conf-available, e.g. On a related note, there's a convenience command a2enconf that works similarly to a2ensite: it creates a symlink from the conf-available directory to the conf-enabled directory. Sudo ln -s /etc/squirrelmail/nf /etc/apache2/conf-enabled/nf This command will create a symlink from the directory where enabled configuration is stored, to squirrelmail's apache configuration file: On Raspbian Jessie, the apache configuration directory structure is more like ubuntu, with separate folders for configuration files that are available and files that are enabled. Sudo ln -s /etc/squirrelmail/nf /etc/apache2/conf.d/nf You need to create a symbolic link so that Apache2 will load your Squirrelmail apache configuration file when it starts up. The configuration script creates a configuration file for apache in /etc/squirrelmail/nf. To run the script, use this command:Ĭhoose “D” for pre-defined settings Now type “dovecot” and hit enter Press enter to continue, then save and quit (press Q and save when prompted, or press S then Q). The basic configuration for squirrelmail is really easy, and can be done with the setup script. If you want to know more about setting up Apache for multiple websites, subdomains, and SSL configurations, I suggest you read my tutorial explaining Apache's VirtualHost files. If you like, you can follow my CAcert tutorial to get a free SSL certificate for your domain, or you can just store an exception for the certificate and generate a proper one later. If you type the IP address or hostname of the pi into a web browser now, you should see the default Apache test page: If you try the https version, you'll get a certificate error because you are using a self-signed SSL certificate. Now reload apache to make the changes take effect: This command will enable the "default-ssl" virtualhost, by creating a symbolic link from /etc/apache2/sites-available/default-ssl to /etc/apache2/sites-enabled/default-ssl: There are some "pre-made" virtualhost configurations that come with apache. #SQUIRRELMAIL NOT RECEIVING MAIL INSTALL#If you don't already have apache installed (you might if you've followed my wordpress tutorial), then install it now.Įnable the SSL apache module so that you can use HTTPS: The parts are: The Introduction & Contents Page (read first) Raspberry Pi Email Server Part 1: Postfix Raspberry Pi Email Server Part 2: Dovecot Raspberry Pi Email Server Part 3: Squirrelmail Raspberry Pi Email Server Part 4: Spam Detection with Spamassassin Raspberry Pi Email Server Part 5: Spam Sorting with LMTP & Sieve Installing Apache #SQUIRRELMAIL NOT RECEIVING MAIL HOW TO#This tutorial covers how to set up Webmail with Squirrelmail. #SQUIRRELMAIL NOT RECEIVING MAIL FULL#This is the third part of a five part tutorial that will show you how to install a full featured email server on your Raspberry Pi.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |