Chapter 24 . Running a Mail Server 623 (Web hosting e commerce)

Chapter 24 . Running a Mail Server 623 Installing and Running sendmail Sendmail (http://www.sendmail.org/) is the granddaddy of SMTP mail systems. It is still the default MTA on most systems, and a recent survey showed that 41% of active mail servers were running sendmail. A fairly recent addition to sendmail is the Milter API. This API allows for the writing of mail filters that can filter messages at the SMTP level, allowing for careful control over what messages are accepted by the server. A standard milter consists of a daemon that runs in the background and waits for a connection from the sendmail daemon. Almost every line that is sent from an SMTP client to the server is passed to the milter, which can accept, temporarily reject, or permanently reject the message at any point in the process. Milters also have the capability to modify message content. This capability is most commonly used to add headers to messages indicating status information. A number of milters have been written to perform various tasks. Two such milters are Spamass-Milter (http://savannah.nongnu.org/projects/spamass-milt/) and ClamAV-Milter (http://clamav.net/). As you would expect, these milters use SpamAssassin and ClamAV to perform content identification. You can find general information about milters at http://milter.org/. The final component is Qpopper (http://qpopper.sourceforge.net), which is the most widely used POP3 daemon. You can find configuration options for Qpopper in /etc/qpopper.conf, although you won t need to change any of the defaults for this server. Follow these steps to install and configure the needed software: 1. Use APT to install the sendmail packages: # apt-get install sendmail sendmail-bin sendmail-doc APT will download the packages, remove Exim (the default MTA on Debian systems), and install sendmail. During the configuration process, you will see warnings about databases not existing. It is safe to ignore these warnings. 2. Configure SpamAssassin s startup parameters. Start by editing the file /etc/default/spamassassin and changing the ENABLED and OPTIONS parameters. The file should look something like this when you are done: # /etc/default/spamd.conf # Change to one to enable spamd ENABLED=1 # Options # See man spamd for possible options. The -d option is # automatically added. OPTIONS= -m 25 -H Note
We recommend high quality webhost to host and run your jsp application: christian web host services.

Leave a Reply