630Part VRunning Servers9.Signal Postfix to reload its configuration (Web server setup)
630Part VRunning Servers9.Signal Postfix to reload its configuration so that it starts using maildropinstead of its own built-in MDA: # invoke-rc.d postfix reload10.Install the Courier-IMAP daemon: # apt-get install courier-imapIf you want to allow POP3 access, you can also install the courier-pop package atthis step. Keep in mind, however, that POP3 clients will be unable to access theTrash folders under their accounts. 11.Debconf asks whether you want to create directories for Web-based administra- tion. 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 standardmail client. Testing and TroubleshootingThe best way to test your mail system is to try sending a message to your newaddress. Messages can be sent using your mail client or from the command lineusing the mailprogram. Messages with attachments can be sent from the com- mand line using mpack. To verify that your virus scanner is scanning messages properly, try sending your- self a test file. Test files containing fake viruses that should be detected by ClamAVcan be found in the clamav-testfiles package. Use mpackto send one of the files, suchas test.zip, in /usr/share/clamav-testfiles/to an address on your serverand verify that it was handled properly: # mpack -s test message /usr/share/clamav-testfiles/test.zipe-mail address of recipientThe mpackprogram is part of the mpack package, which may not be installed bydefault. You can use apt-getto 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 receivea 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, trydoing a Web search. More often than not, you ll find a solution within afew search hits. You should also check that all of the daemons are running. Both configurationsrequire that spamd be running in the background. The sendmail configuration alsorequires that clamd, clamav-milter, and spamass-milter be running normally. NoteNote33_
If you are in need for cheap and reliable webhost to host your website, we recommend http web server services.