631Chapter 24Running a Mail ServerAny errors relating to (Web site template)
631Chapter 24Running a Mail ServerAny errors relating to clamav-milter and spamass-milter not running will be in themail.logfile and will look something like this: […] Milter (clamav): to error stateConfiguring Mail ClientsAny mail client with support for the appropriate protocol for your configuration(POP3 for the first configuration, IMAP for the second) should be able to accessmail from your server. Just use the name of your server in the mail server settings, and follow the troubleshooting steps in the previous section if something doesn twork. You can find more information about mail clients for Linux in Chapter 21. Configuring FetchmailFetchmail is an MRA (Mail Retrieval Agent) that you can use to pull mail from aremote account to your new server. It is configured in the $HOME/.fetchmailrcfile, and is very easy to set up. To pull mail to your server, log in as the user thatthemail should go, then configure and run it from there. Run Fetchmail as the user for whom the mail is being retrieved. You should neverrun it as root. If you re doing a complex setup in which you retrieve mail from asingle mailbox that needs to be sorted out for multiple users, see the fetchmailman page for information about multidrop mailboxes. A .fetchmailrcfile can be as simple as this: poll mailserver.yourisp.example protocol pop3 username foo If you have more than one mail server, you can add it as an additional line. If theserver from which you are pulling mail supports IMAP, you can use imapinstead ofpop3. Other options that you can have are password=your password>and ssl. Storing the password in the file enables you to run Fetchmail without entering apassword, and the ssloption tells Fetchmail to use an SSL/TLS connection to theserver. Your .fetchmailrcfile should not be readable by others, and Fetchmail will gen- erally complain if it is. To set the permissions so that only you can read it, runchmod 0600 $HOME/.fetchmailrc/. Running Fetchmail is as simple as typing$ fetchmailNoteNoteCross- Reference33_
If you are searching for cheap webhost for your web application, please visit MySQL5 Web Hosting services.