630 Part V . Running Servers 9. Signal (Web site layout)

630 Part V . Running Servers 9. Signal Postfix to reload its configuration so that it starts using maildrop instead of its own built-in MDA: # invoke-rc.d postfix reload 10. Install the Courier-IMAP daemon: # apt-get install courier-imap If you want to allow POP3 access, you can also install the courier-pop package at this step. Keep in mind, however, that POP3 clients will be unable to access the Trash folders under their accounts. 11. Debconf asks whether you want to create directories for Web-based administration. This interface has limited features, so I recommend that you not enable it. You now have a fully functioning mail server that you can access from any standard mail client. Testing and Troubleshooting The best way to test your mail system is to try sending a message to your new address. Messages can be sent using your mail client or from the command line using the mail program. Messages with attachments can be sent from the command line using mpack. To verify that your virus scanner is scanning messages properly, try sending yourself a test file. Test files containing fake viruses that should be detected by ClamAV can be found in the clamav-testfiles package. Use mpack to send one of the files, such as test.zip, in /usr/share/clamav-testfiles/ to an address on your server and verify that it was handled properly: # mpack -s test message /usr/share/clamav-testfiles/test.zip e-mail address of recipient The mpack program is part of the mpack package, which may not be installed by default. You can use apt-get to install it very easily. To test SpamAssassin, try sending yourself a message that looks a lot like spam. Usually, a message containing a lot of capital letters and ! and $ symbols will receive a high spam score from SpamAssassin. If something is not working properly, you should first check the mail logs in /var/ log/mail.log. If you don t recognize an error message that you find in there, try doing a Web search. More often than not, you ll find a solution within a few search hits. You should also check that all of the daemons are running. Both configurations require that spamd be running in the background. The sendmail configuration also requires that clamd, clamav-milter, and spamass-milter be running normally. Note Note
If you are in need for chaep and reliable webhost to host your website, our recommendation is http web server services.

Leave a Reply